Instructions to use textattack/xlnet-large-cased-CoLA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/xlnet-large-cased-CoLA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/xlnet-large-cased-CoLA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/xlnet-large-cased-CoLA") model = AutoModelForSequenceClassification.from_pretrained("textattack/xlnet-large-cased-CoLA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update pytorch_model.bin
4fb7b96 -
Update tokenizer_config.json
a5523d1 -
Update training_args.bin
8b6bbc3 -
Update config.json
98d4bdd -
Update eval_results_cola.txt
3bf39ad -
Update special_tokens_map.json
02b3962 -
Update spiece.model
49ff911
-
Update tokenizer_config.json
98e0113 -
Update config.json
3a94ef8 -
Update eval_results_cola.txt
6608c9c -
Update special_tokens_map.json
0465e87 -
Update spiece.model
03b1f26 -
initial commit
e9abca2