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
Commit History
-
upload flax model
3ccf3a4 -
allow flax
14e662c
-
Update log.txt
6523f67 -
Update special_tokens_map.json
b70951c -
Update merges.txt
0902b88 -
Update train_args.json
2bdfb91 -
Update vocab.json
dceee35 -
Update config.json
0a5004f -
Update pytorch_model.bin
6aea082 -
Update README.md
4df937d -
Update tokenizer_config.json
02da226 -
Update log.txt
753d848 -
Update special_tokens_map.json
beddf5e -
Update merges.txt
6c5a6ef -
Update vocab.json
462c806 -
Update train_args.json
bbc30be -
Update README.md
d88439c -
Update config.json
f59be4a -
Update tokenizer_config.json
72247d0 -
Update log.txt
1fb5ced -
Update merges.txt
e8f0207 -
Update special_tokens_map.json
ca94239 -
Update vocab.json
d70a57f -
Update train_args.json
9d0f622 -
Update config.json
eae4a72 -
Update tokenizer_config.json
8380034 -
Update README.md
0a492c6 -
Update log.txt
e923d3b -
Update special_tokens_map.json
0071cbb -
Update vocab.json
5c4493e -
Update merges.txt
91b4693 -
Update train_args.json
2a1e16d -
Update config.json
524c2ab -
Update README.md
ceac895 -
Update tokenizer_config.json
103a5d3
-
Update special_tokens_map.json
c223108 -
Update tokenizer_config.json
a373084 -
Update eval_results_cola.txt
23f0947 -
Update training_args.bin
ad05f68 -
Update vocab.json
6c3f619 -
Update config.json
45828d6 -
Update merges.txt
a6fd167
-
Update special_tokens_map.json
4e77598 -
Update tokenizer_config.json
138af8b -
Update eval_results_cola.txt
e8c7a4f -
Update vocab.json
5930ea3 -
Update merges.txt
24c6df2 -
Update config.json
fc2170b -
Update special_tokens_map.json
097f9c5 -
Update tokenizer_config.json
c4fa30d