HenryWoodOTC / CFO

Conditional Focused Neural Question Answering with Large-scale Knowledge Bases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Lua 63.2%Language:Python 32.6%Language:Shell 4.2%