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")# pip install -U transformers accelerate # 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
Download training_args.bin from textattack/roberta-base-CoLA: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/textattack/roberta-base-CoLA/resolve/main/training_args.bin
- Command line
-
hf download hf://textattack/roberta-base-CoLA/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/textattack/roberta-base-CoLA/resolve/main/training_args.bin
1.03 kB
- Xet hash:
- 0020a7ba041abce96a1c1138f45f58c9014fd7e28cce36b2a85fa9921587eb66
- Size of remote file:
- 1.03 kB
- SHA256:
- b5c73b3803dcc4fea2280fcf3356fd37596d0e17ab84a60dc54c5aa5341af377
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.