rajpurkar/squad
Viewer • Updated • 98.2k • 146k • 363
How to use Laurie/QA-distilbert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Laurie/QA-distilbert") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Laurie/QA-distilbert")
model = AutoModelForQuestionAnswering.from_pretrained("Laurie/QA-distilbert")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 | 2.0457 |
| 2.5775 | 2.0 | 500 | 1.6041 |
| 2.5775 | 3.0 | 750 | 1.5374 |