Upload HubertForSpeechClassification
Browse files- config.json +93 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/hubert-base-ls960",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"apply_spec_augment": true,
|
5 |
+
"architectures": [
|
6 |
+
"HubertForSpeechClassification"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_proj_size": 256,
|
11 |
+
"conv_bias": false,
|
12 |
+
"conv_dim": [
|
13 |
+
512,
|
14 |
+
512,
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"conv_kernel": [
|
22 |
+
10,
|
23 |
+
3,
|
24 |
+
3,
|
25 |
+
3,
|
26 |
+
3,
|
27 |
+
2,
|
28 |
+
2
|
29 |
+
],
|
30 |
+
"conv_stride": [
|
31 |
+
5,
|
32 |
+
2,
|
33 |
+
2,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2
|
38 |
+
],
|
39 |
+
"ctc_loss_reduction": "sum",
|
40 |
+
"ctc_zero_infinity": false,
|
41 |
+
"do_stable_layer_norm": false,
|
42 |
+
"eos_token_id": 2,
|
43 |
+
"feat_extract_activation": "gelu",
|
44 |
+
"feat_extract_dropout": 0.0,
|
45 |
+
"feat_extract_norm": "group",
|
46 |
+
"feat_proj_dropout": 0.1,
|
47 |
+
"feat_proj_layer_norm": true,
|
48 |
+
"final_dropout": 0.1,
|
49 |
+
"finetuning_task": "wav2vec2_clf",
|
50 |
+
"gradient_checkpointing": false,
|
51 |
+
"hidden_act": "gelu",
|
52 |
+
"hidden_dropout": 0.1,
|
53 |
+
"hidden_dropout_prob": 0.1,
|
54 |
+
"hidden_size": 768,
|
55 |
+
"id2label": {
|
56 |
+
"0": "Angry",
|
57 |
+
"1": "Fearful",
|
58 |
+
"2": "Happy",
|
59 |
+
"3": "Neutral",
|
60 |
+
"4": "Sad"
|
61 |
+
},
|
62 |
+
"initializer_range": 0.02,
|
63 |
+
"intermediate_size": 3072,
|
64 |
+
"label2id": {
|
65 |
+
"Angry": 0,
|
66 |
+
"Fearful": 1,
|
67 |
+
"Happy": 2,
|
68 |
+
"Neutral": 3,
|
69 |
+
"Sad": 4
|
70 |
+
},
|
71 |
+
"layer_norm_eps": 1e-05,
|
72 |
+
"layerdrop": 0.1,
|
73 |
+
"mask_feature_length": 10,
|
74 |
+
"mask_feature_min_masks": 0,
|
75 |
+
"mask_feature_prob": 0.0,
|
76 |
+
"mask_time_length": 10,
|
77 |
+
"mask_time_min_masks": 2,
|
78 |
+
"mask_time_prob": 0.05,
|
79 |
+
"model_type": "hubert",
|
80 |
+
"num_attention_heads": 12,
|
81 |
+
"num_conv_pos_embedding_groups": 16,
|
82 |
+
"num_conv_pos_embeddings": 128,
|
83 |
+
"num_feat_extract_layers": 7,
|
84 |
+
"num_hidden_layers": 12,
|
85 |
+
"pad_token_id": 0,
|
86 |
+
"pooling_mode": "mean",
|
87 |
+
"problem_type": "single_label_classification",
|
88 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
89 |
+
"torch_dtype": "float32",
|
90 |
+
"transformers_version": "4.28.0.dev0",
|
91 |
+
"use_weighted_layer_sum": false,
|
92 |
+
"vocab_size": 32
|
93 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a176e7bc3ddfffe1f97dc187dfd2c9b5a344e1732bcf22430452babe1cf9b852
|
3 |
+
size 379938281
|