Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: ko
|
| 3 |
+
license: mit
|
| 4 |
+
tags:
|
| 5 |
+
- text-classification
|
| 6 |
+
- emotion
|
| 7 |
+
pipeline_tag: text-classification
|
| 8 |
+
library_name: transformers
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Korean Emotion Classifier
|
| 12 |
+
|
| 13 |
+
- 6개 감정: 기쁨/당황/분노/불안/상처/슬픔
|
| 14 |
+
- 기반 모델: klue/bert-base
|
| 15 |
+
|
| 16 |
+
## Usage
|
| 17 |
+
```python
|
| 18 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 19 |
+
tok = AutoTokenizer.from_pretrained("<USERNAME>/my-emotion-text")
|
| 20 |
+
model = AutoModelForSequenceClassification.from_pretrained("<USERNAME>/my-emotion-text").eval()
|