Instructions to use Osiris/emotion_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Osiris/emotion_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Osiris/emotion_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Osiris/emotion_classifier") model = AutoModelForSequenceClassification.from_pretrained("Osiris/emotion_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
531104b -
Update README.md
fb64d0c -
Upload config.json
9c6ab9c -
Update README.md
f08d18c -
Upload pytorch_model.bin with git-lfs
33de5cd
-
Update README.md
f4bee2a -
Update README.md
c0c0187 -
Update README.md
562ec29 -
Upload pytorch_model.bin with git-lfs
d76d1b8
-
Update README.md
7c20f23 -
Update README.md
a61e29f -
Update README.md
0083f08 -
Create README.md
6a75446 -
Upload tokenizer.json
3f81ae7 -
Upload tokenizer_config.json
d3339b1 -
Upload vocab.json
5b06835 -
Upload special_tokens_map.json
2150d1b -
Upload merges.txt
661e7f9 -
Upload config.json
e5bb5fd -
Upload pytorch_model.bin with git-lfs
1f1743e -
initial commit
f1f2461