rajpurkar/squad
Viewer • Updated • 98.2k • 188k • 368
How to use Afinucci/my_awesome_qa_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Afinucci/my_awesome_qa_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Afinucci/my_awesome_qa_model")
model = AutoModelForQuestionAnswering.from_pretrained("Afinucci/my_awesome_qa_model")This model is a fine-tuned version of distilbert-base-uncased on the squad 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 |
|---|---|---|---|
| No log | 1.0 | 250 | 1.6117 |
| 1.0 | 2.0 | 500 | 1.6333 |
| 1.0 | 3.0 | 750 | 1.7714 |
| 0.5364 | 4.0 | 1000 | 1.8200 |
| 0.5364 | 5.0 | 1250 | 2.1226 |
| 0.3006 | 6.0 | 1500 | 2.1703 |
| 0.3006 | 7.0 | 1750 | 2.2897 |
| 0.1855 | 8.0 | 2000 | 2.4398 |
| 0.1855 | 9.0 | 2250 | 2.4811 |
| 0.1347 | 10.0 | 2500 | 2.5056 |