Commit
·
75b9a09
1
Parent(s):
c1f87b8
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
[](https://colab.research.google.com/github/j-hartmann/emotion-english-distilroberta-base/blob/main/simple_emotion_pipeline.ipynb)
|
| 4 |
|
| 5 |
-
Run emotion model on multiple examples and full datasets (e.g., .csv files):
|
| 6 |
|
| 7 |
[](https://colab.research.google.com/github/j-hartmann/emotion-english-distilroberta-base/blob/main/emotion_prediction_example.ipynb)
|
|
|
|
| 1 |
+
## Description
|
| 2 |
+
|
| 3 |
+
This deep neural network classifies the emotions in English text data. The model was trained on diverse datasets and predicts 7 emotions:
|
| 4 |
+
|
| 5 |
+
1) anger
|
| 6 |
+
2) disgust
|
| 7 |
+
3) fear
|
| 8 |
+
4) joy
|
| 9 |
+
5) neutral
|
| 10 |
+
6) sadness
|
| 11 |
+
7) surprise
|
| 12 |
+
|
| 13 |
+
## Application
|
| 14 |
+
|
| 15 |
+
a) Run emotion model with 3 lines of code on single text example using Hugging Face's pipeline command:
|
| 16 |
|
| 17 |
[](https://colab.research.google.com/github/j-hartmann/emotion-english-distilroberta-base/blob/main/simple_emotion_pipeline.ipynb)
|
| 18 |
|
| 19 |
+
b) Run emotion model on multiple examples and full datasets (e.g., .csv files):
|
| 20 |
|
| 21 |
[](https://colab.research.google.com/github/j-hartmann/emotion-english-distilroberta-base/blob/main/emotion_prediction_example.ipynb)
|