Coder Social home page Coder Social logo

zbl19962 / question_answering_models Goto Github PK

View Code? Open in Web Editor NEW

This project forked from l11x0m7/question_answering_models

0.0 1.0 0.0 20 KB

This repo collects and re-produces models related to domains of question answering and machine reading comprehension

License: MIT License

Python 82.97% Jupyter Notebook 17.03%

question_answering_models's Introduction

Question_Answering_Models

This repo collects and re-produces models related to domains of question answering and machine reading comprehension

comunity QA

Dataset

WikiQA, TrecQA, InsuranceQA

data preprocess on WikiQA

run preprocess_wiki.ipynb

Pointwise Style

Siamese-NN model

This model is a simple complementation of a Siamese NN QA model with a pointwise way.

train model

python siamese.py --train --model NN

test model

python siamese.py --test --model NN

Siamese-CNN model

This model is a simple complementation of a Siamese CNN QA model with a pointwise way.

train model

python siamese.py --train --model CNN

test model

python siamese.py --test --model CNN

Siamese-RNN model

This model is a simple complementation of a Siamese RNN/LSTM/GRU QA model with a pointwise way.

train model

python siamese.py --train --model RNN

test model

python siamese.py --test --model RNN

note

All these three models above are based on the vanilla siamese structure. You can easily combine these basic deep learning module cells together and build your own models.

Pairwise Style

QACNN

Given a question, a positive answer and a negative answer, this pairwise model can rank two answers with higher ranking in terms of the right answer.

train model

python qacnn.py --train

test model

python qacnn.py --test

Listwise Style

Compare-Aggregate model

To be done

Machine Reading Comprehension

Cloze Style

Dataset

CNN/Daily mail, CBT

GA Reader

To be done

SA Reader

To be done

AoA Reader

To be done

Answer Extraction Style

Dataset

SQuAD, MS MARCO

BiDAF

To be done

Answer Selection Style

Dataset

RACE dataset

Information

For more information, please visit http://skyhigh233.com/blog/2018/04/26/cqa-intro/.

question_answering_models's People

Watchers

James Cloos 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.