rajpurkar/squad
Viewer • Updated • 98.2k • 267k • 1.12k
How to use Sambosis/distilbert-base-uncased-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Sambosis/distilbert-base-uncased-finetuned-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Sambosis/distilbert-base-uncased-finetuned-squad")
model = AutoModelForQuestionAnswering.from_pretrained("Sambosis/distilbert-base-uncased-finetuned-squad", device_map="auto")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 |
|---|---|---|---|
| 1.6224 | 1.0 | 692 | 1.1812 |
| 1.0216 | 2.0 | 1384 | 1.2495 |
| 0.5638 | 3.0 | 2076 | 1.3098 |
| 0.3679 | 4.0 | 2768 | 1.6784 |
| 0.2703 | 5.0 | 3460 | 1.8842 |
| 0.1057 | 6.0 | 4152 | 2.1904 |