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