이 모델은 KoELECTRA-base-v3를 기반으로 파인튜닝된 한국어 감정 분류 모델입니다.
입력 문장을 6가지 감정 범주 중 하나로 분류합니다:
Validation set 기준:
| Epoch | Training Loss | Validation Loss | Accuracy | F1 Macro |
|---|---|---|---|---|
| 1 | 1.1211 | 1.1623 | 0.5613 | 0.5733 |
| 2 | 1.0241 | 1.1424 | 0.5789 | 0.5928 |
| 3 | 0.9386 | 1.1948 | 0.5789 | 0.5968 |
| ... | ... | ... | ... | ... |
| 90 | 0.0077 | 5.2280 | 0.5727 | 0.5866 |
| 100 | 0.0008 | 5.3633 | 0.5654 | 0.5796 |
from transformers import pipeline
pipe = pipeline("text-classification", model="MelissaJ/koelectra-emotion-6-emotion-base")
text = "그런일이 있으셨다니 매우 슬프시겠어요"
print(pipe(text))
# [{'label': '슬픔', 'score': 0.8857910633087158}]
model.safetensors 452 MBtraining_args.bin 5.2 kBmonologg/koelectra-base-v3-discriminator