nlp
Collection
5 items • Updated • 1
How to use li1212/roberta-base-finetuned-squad-apollo_adamw with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="li1212/roberta-base-finetuned-squad-apollo_adamw") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("li1212/roberta-base-finetuned-squad-apollo_adamw")
model = AutoModelForQuestionAnswering.from_pretrained("li1212/roberta-base-finetuned-squad-apollo_adamw", device_map="auto")This model is a fine-tuned version of FacebookAI/roberta-base on an unknown 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 |
|---|---|---|---|
| 1.1186 | 1.0 | 1384 | 0.9709 |
| 0.8939 | 2.0 | 2768 | 0.9160 |
| 0.8005 | 3.0 | 4152 | 0.8963 |
| {'exact_match': 83.87890255439925, 'f1': 90.83863684256829} |
Base model
FacebookAI/roberta-base