Text Classification
Transformers
Safetensors
English
roberta
emotion-classification
conversational-ai
domain-fine-tuned
inside-out
text-embeddings-inference
Instructions to use Kova-Mind/emotion-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kova-Mind/emotion-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Kova-Mind/emotion-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Kova-Mind/emotion-v2") model = AutoModelForSequenceClassification.from_pretrained("Kova-Mind/emotion-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 406 Bytes
b01c0b6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | {
"id2label": {
"0": "joy",
"1": "sadness",
"2": "anger",
"3": "fear",
"4": "disgust",
"5": "anxiety",
"6": "embarrassment",
"7": "envy",
"8": "ennui",
"9": "neutral"
},
"label2id": {
"joy": 0,
"sadness": 1,
"anger": 2,
"fear": 3,
"disgust": 4,
"anxiety": 5,
"embarrassment": 6,
"envy": 7,
"ennui": 8,
"neutral": 9
}
} |