rajpurkar/squad
Viewer • Updated • 98.2k • 195k • 368
How to use subhasisj/xlm-roberta-base-squad-32 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="subhasisj/xlm-roberta-base-squad-32") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("subhasisj/xlm-roberta-base-squad-32")
model = AutoModelForQuestionAnswering.from_pretrained("subhasisj/xlm-roberta-base-squad-32")This model is a fine-tuned version of xlm-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 |
|---|---|---|---|
| No log | 1.0 | 350 | 1.2339 |
| 2.3864 | 2.0 | 700 | 1.0571 |
| 1.0541 | 3.0 | 1050 | 1.0246 |
| 1.0541 | 4.0 | 1400 | 0.9947 |
| 0.9214 | 5.0 | 1750 | 1.0083 |