Update README.md
Browse files
README.md
CHANGED
|
@@ -6,10 +6,53 @@ license: cc-by-sa-4.0
|
|
| 6 |
|
| 7 |
Classification model for
|
| 8 |
- input: a sentence + the previous and following sentences
|
| 9 |
-
- output:
|
| 10 |
- is emotional
|
| 11 |
- mode of expression
|
| 12 |
- type of emotion(s) (basic, complex)
|
| 13 |
- category of emotion(s)
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
Classification model for
|
| 8 |
- input: a sentence + the previous and following sentences
|
| 9 |
+
- output: 20 labels
|
| 10 |
- is emotional
|
| 11 |
- mode of expression
|
| 12 |
- type of emotion(s) (basic, complex)
|
| 13 |
- category of emotion(s)
|
| 14 |
|
| 15 |
+
## Input format
|
| 16 |
+
|
| 17 |
+
The prompt template is:
|
| 18 |
+
```before:{previous_sentence}</s>current: {target_sentence}</s>after:{next_sentence}</s>```
|
| 19 |
+
|
| 20 |
+
## Output format
|
| 21 |
+
|
| 22 |
+
Labels are returned in the following order:
|
| 23 |
+
0. sentence is emotional
|
| 24 |
+
1. mode is behavioral
|
| 25 |
+
2. mode is labeled
|
| 26 |
+
3. mode is displayed
|
| 27 |
+
4. mode is suggested
|
| 28 |
+
5. type is basic
|
| 29 |
+
6. type is complex
|
| 30 |
+
7. category is admiration
|
| 31 |
+
8. category is other
|
| 32 |
+
9. category is anger
|
| 33 |
+
10. category is guilt
|
| 34 |
+
11. category is disgust
|
| 35 |
+
12. category is embarassement
|
| 36 |
+
13. category is pride
|
| 37 |
+
14. category is jealousy
|
| 38 |
+
15. category is fear
|
| 39 |
+
16. category is joy
|
| 40 |
+
17. categoy is fear
|
| 41 |
+
18. category is surprise
|
| 42 |
+
19. category is sadness
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
oKids-sentences)[https://huggingface.co/datasets/TextToKids/EmoTextToKids-sentences]
|
| 46 |
+
|
| 47 |
+
See the (original paper)[https://arxiv.org/pdf/2405.14385] for details about training.
|
| 48 |
+
|
| 49 |
+
## Citation information
|
| 50 |
+
|
| 51 |
+
```bibtex
|
| 52 |
+
@inproceedings{etienne2024emotion,
|
| 53 |
+
title={Emotion Identification for French in Written Texts: Considering Modes of Emotion Expression as a Step Towards Text Complexity Analysis},
|
| 54 |
+
author={{\'E}tienne, Aline and Battistelli, Delphine and Lecorv{\'e}, Gw{\'e}nol{\'e}},
|
| 55 |
+
booktitle={Proceedings of the 14th ACL Workshop on Computational Approaches to Subjectivity, Sentiment & Social Media Analysis (WASSA)},
|
| 56 |
+
year={2024}
|
| 57 |
+
}
|
| 58 |
+
```
|