badydaniel commited on
Commit
d49bf54
·
verified ·
1 Parent(s): 4f4a57c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -1
README.md CHANGED
@@ -5,4 +5,31 @@ language:
5
  base_model:
6
  - nlptown/bert-base-multilingual-uncased-sentiment
7
  pipeline_tag: text-classification
8
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  base_model:
6
  - nlptown/bert-base-multilingual-uncased-sentiment
7
  pipeline_tag: text-classification
8
+ ---
9
+
10
+ # Sentiment Analysis Model
11
+ ### This model is used in our transcription service, where the audio is first transcribed and then analysed via this model.
12
+
13
+ The model expects a sentence and return a number from 1 to 5 where 1 is the most negative sentiment and 5 is the most positive one.
14
+
15
+ The model is trained on BERT (nlptown/bert-base-multilingual-uncased-sentiment), which has an MIT license, and distilled llm results
16
+
17
+ This model was trained for 20 epochs where the result is:
18
+
19
+ | | Precision | Recall | F1-score | Support |
20
+ |--------------|-----------|--------|----------|---------|
21
+ | **Class 1** | 0.95 | 0.88 | 0.92 | 43 |
22
+ | **Class 2** | 0.78 | 0.86 | 0.82 | 37 |
23
+ | **Class 3** | 0.80 | 0.72 | 0.76 | 39 |
24
+ | **Class 4** | 0.79 | 0.88 | 0.83 | 66 |
25
+ | **Class 5** | 0.85 | 0.78 | 0.81 | 45 |
26
+ | | | | | |
27
+ | **Accuracy** | | | 0.83 | 230 |
28
+ | **Macro avg**| 0.84 | 0.82 | 0.83 | 230 |
29
+ | **Weighted avg** | 0.83 | 0.83 | 0.83 | 230 |
30
+
31
+ ## History:
32
+ | Version | Changelog |
33
+ |---------|-----------------------------------------------------------------|
34
+ | **1.0** | initial training |
35
+ | **1.1** | fine-tuning time and datetime to a neutral sentiment (2 epochs) |