rajpurkar/squad
Viewer • Updated • 98.2k • 152k • 367
How to use HASAN55/distilbert-base-uncased-SQUADMODELDISTILUNCASED with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="HASAN55/distilbert-base-uncased-SQUADMODELDISTILUNCASED") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("HASAN55/distilbert-base-uncased-SQUADMODELDISTILUNCASED")
model = AutoModelForQuestionAnswering.from_pretrained("HASAN55/distilbert-base-uncased-SQUADMODELDISTILUNCASED")This model was trained from scratch 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 |
|---|---|---|---|
| 0.5808 | 1.0 | 6167 | 1.3138 |
| 0.4698 | 2.0 | 12334 | 1.3968 |
| 0.427 | 3.0 | 18501 | 1.4911 |