SkillAgentSearch skills...

FactQA

An implementation of Factoid Question Answering presented in Large-scale Simple Question Answering with Memory Networks

Install / Use

/learn @aukhanee/FactQA
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Factoid Question Answering

This repo attempts to produce an implementation of "alternating stochastic gradient" descent algorithm discussed in [1]. Preprocessing is inspired from Simple-Question-Answering-With-Memory-Networks(https://github.com/Jerryzhao-z/simple-question-answering-with-memory-networks)

Preprocessing

One has to specify location of all datasets and other local configuration information in SETTINGS.JSON file. The vocabulary of individual words is produced with the preprocessing/vocabulary.py script. Questions preprocessing g(q) is done with the preprocessing/questions.py script. Facts processing f(y) is done with the preprocessing/facts.py script.

Training

After preprocessing the dataset, training of facoid question answering is done using following command. $python3 train.py Please refer to the paper [1] for detailed understanding of how the train script trains our question-answering system.

Testing

A python script is provided for testing the trained system. Use test.py to test the system.

TODO

Transfer learning on another dataset using the trained model.

References

[1] Large-scale Simple Question Answering with Memory Networks (https://arxiv.org/pdf/1506.02075.pdf)

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated2y ago
Forks0

Languages

Python

Security Score

80/100

Audited on Jul 11, 2023

No findings