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", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#10 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#9 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#8 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#7 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#6 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#5 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#4 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#3 opened about 3 years ago
by
SFconvertbot
Adding ONNX file of this model
#2 opened about 3 years ago
by
GeorgeSpark
Adding `safetensors` variant of this model
#1 opened over 3 years ago
by
SFconvertbot