wangcunxiang / TextEncoderEnhandedTuckER

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commonsense Knowledge Graph Reasoning by Link Prediction: Why and How?

Requirements

The codebase is implemented in Python 3.6.6. Required packages are:

pip3 install numpy
pip3 install pytorch==1.0.1

Running a model

python main_all.py --dataset ConceptNet --model CNN --num_iterations 20000
python main_all.py --dataset ConceptNet --model LSTM --num_iterations 20000

About


Languages

Language:Python 96.2%Language:Tcl 3.4%Language:PowerShell 0.2%Language:Batchfile 0.2%