Git Product home page Git Product logo

rczoo's Introduction

Introduction

The RCZoo project is a toolkit for reading comprehension model. It contains the PyTorch reimplement of multiple reading comprehension model.
All the models are trained and tested on the SQuAD v1.1 dataset, and reach the performance in origin papers.

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
Rnet 69.25 78.97
BiDAF 70.47 79.90
documentqa 71.47 80.84
DrQA 68.39 77.90
QAnet ... ...
SLQA 67.09 76.67
FusionNet 68.27 77.79

Current progress

  • training
  • performance
  • predicting scripts
    some different in the Dropout Layer
  • training
  • performance
  • predicting scripts
    The bi-attention in BiDAF does not work fin, and I introduce the co-attention in DCN paper. The final results is better than that in origin paper
  • training
  • performance
  • predicting scripts

borrow from origin code

  • training
  • performance
  • predicting scripts
  • training
  • performance
  • predicting scripts
  • training
  • performance
  • predicting scripts
    no elmo contextualized embedding
  • training
  • performance
  • predicting scripts
    no CoVe embedding

Usage

  • run sh download.sh to download the dataset and the glove embeddings.
  • run sh train_xxx.sh to start the train process. Dring the train process, model will be evaluated on dev set each epoch.

acknowledgement

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

TODO:

  • Recognizing unanswerable question for SQuAD, add new type of loss function to accommodate unanswerable question
  • Processing multiple passage reading comprehension. Related datasets include TriviaQA, SearchQA, QuasarT

rczoo's People

Contributors

lixinsu avatar

Watchers

James Cloos avatar allen avatar

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.