Skip to content
forked from zihangdai/CFO

Conditional Focused Neural Question Answering with Large-scale Knowledge Bases

Notifications You must be signed in to change notification settings

HenryWoodOTC/CFO

 
 

Repository files navigation

CFO

Code repo for Conditional Focused Neural Question Answering with Large-scale Knowledge Bases

Installation and Preprocessing

  1. Refer to Virtuoso.md to install and confiture the software
  2. Make sure torch7 is installed together with the following dependencies
    • logroll: luarocks install logroll
    • nngraph: luarocks install nngraph
  3. After the installation and configuration of Virtuoso, run bash data_preprocess.sh to finish preprocessing

Training

  1. Focused Lableing

    cd FocusedLabeling
    th train_crf.lua
  2. Entity Type Vector

    cd EntityTypeVec
    th train_ent_typevec.lua
  3. RNN based Relation Network

    cd RelationRNN
    th train_rel_rnn.lua

About

Conditional Focused Neural Question Answering with Large-scale Knowledge Bases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 63.2%
  • Python 32.6%
  • Shell 4.2%