Views
No views yet
| 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 |
1from transformers import pipeline
2pipe = pipeline("text-classification", model="MelissaJ/koelectra-emotion-6-emotion-base")
3text = "그런일이 있으셨다니 매우 슬프시겠어요"
4print(pipe(text))
5# [{'label': '슬픔', 'score': 0.8857910633087158}]