Skip to content

Xuweijia-buaa/Gated-Attention-Reader-model

Repository files navigation

Gated Attention Reader Model

This is a pytorch implemention of Gated-attention Reader Model(Gated-Attention Readers for Text)

Prerequisites

  • Python 3.6
  • Pytorch 0.1.12_2

Data

You can find data and pretained word embeddings file though this link.

You need to create your own data file, put data and pretrained word embedding file in it.

Training

train dailymail data from raw:
python main.py --data_dir 'path to your data file' --dataset dailymail --embed_dir word2vec_glove.txt

About

a Pytorch version of Gated Attention(GA) Reader model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages