rajpurkar/squad
Viewer • Updated • 98.2k • 195k • 368
How to use Titembaye/my_awesome_qa_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Titembaye/my_awesome_qa_model") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Titembaye/my_awesome_qa_model", dtype="auto")This model is a fine-tuned version of distilbert/distilbert-base-uncased on the SQuAD dataset. It achieves the following results on the evaluation set:
This is a DistilBERT model fine-tuned for extractive question answering on the SQuAD dataset. It extracts answers from a given context based on a question.
The model was trained and evaluated on the SQuAD dataset, which contains questions and answers extracted from Wikipedia articles.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 250 | 2.6253 |
| 2.9024 | 2.0 | 500 | 1.8672 |
| 2.9024 | 3.0 | 750 | 1.7431 |
Base model
distilbert/distilbert-base-uncased