Instructions to use ethanrom/a2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ethanrom/a2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ethanrom/a2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ethanrom/a2") model = AutoModelForSequenceClassification.from_pretrained("ethanrom/a2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (b16f7ff7e727db65697e82b36b8993aa9ca617a5) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>6894c06
-
Create README.md
1e04cb8
-
Upload with huggingface_hub
ea56583 -
initial commit
33272b3