Instructions to use HyukII/text-emotion-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HyukII/text-emotion-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HyukII/text-emotion-model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HyukII/text-emotion-model") model = AutoModelForSequenceClassification.from_pretrained("HyukII/text-emotion-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "label2id": { | |
| "๊ธฐ์จ": 0, | |
| "๋นํฉ": 1, | |
| "๋ถ๋ ธ": 2, | |
| "๋ถ์": 3, | |
| "์์ฒ": 4, | |
| "์ฌํ": 5 | |
| }, | |
| "id2label": { | |
| "0": "๊ธฐ์จ", | |
| "1": "๋นํฉ", | |
| "2": "๋ถ๋ ธ", | |
| "3": "๋ถ์", | |
| "4": "์์ฒ", | |
| "5": "์ฌํ" | |
| } | |
| } |