Instructions to use graphcore-rahult/roberta-base-finetuned-cola with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use graphcore-rahult/roberta-base-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="graphcore-rahult/roberta-base-finetuned-cola")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("graphcore-rahult/roberta-base-finetuned-cola") model = AutoModelForSequenceClassification.from_pretrained("graphcore-rahult/roberta-base-finetuned-cola", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
README.md
CHANGED
|
@@ -6,6 +6,7 @@ datasets:
|
|
| 6 |
- glue
|
| 7 |
metrics:
|
| 8 |
- matthews_correlation
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: roberta-base-finetuned-cola
|
| 11 |
results: []
|
|
|
|
| 6 |
- glue
|
| 7 |
metrics:
|
| 8 |
- matthews_correlation
|
| 9 |
+
base_model: roberta-base
|
| 10 |
model-index:
|
| 11 |
- name: roberta-base-finetuned-cola
|
| 12 |
results: []
|