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