Downloads · 30 days
40
1% of all-time downloads
ggoggam/xlnet-base-cased-squad-quoref
xlnet-base-cased-squad-quoref is a question answering model from ggoggam. Use it when the input is a question plus a passage. It is set up for transformers.
XLNet jointly developed by Google and CMU and fine-tuned on SQuAD / SQuAD 2.0 and Quoref for question answering down-stream task.
Downloads · 30 days
40
1% of all-time downloads
All-time downloads
2.8K
Public
Repo size
953 MB
Likes
1
Public
Click a slice to open those files.
.bin476 MB · 100%
From the Hugging Face model README
XLNet jointly developed by Google and CMU and fine-tuned on SQuAD / SQuAD 2.0 and Quoref for question answering down-stream task.
{
"exact_match": 73.65591397848462,
"f1": 77.9981532789881
}
| Metric | XLNet Base Line | Model FT on SQuAD |
|---|---|---|
| EM | 61.88 | 73.66 (+11.78) |
| F1 | 70.51 | 78.00 (+7.49) |
from transformers import XLNetForQuestionAnswering, XLNetTokenizerFast
model = XLNetForQuestionAnswering.from_pretrained('jkgrad/xlnet-base-cased-squad-quoref)
tokenizer = XLNetTokenizerFast.from_pretrained('jkgrad/xlnet-base-cased-squad-quoref')