add model and config file
Browse filesAdd config.json and model file for Perceiver-based emotion recognition model trained on RAVDESS data
- config.json +61 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"PerceiverModel"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"audio_samples_per_frame": 1920,
|
7 |
+
"cross_attention_shape_for_attention": "kv",
|
8 |
+
"cross_attention_widening_factor": 1,
|
9 |
+
"d_latents": 1280,
|
10 |
+
"d_model": 2048,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4",
|
18 |
+
"5": "LABEL_5",
|
19 |
+
"6": "LABEL_6",
|
20 |
+
"7": "LABEL_7"
|
21 |
+
},
|
22 |
+
"image_size": 56,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"label2id": {
|
25 |
+
"LABEL_0": 0,
|
26 |
+
"LABEL_1": 1,
|
27 |
+
"LABEL_2": 2,
|
28 |
+
"LABEL_3": 3,
|
29 |
+
"LABEL_4": 4,
|
30 |
+
"LABEL_5": 5,
|
31 |
+
"LABEL_6": 6,
|
32 |
+
"LABEL_7": 7
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-12,
|
35 |
+
"max_position_embeddings": 2048,
|
36 |
+
"model_type": "perceiver",
|
37 |
+
"num_blocks": 1,
|
38 |
+
"num_cross_attention_heads": 8,
|
39 |
+
"num_frames": 16,
|
40 |
+
"num_latents": 256,
|
41 |
+
"num_self_attends_per_block": 26,
|
42 |
+
"num_self_attention_heads": 8,
|
43 |
+
"output_shape": [
|
44 |
+
1,
|
45 |
+
16,
|
46 |
+
224,
|
47 |
+
224
|
48 |
+
],
|
49 |
+
"qk_channels": null,
|
50 |
+
"samples_per_patch": 16,
|
51 |
+
"self_attention_widening_factor": 1,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"train_size": [
|
54 |
+
368,
|
55 |
+
496
|
56 |
+
],
|
57 |
+
"transformers_version": "4.20.1",
|
58 |
+
"use_query_residual": true,
|
59 |
+
"v_channels": null,
|
60 |
+
"vocab_size": 262
|
61 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5fadacdf305c81fa5a0ec391697835875f931e00b602f04d157cd39d6ed532e6
|
3 |
+
size 1132295665
|