Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Machine Comprehension using Commonsense Knowledge

SemEval-2018 Task 11

Neural network with theano:

There is anaconda environment exported in the file environment.yml. To import it use:

conda env create -f myenv.yml

There are instructions for downloading the glove vectors (word embedings) and bAbi data (question answering corpus).

Thre train and test files are hardcoded in

To train the neural network call: ./ --network dmn_qa --babi_id 1

To test the neural network call: ./ --network dmn_qa --mode test --load_state .state file where .state file is file with the trained weights located into the states folder. I recomend dmn_qa.mh5.n40.bs10.babi1.epoch6.test1.22623acc64.23077.state where acc64.230077 is the accuracy (64.230077%)

This will create output.txt file with the wrong answered questions and those question that the network is uncertain about.

You can’t perform that action at this time.