rajpurkar/squad_v2
Viewer • Updated • 142k • 35.5k • 251
How to use janeel/roberta-base-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="janeel/roberta-base-finetuned-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("janeel/roberta-base-finetuned-squad")
model = AutoModelForQuestionAnswering.from_pretrained("janeel/roberta-base-finetuned-squad")This model is a fine-tuned version of roberta-base on the squad_v2 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.8678 | 1.0 | 8239 | 0.8014 |
| 0.6423 | 2.0 | 16478 | 0.8556 |