Giter Club home page Giter Club logo

attentive_reader's Introduction

Attentive Reader

This repo contains a simple variation of the attentive reader model from Reading Comprehension paper from Moritz et al, NIPS 2015. That code works both on bAbI and reading comprehension tasks.

Usage


To be able to run an example experiment, given that you have access to the top4 and top8 datasets, you can launch the experiments as below:

    ./codes/att_reader/launch_exp_ex.sh

The "launch_exp_ex.sh" script just calls the "train_attentive_reader.py" script with the necessary parameters.

* Under the scripts/ directory you can find simple scripts to preprocess the data.

* Under the codes/core, you can find simple functions and classes about the core utilities and functionalities.

* Under the codes/attentive_reader/ folder you can access to the main codes for the attentive_reader

* Experiment scripts will be added under the experiments/ directory.

The main code functionalities are provided under, ./codes/att_reader folder. In that folder, you can access to the codes of the attentive reader. In the model.py, you can find the functions that can be used to build the computational graph of the model. layers.py includes building blocks and layers in order to build the model.

The main script that most of the model is being built and the computational graph is being constructed is in the attentive_reader.py script.

The code provided in this repo is released with BSD 3-clause license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.