Instructions to use textattack/distilbert-base-cased-CoLA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/distilbert-base-cased-CoLA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/distilbert-base-cased-CoLA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/distilbert-base-cased-CoLA") model = AutoModelForSequenceClassification.from_pretrained("textattack/distilbert-base-cased-CoLA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
3a429c6
-
Update vocab.txt
73fd8dc -
Update config.json
0cec8f7 -
Update tokenizer_config.json
1ca9295 -
Update pytorch_model.bin
4ba869e -
Update eval_results_cola.txt
47f7e0b -
Update special_tokens_map.json
e3ef7fa -
Update training_args.bin
bb02160
-
Update config.json
cfcc405 -
Update tokenizer_config.json
98ae5ba -
Update vocab.txt
aac7784 -
Update eval_results_cola.txt
cf9ad28 -
Update special_tokens_map.json
3efeef6 -
Update vocab.txt
97b3b9b -
Update config.json
3330dde -
Update tokenizer_config.json
77c376d -
Update eval_results_cola.txt
646b83c -
Update special_tokens_map.json
52af860 -
initial commit
b7c84ac