Upload Wav2Vec2ForSequenceClassification
Browse files- config.json +186 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/wav2vec2-base",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"adapter_attn_dim": null,
|
5 |
+
"adapter_kernel_size": 3,
|
6 |
+
"adapter_stride": 2,
|
7 |
+
"add_adapter": false,
|
8 |
+
"apply_spec_augment": true,
|
9 |
+
"architectures": [
|
10 |
+
"Wav2Vec2ForSequenceClassification"
|
11 |
+
],
|
12 |
+
"attention_dropout": 0.1,
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"classifier_proj_size": 256,
|
15 |
+
"codevector_dim": 256,
|
16 |
+
"contrastive_logits_temperature": 0.1,
|
17 |
+
"conv_bias": false,
|
18 |
+
"conv_dim": [
|
19 |
+
512,
|
20 |
+
512,
|
21 |
+
512,
|
22 |
+
512,
|
23 |
+
512,
|
24 |
+
512,
|
25 |
+
512
|
26 |
+
],
|
27 |
+
"conv_kernel": [
|
28 |
+
10,
|
29 |
+
3,
|
30 |
+
3,
|
31 |
+
3,
|
32 |
+
3,
|
33 |
+
2,
|
34 |
+
2
|
35 |
+
],
|
36 |
+
"conv_stride": [
|
37 |
+
5,
|
38 |
+
2,
|
39 |
+
2,
|
40 |
+
2,
|
41 |
+
2,
|
42 |
+
2,
|
43 |
+
2
|
44 |
+
],
|
45 |
+
"ctc_loss_reduction": "sum",
|
46 |
+
"ctc_zero_infinity": false,
|
47 |
+
"diversity_loss_weight": 0.1,
|
48 |
+
"do_stable_layer_norm": false,
|
49 |
+
"eos_token_id": 2,
|
50 |
+
"feat_extract_activation": "gelu",
|
51 |
+
"feat_extract_norm": "group",
|
52 |
+
"feat_proj_dropout": 0.1,
|
53 |
+
"feat_quantizer_dropout": 0.0,
|
54 |
+
"final_dropout": 0.0,
|
55 |
+
"freeze_feat_extract_train": true,
|
56 |
+
"hidden_act": "gelu",
|
57 |
+
"hidden_dropout": 0.1,
|
58 |
+
"hidden_size": 768,
|
59 |
+
"id2label": {
|
60 |
+
"0": "_background_noise_",
|
61 |
+
"1": "audio",
|
62 |
+
"10": "go",
|
63 |
+
"11": "happy",
|
64 |
+
"12": "house",
|
65 |
+
"13": "left",
|
66 |
+
"14": "marvin",
|
67 |
+
"15": "nine",
|
68 |
+
"16": "no",
|
69 |
+
"17": "off",
|
70 |
+
"18": "on",
|
71 |
+
"19": "one",
|
72 |
+
"2": "bed",
|
73 |
+
"20": "right",
|
74 |
+
"21": "seven",
|
75 |
+
"22": "sheila",
|
76 |
+
"23": "six",
|
77 |
+
"24": "stop",
|
78 |
+
"25": "three",
|
79 |
+
"26": "tree",
|
80 |
+
"27": "two",
|
81 |
+
"28": "up",
|
82 |
+
"29": "wow",
|
83 |
+
"3": "bird",
|
84 |
+
"30": "yes",
|
85 |
+
"31": "zero",
|
86 |
+
"4": "cat",
|
87 |
+
"5": "dog",
|
88 |
+
"6": "down",
|
89 |
+
"7": "eight",
|
90 |
+
"8": "five",
|
91 |
+
"9": "four"
|
92 |
+
},
|
93 |
+
"initializer_range": 0.02,
|
94 |
+
"intermediate_size": 3072,
|
95 |
+
"label2id": {
|
96 |
+
"_background_noise_": "0",
|
97 |
+
"audio": "1",
|
98 |
+
"bed": "2",
|
99 |
+
"bird": "3",
|
100 |
+
"cat": "4",
|
101 |
+
"dog": "5",
|
102 |
+
"down": "6",
|
103 |
+
"eight": "7",
|
104 |
+
"five": "8",
|
105 |
+
"four": "9",
|
106 |
+
"go": "10",
|
107 |
+
"happy": "11",
|
108 |
+
"house": "12",
|
109 |
+
"left": "13",
|
110 |
+
"marvin": "14",
|
111 |
+
"nine": "15",
|
112 |
+
"no": "16",
|
113 |
+
"off": "17",
|
114 |
+
"on": "18",
|
115 |
+
"one": "19",
|
116 |
+
"right": "20",
|
117 |
+
"seven": "21",
|
118 |
+
"sheila": "22",
|
119 |
+
"six": "23",
|
120 |
+
"stop": "24",
|
121 |
+
"three": "25",
|
122 |
+
"tree": "26",
|
123 |
+
"two": "27",
|
124 |
+
"up": "28",
|
125 |
+
"wow": "29",
|
126 |
+
"yes": "30",
|
127 |
+
"zero": "31"
|
128 |
+
},
|
129 |
+
"layer_norm_eps": 1e-05,
|
130 |
+
"layerdrop": 0.0,
|
131 |
+
"mask_channel_length": 10,
|
132 |
+
"mask_channel_min_space": 1,
|
133 |
+
"mask_channel_other": 0.0,
|
134 |
+
"mask_channel_prob": 0.0,
|
135 |
+
"mask_channel_selection": "static",
|
136 |
+
"mask_feature_length": 10,
|
137 |
+
"mask_feature_min_masks": 0,
|
138 |
+
"mask_feature_prob": 0.0,
|
139 |
+
"mask_time_length": 10,
|
140 |
+
"mask_time_min_masks": 2,
|
141 |
+
"mask_time_min_space": 1,
|
142 |
+
"mask_time_other": 0.0,
|
143 |
+
"mask_time_prob": 0.05,
|
144 |
+
"mask_time_selection": "static",
|
145 |
+
"model_type": "wav2vec2",
|
146 |
+
"no_mask_channel_overlap": false,
|
147 |
+
"no_mask_time_overlap": false,
|
148 |
+
"num_adapter_layers": 3,
|
149 |
+
"num_attention_heads": 12,
|
150 |
+
"num_codevector_groups": 2,
|
151 |
+
"num_codevectors_per_group": 320,
|
152 |
+
"num_conv_pos_embedding_groups": 16,
|
153 |
+
"num_conv_pos_embeddings": 128,
|
154 |
+
"num_feat_extract_layers": 7,
|
155 |
+
"num_hidden_layers": 12,
|
156 |
+
"num_negatives": 100,
|
157 |
+
"output_hidden_size": 768,
|
158 |
+
"pad_token_id": 0,
|
159 |
+
"proj_codevector_dim": 256,
|
160 |
+
"tdnn_dilation": [
|
161 |
+
1,
|
162 |
+
2,
|
163 |
+
3,
|
164 |
+
1,
|
165 |
+
1
|
166 |
+
],
|
167 |
+
"tdnn_dim": [
|
168 |
+
512,
|
169 |
+
512,
|
170 |
+
512,
|
171 |
+
512,
|
172 |
+
1500
|
173 |
+
],
|
174 |
+
"tdnn_kernel": [
|
175 |
+
5,
|
176 |
+
3,
|
177 |
+
3,
|
178 |
+
1,
|
179 |
+
1
|
180 |
+
],
|
181 |
+
"torch_dtype": "float32",
|
182 |
+
"transformers_version": "4.35.2",
|
183 |
+
"use_weighted_layer_sum": false,
|
184 |
+
"vocab_size": 32,
|
185 |
+
"xvector_output_dim": 512
|
186 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:373af34163799ac9cf8cbfc0af69b298dc291e604aee8cafdad7aacd349cfe43
|
3 |
+
size 378333160
|