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 ONNX file of this model
Beep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/optimum/exporters). On behalf of [LoPPiper](https://huggingface.co/LoPPiper), I would like to add to this repository the model converted to ONNX. What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)! The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!abea292
-
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