Skip to content

tensorflow and theano cnn code for insurance QA(question Answer matching)

Notifications You must be signed in to change notification settings

NlpPrj/insuranceQA-cnn-lstm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

See theano and tensorflow folder

This is a CNN/LSTM model for Q&A(Question and Answering), include theano and tensorflow code implementation

theano和tensorflow的网络结构都是一致的: word embedings + CNN + max pooling + cosine similarity

目前再insuranceQA的test1数据集上,top-1准确率可以达到62%左右,跟论文上是一致的。

这里只提供了CNN的代码,后面我测试了LSTM和LSTM+CNN的方法,LSTM+CNN的方法比单纯使用CNN或LSTM效果还要更好一些,在test1上的准确率可以再提示5%-6%

LSTM+CNN的方法在insuranceQA的test1上的准确率为68%

About

tensorflow and theano cnn code for insurance QA(question Answer matching)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%