rajpurkar/squad
Viewer • Updated • 98.2k • 232k • 370
How to use damapika/roberta-base_mod_squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="damapika/roberta-base_mod_squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("damapika/roberta-base_mod_squad")
model = AutoModelForQuestionAnswering.from_pretrained("damapika/roberta-base_mod_squad", device_map="auto")This model is a fine-tuned version of roberta-base 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.9367 | 1.0 | 10950 | 0.9221 |
| 0.6845 | 2.0 | 21900 | 0.9035 |
| 0.4838 | 3.0 | 32850 | 1.0100 |