Instructions to use textattack/roberta-base-CoLA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-CoLA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-CoLA")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-CoLA") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-CoLA") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding ONNX file of this model
#2
by GeorgeSpark - opened
- model.onnx +3 -0
model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8e04a7fb8dcefd0da9ac214ed26e7eba8d7ee703946bbd3c239681464729dff
|
| 3 |
+
size 498870599
|