rajpurkar/squad_v2
Viewer • Updated • 142k • 37k • 251
How to use aspis/data2vec-text-finetuned-squad2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="aspis/data2vec-text-finetuned-squad2") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("aspis/data2vec-text-finetuned-squad2")
model = AutoModelForQuestionAnswering.from_pretrained("aspis/data2vec-text-finetuned-squad2")This model is a fine-tuned version of facebook/data2vec-text-base on the squad_v2 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.0173 | 1.0 | 8239 | 0.9629 |
| 0.7861 | 2.0 | 16478 | 1.0098 |
| 0.6402 | 3.0 | 24717 | 1.1044 |