Instructions to use connectivity/cola_6ep_ft-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use connectivity/cola_6ep_ft-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="connectivity/cola_6ep_ft-2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("connectivity/cola_6ep_ft-2") model = AutoModelForSequenceClassification.from_pretrained("connectivity/cola_6ep_ft-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
87c32c6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6a0c8c72df16806da0f764241b8b61a0a525b07ee2a7fda60c7feba1d0b8c3de
size 438017325
|