File size: 1,158 Bytes
4eabada
 
 
 
 
 
fffbf28
 
 
 
 
 
a830401
fffbf28
0f899ba
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
language:
- ja
pipeline_tag: text-classification
library_name: transformers
---
This is a LUKE (Japanese version) Base model for emotion analysis in Japanese additionally fine-tuned for emotion detection and classification.

The model was based on [studio-ousia/luke-japanese-large](https://huggingface.co/studio-ousia/luke-japanese-large), and later fine-tuned on a dataset containing 10 labels of emotional texts from Japanese dictionaries, blogs and Twitter.

The dataset was composed of about 1,700 sentences, with about 100~250 sentences each for each emotion category.

emotion_mapping = { 0: 'amaze/surprise', 1: 'anger', 2: 'dislike', 3: 'excitement', 4: 'fear', 5: 'joy', 6: 'like/fondness', 7: 'relief', 8: 'sad/gloom', 9: 'shame' }

emotion_mapping = { 0: '้ฉšใ', 1: 'ๆ€’ใ‚Š', 2: 'ใ„ใ‚„', 3: 'ๆ˜‚ใ‚Š', 4: 'ๆ€–ใŒใ‚Š', 5: 'ๅ–œใณ', 6: 'ๅฅฝใ', 7: 'ๅฎ‰ใ‚‰ใŽ', 8: 'ๆ‚ฒใ—ใฟ', 9: 'ๆฅใšใ‹ใ—ใ„' }

## Evaluation result with our test data
|   Accuracy        |     Macro F1                      |
|---------------|-----------------------------|
|    95.57%        |     95.42%               |

I will continue to fine-tune this model soon.