Skip to content

Implementation for paper "Improved Neural Relation Detection for Knowledge Base Question Answering"

Notifications You must be signed in to change notification settings

azhe1234/HR-BiLSTM

 
 

Repository files navigation

HR-BiLSTM

Implementation for paper "Improved Neural Relation Detection for Knowledge Base Question Answering". The glove word embedding file can be download from GloVe

Train

Preprocess the training file and test file.

python3 preprocess.py

Train model.

python3 model.py

Test

Evaluate model with test file.

python3 eval.py

Deploy

Packing models as a http service. Run commands in deploy folder.

python3 server.py 9000

The function for calculate similarity is implement as client.similarity, use question and relation as input.

Config

Read and modify the config file config.ini

About

Implementation for paper "Improved Neural Relation Detection for Knowledge Base Question Answering"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%