glorysaladin / Question-Answer-Selection

biLSTM/CNN based deep learning framework for Question Answer Selection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question Answer Selection

Deep Learning framework to select best answer for a question from an answer candidate pool, it does not depend on manually defined features or linguistic tools. The basic framework was to build the embeddings of questions and answers based on bidirectional long short-term memory(biLSTM) models, and measure their closeness by cosine similarity.

This basic biLSTM model was extended to define a more composite representation for questions and answers by combining convolutional neural network(CNN) on top of biLSTM.

Installation

pip3 install numpy
pip3 install keras
pip3 install scipy
Dataset : InsuranceQA Corpus

Usage

Run the server - sudo python3 server.py
Open localhost

Credits

About

biLSTM/CNN based deep learning framework for Question Answer Selection.


Languages

Language:Python 87.5%Language:HTML 12.5%