Skip to content

shuishen112/tensorflow-deep-qa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Question answering

Motivation

The purpose of this repository is to explore question answering model in deep learning. We want to build a benchmark for question answering tasks by using the tensorflow API Dataset and Estimator which can help us import the dataset in parallel.

Models

Requirements

  • python3

  • Tensorflow = 1.8

  • jieba

  • spacy

Processing

./run.py --task_type prepare

training

./run.py --task_type train

test

./run.py --task_type infer

Contributor

Performance

  • unigram

    data map mrr
    trec 0.62 0.67
    trec-all 0.658 0.67
  • unigram + count

    data map mrr
    trec 0.72 0.76
    trec-all 0.73 0.77
  • cnn

    data map mrr
    trec 0.75 0.79
    trec-all 0.73 0.78

##Model Detail

unigram

avatar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages