Instructions to use thatdramebaazguy/roberta-base-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thatdramebaazguy/roberta-base-squad with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="thatdramebaazguy/roberta-base-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("thatdramebaazguy/roberta-base-squad") model = AutoModelForQuestionAnswering.from_pretrained("thatdramebaazguy/roberta-base-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
ff1d6d2
1
Parent(s): ef187dc
Update README.md
Browse files
README.md
CHANGED
|
@@ -1 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Model Card coming soon!
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets:
|
| 3 |
+
- squad
|
| 4 |
+
- squad-v1
|
| 5 |
+
|
| 6 |
+
language:
|
| 7 |
+
- English
|
| 8 |
+
|
| 9 |
+
thumbnail:
|
| 10 |
+
|
| 11 |
+
tags:
|
| 12 |
+
- roberta
|
| 13 |
+
- roberta-base
|
| 14 |
+
- masked-language-modeling
|
| 15 |
+
- masked-LM
|
| 16 |
+
|
| 17 |
+
----
|
| 18 |
+
|
| 19 |
Model Card coming soon!
|