A model for transforming questions + short answers into full answer sentences.
The dataset and the models are described in the following paper:
Demszky, D., Guu, K., & Liang, P. (2018). Transforming Question Answering Datasets Into Natural Language Inference Datasets. arXiv preprint. arXiv:1809.02922.[link]
This repo contains the code and examples for both the rule-based model and the neural model.
Data available on Codalab.
We illustrate how to use the rule-based model in the designated jupyter notebook. The input sentences have to be dependency parsed. We created our example file in the following manner:
examples.txt
, where each sentence is a line, one example after the other (i.e. question 1 \<line-break> short answer 1 \<line-break> question 2 \<line-break> short answer 2 \<line-break> ... question N \<line-break> short answer N)examples.conllu
, with the tags and labels left empty (_
).examples.conllu
file as an input for the model, as shown in the jupyter notebook Rule-based Example.ipynb
. Coming soon.