Instructions to use PremalMatalia/roberta-base-best-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PremalMatalia/roberta-base-best-squad2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="PremalMatalia/roberta-base-best-squad2")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("PremalMatalia/roberta-base-best-squad2") model = AutoModelForQuestionAnswering.from_pretrained("PremalMatalia/roberta-base-best-squad2") - Notebooks
- Google Colab
- Kaggle
Commit 路
15bc545
1
Parent(s): fbc90c6
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForQuestionAnswering"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/Saved_models/RoBERTa",
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForQuestionAnswering"
|
| 5 |
],
|