Instructions to use textattack/bert-base-uncased-CoLA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/bert-base-uncased-CoLA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/bert-base-uncased-CoLA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-CoLA") model = AutoModelForSequenceClassification.from_pretrained("textattack/bert-base-uncased-CoLA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
upload flax model
5fed03d -
allow flax
5dae42a
-
Update eval_results_cola.txt
9ce11aa -
Update vocab.txt
a1906bd -
Update config.json
d713f70 -
Update special_tokens_map.json
6f89266 -
Update tokenizer_config.json
60eaa5d -
Update pytorch_model.bin
5875d56 -
Update training_args.bin
c08e4a7
-
Update config.json
557d948 -
Update eval_results_cola.txt
e4f2a9a -
Update tokenizer_config.json
c583547 -
Update vocab.txt
5813d3f -
Update special_tokens_map.json
1e8afac -
Update eval_results_cola.txt
5026c46 -
Update config.json
ca431fd -
Update special_tokens_map.json
d059b9f -
Update tokenizer_config.json
84bf145 -
Update vocab.txt
948e081 -
initial commit
9061100