Instructions to use TimoImhof/roberta-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TimoImhof/roberta-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="TimoImhof/roberta-finetuned-squad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("TimoImhof/roberta-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("TimoImhof/roberta-finetuned-squad") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ language:
|
|
| 7 |
- en
|
| 8 |
---
|
| 9 |
|
| 10 |
-
This is the "roberta-base" model with a question answering head, trained on the "squad" dataset
|
| 11 |
It serves as baseline model to compare with.
|
| 12 |
|
| 13 |
It was evaluated on the squad validation dataset and the achieved score was : `{'exact_match': 85.87511825922422, 'f1': 92.12966408818717}`
|
|
|
|
| 7 |
- en
|
| 8 |
---
|
| 9 |
|
| 10 |
+
This is the "roberta-base" model with a question answering head, trained on the "squad" dataset witht the Trainer API.
|
| 11 |
It serves as baseline model to compare with.
|
| 12 |
|
| 13 |
It was evaluated on the squad validation dataset and the achieved score was : `{'exact_match': 85.87511825922422, 'f1': 92.12966408818717}`
|