Downloads · 30 days
58
1% of all-time downloads
MelissaJ/koelectra-emotion-6-emotion-base
koelectra-emotion-6-emotion-base is a text classification model from MelissaJ. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
이 모델은 KoELECTRA-base-v3를 기반으로 파인튜닝된 한국어 감정 분류 모델입니다. 입력 문장을 6가지 감정 범주 중 하나로 분류합니다:
Downloads · 30 days
58
1% of all-time downloads
All-time downloads
6K
Public
Parameters
113M
903 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors452 MB · 100%
From the Hugging Face model README
이 모델은 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}]