File size: 836 Bytes
0729bc8
 
 
 
2f58805
 
 
 
 
 
c2bfff2
 
 
 
 
 
 
 
 
 
 
8f9122d
 
 
 
 
 
 
 
 
 
 
 
 
c2bfff2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
language:
- ja
---
This is a BERT Base model for emotion analysis in Japanese additionally fine-tuned for emotion detection and classification.

The model was based on [tohoku-nlp/bert-base-japanese](https://huggingface.co/tohoku-nlp/bert-base-japanese), and later finetuned on a dataset containing 10 labels of emotional blog posts.

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

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

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