How to use from the
Use from the
Transformers library
# 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")
Quick Links

Korean Emotion Classifier

  • 6개 감정: 기쁨/당황/분노/불안/상처/슬픔
  • 기반 모델: klue/bert-base

Usage

from transformers import AutoModelForSequenceClassification, AutoTokenizer
tok = AutoTokenizer.from_pretrained("HyukII/my-emotion-text")
model = AutoModelForSequenceClassification.from_pretrained("HyukII/my-emotion-text").eval()
Downloads last month
1
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support