Skip to content

caldreaming/Hierarchical_Attention_Flow_Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

HAF Model

Requirements

  • Python = 3.6.0
  • Tensorflow-gpu = 1.5.0
  • spaCy >= 2.0.0
  • tqdm

Getting started

Download dataset

Download dataset from oqmrc(password:duco), and unzip downloaded files.Remember to modify your data path before training.

Download Chinese word vector

  • A pre-training word vector is required, for Chinese word vectors you can refer to here.
  • We utilized Zhihu_QA word vectors in our experiments.

Preprocessing

python config --mode prepro

Train

python config --mode train

predict

python config --mode test

Result

Single-model accuracy on dev set is 0.7287.

About

基于层叠式注意力流的观点型阅读理解模型

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages