rajpurkar/squad
Viewer • Updated • 98.2k • 159k • 365
How to use nidhinthomas/electra-small-squad-finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="nidhinthomas/electra-small-squad-finetuned") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("nidhinthomas/electra-small-squad-finetuned")
model = AutoModelForQuestionAnswering.from_pretrained("nidhinthomas/electra-small-squad-finetuned")This model is a fine-tuned version of Palak/google_electra-small-discriminator_squad 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.9333 | 1.0 | 5533 | 1.1189 |
| 0.857 | 2.0 | 11066 | 1.1443 |
| 0.7353 | 3.0 | 16599 | 1.1496 |