Downloads · 30 days
135
11% of all-time downloads
allenai/naqanet
naqanet is a question answering model from allenai. Use it when the input is a question plus a passage. It is set up for allennlp.
An augmented version of QANet that adds rudimentary numerical reasoning ability, trained on DROP (Dua et al., 2019), as published in the original DROP paper. An augmented version of QANet model with some rudimentary n…
Downloads · 30 days
135
11% of all-time downloads
All-time downloads
1.2K
Public
Repo size
65.1 MB
Likes
2
Public
Click a slice to open those files.
.th64.4 MB · 98%
From the Hugging Face model README
An augmented version of QANet that adds rudimentary numerical reasoning ability, trained on DROP (Dua et al., 2019), as published in the original DROP paper. An augmented version of QANet model with some rudimentary numerical reasoning abilities. The main idea here is that instead of just predicting a passage span after doing all of the QANet modeling stuff, we add several different ‘answer abilities’: predicting a span from the question, predicting a count, or predicting an arithmetic expression. Near the end of the QANet model, we have a variable that predicts what kind of answer type we need, and each branch has separate modeling logic to predict that answer type. We then marginalize over all possible ways of getting to the right answer through each of these answer types.