Skip to content

A tensorflow implementation of Teaching Machines to Read and Comprehend (in progress)

Notifications You must be signed in to change notification settings

BinbinBian/attentive-reader-tensorflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attentive Reader

Tensorflow implementation of Google DeepMind's Teaching Machines to Read and Comprehend. This implementation contains:

models

  1. Deep LSTM Reader
  2. Attentive Reader (in progress)
  3. Impatient Reader (in progress)
    • with Bidirectional LSTMs with peephole weights
    • with recurrent accumulation of information from the document while reading the query

Prerequisites

Usage

First, you need to download DeepMind Q&A Dataset from here, save cnn.tgz and dailymail.tgz into the repo, and run:

$ ./unzip.sh cnn.tgz dailymail.tgz

Then run the pre-processing code with:

$ python data_utils.py data cnn

To train a model with cnn dataset:

$ python main.py --dataset cnn

To test an existing model:

$ python main.py --dataset cnn --forward_only True

(in progress)

Results

in progres, should be like:

result_from_paper

Author

Taehoon Kim / @carpedm20

About

A tensorflow implementation of Teaching Machines to Read and Comprehend (in progress)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Shell 1.0%