Instructions to use teglad/DistilRoBERTaEmotionClassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use teglad/DistilRoBERTaEmotionClassifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="teglad/DistilRoBERTaEmotionClassifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("teglad/DistilRoBERTaEmotionClassifier") model = AutoModelForSequenceClassification.from_pretrained("teglad/DistilRoBERTaEmotionClassifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatureca77bef -
Update config.json
Verified signatureff4896b -
Upload tokenizer
Verified signature8c85f89 -
Create README.md
Verified signature6815de3 -
Upload RobertaForSequenceClassification
Verified signatureb08c5db -
initial commit
Verified signaturea382ff7