Skip to content
/ RCZoo Public
forked from lixinsu/RCZoo

question answering, reading comprehension toolkit

License

Notifications You must be signed in to change notification settings

sys1874/RCZoo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The RCZoo project is a toolkit for reading comprehension model. It contains the PyTorch reimplement of multiple reading comprehension models

Usage

  • run sh download.sh to download the dataset and the glove embeddings.
  • run sh runs/train_squad.sh [bidaf|drqa|slqa|fusionnet|docqa] to start the train process. (Check the xxx.sh scripts before run, as the preprocessing only need to be executed once)

Dependencies

python 3.5
Pytorch 0.4
tqdm

performance

We train each model on train set for 40 epoch, and report the best performance on dev set.

Model Exact Match F1 EM(+ELMo) F1(+ELMo)
Rnet 69.25 78.97
BiDAF 70.47 79.90 73.04 81.48
documentqa 71.47 80.84
DrQA 68.39 77.90
QAnet ... ...
SLQA 67.09 76.67
FusionNet 68.27 77.79

Current progress

acknowledgement

some code are borrowed from DrQA, a cool project about reading comprehension.

About

question answering, reading comprehension toolkit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Shell 0.8%