Skip to content

carpedm20/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

Releases

No releases published

Packages

No packages published