dynann commited on
Commit
1102726
·
verified ·
1 Parent(s): 85e0713

Initial model upload with model card

Browse files
README.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - stapesai/ssi-speech-emotion-recognition
5
+ metrics:
6
+ - accuracy
7
+ - precision
8
+ - recall
9
+ - f1
10
+ pipeline_tag: audio-classification
11
+ ---
12
+
13
+ # Multimodal Emotion Speech Recognition
14
+
15
+ ## Model Description
16
+ This model performs emotion recognition from speech using a multimodal approach, utilizing:
17
+ - **Audio Model**: Wav2Vec2 Base
18
+ ## Dataset
19
+ - **Dataset Name**: [stapesai/ssi-speech-emotion-recognition](https://huggingface.co/datasets/stapesai/ssi-speech-emotion-recognition)
20
+
21
+ ## Evaluation Results
22
+
23
+ ### Classification Report
24
+ ```
25
+ precision recall f1-score support
26
+
27
+ ANG 0.97 0.93 0.95 30
28
+ CAL 0.00 0.00 0.00 0
29
+ DIS 0.95 0.90 0.92 20
30
+ FEA 0.76 0.70 0.73 27
31
+ HAP 0.87 0.82 0.84 33
32
+ NEU 0.96 0.96 0.96 25
33
+ SAD 0.73 1.00 0.84 19
34
+ SUR 0.88 0.78 0.82 9
35
+
36
+ accuracy 0.87 163
37
+ macro avg 0.76 0.76 0.76 163
38
+ weighted avg 0.88 0.87 0.87 163
39
+ ```
40
+
41
+ **Overall Accuracy**: 87%
labels.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ANG": 0,
3
+ "CAL": 1,
4
+ "DIS": 2,
5
+ "FEA": 3,
6
+ "HAP": 4,
7
+ "NEU": 5,
8
+ "SAD": 6,
9
+ "SUR": 7
10
+ }
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f13e4708ab39d7bdf3ab82df2614a5d4091859a830a23f0910313c1abc64b651
3
+ size 379152343
preprocessor_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
+ "feature_size": 1,
5
+ "padding_side": "right",
6
+ "padding_value": 0.0,
7
+ "processor_class": "Wav2Vec2Processor",
8
+ "return_attention_mask": false,
9
+ "sampling_rate": 16000
10
+ }
runs/events.out.tfevents.1768038394.MSI.3568.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:277d98c3d65e4b5b89bbcc2a89cb01d975ef4e458ca8aeaf360960bd99bda193
3
+ size 42683
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "pad_token": "<pad>",
5
+ "unk_token": "<unk>"
6
+ }
test_confusion_matrix.png ADDED
test_results.txt ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ precision recall f1-score support
2
+
3
+ ANG 0.97 0.93 0.95 30
4
+ CAL 0.00 0.00 0.00 0
5
+ DIS 0.95 0.90 0.92 20
6
+ FEA 0.76 0.70 0.73 27
7
+ HAP 0.87 0.82 0.84 33
8
+ NEU 0.96 0.96 0.96 25
9
+ SAD 0.73 1.00 0.84 19
10
+ SUR 0.88 0.78 0.82 9
11
+
12
+ accuracy 0.87 163
13
+ macro avg 0.76 0.76 0.76 163
14
+ weighted avg 0.88 0.87 0.87 163
tokenizer_config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<pad>",
5
+ "lstrip": true,
6
+ "normalized": false,
7
+ "rstrip": true,
8
+ "single_word": false,
9
+ "special": false
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": true,
14
+ "normalized": false,
15
+ "rstrip": true,
16
+ "single_word": false,
17
+ "special": false
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": true,
22
+ "normalized": false,
23
+ "rstrip": true,
24
+ "single_word": false,
25
+ "special": false
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": true,
30
+ "normalized": false,
31
+ "rstrip": true,
32
+ "single_word": false,
33
+ "special": false
34
+ }
35
+ },
36
+ "bos_token": "<s>",
37
+ "clean_up_tokenization_spaces": false,
38
+ "do_lower_case": false,
39
+ "do_normalize": true,
40
+ "eos_token": "</s>",
41
+ "extra_special_tokens": {},
42
+ "model_max_length": 1000000000000000019884624838656,
43
+ "pad_token": "<pad>",
44
+ "processor_class": "Wav2Vec2Processor",
45
+ "replace_word_delimiter_char": " ",
46
+ "return_attention_mask": false,
47
+ "target_lang": null,
48
+ "tokenizer_class": "Wav2Vec2CTCTokenizer",
49
+ "unk_token": "<unk>",
50
+ "word_delimiter_token": "|"
51
+ }
vocab.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "'": 27,
3
+ "</s>": 2,
4
+ "<pad>": 0,
5
+ "<s>": 1,
6
+ "<unk>": 3,
7
+ "A": 7,
8
+ "B": 24,
9
+ "C": 19,
10
+ "D": 14,
11
+ "E": 5,
12
+ "F": 20,
13
+ "G": 21,
14
+ "H": 11,
15
+ "I": 10,
16
+ "J": 29,
17
+ "K": 26,
18
+ "L": 15,
19
+ "M": 17,
20
+ "N": 9,
21
+ "O": 8,
22
+ "P": 23,
23
+ "Q": 30,
24
+ "R": 13,
25
+ "S": 12,
26
+ "T": 6,
27
+ "U": 16,
28
+ "V": 25,
29
+ "W": 18,
30
+ "X": 28,
31
+ "Y": 22,
32
+ "Z": 31,
33
+ "|": 4
34
+ }