rajpurkar/squad
Viewer • Updated • 98.2k • 157k • 363
How to use haritzpuerto/TinyBERT_General_4L_312D-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="haritzpuerto/TinyBERT_General_4L_312D-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("haritzpuerto/TinyBERT_General_4L_312D-squad")
model = AutoModelForQuestionAnswering.from_pretrained("haritzpuerto/TinyBERT_General_4L_312D-squad")This model is a fine-tuned version of huawei-noah/TinyBERT_General_4L_312D 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 |
|---|---|---|---|
| 2.7498 | 1.0 | 4380 | 2.5477 |