hf-transformers-bot
commited on
Commit
•
1304369
1
Parent(s):
09b0205
Upload tiny models for Data2VecAudioForXVector
Browse files- config.json +76 -0
- preprocessor_config.json +10 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.1,
|
3 |
+
"adapter_kernel_size": 3,
|
4 |
+
"adapter_stride": 2,
|
5 |
+
"add_adapter": false,
|
6 |
+
"architectures": [
|
7 |
+
"Data2VecAudioForXVector"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.1,
|
10 |
+
"bos_token_id": 1,
|
11 |
+
"classifier_proj_size": 256,
|
12 |
+
"conv_bias": false,
|
13 |
+
"conv_dim": [
|
14 |
+
32,
|
15 |
+
32,
|
16 |
+
32
|
17 |
+
],
|
18 |
+
"conv_kernel": [
|
19 |
+
8,
|
20 |
+
8,
|
21 |
+
8
|
22 |
+
],
|
23 |
+
"conv_pos_kernel_size": 19,
|
24 |
+
"conv_stride": [
|
25 |
+
4,
|
26 |
+
4,
|
27 |
+
4
|
28 |
+
],
|
29 |
+
"ctc_loss_reduction": "sum",
|
30 |
+
"ctc_zero_infinity": false,
|
31 |
+
"eos_token_id": 2,
|
32 |
+
"feat_extract_activation": "gelu",
|
33 |
+
"feat_extract_dropout": 0.0,
|
34 |
+
"feat_proj_dropout": 0.0,
|
35 |
+
"final_dropout": 0.1,
|
36 |
+
"hidden_act": "gelu",
|
37 |
+
"hidden_dropout": 0.1,
|
38 |
+
"hidden_dropout_prob": 0.1,
|
39 |
+
"hidden_size": 16,
|
40 |
+
"initializer_range": 0.02,
|
41 |
+
"intermediate_size": 20,
|
42 |
+
"layer_norm_eps": 1e-05,
|
43 |
+
"layerdrop": 0.1,
|
44 |
+
"mask_feature_length": 10,
|
45 |
+
"mask_feature_min_masks": 0,
|
46 |
+
"mask_feature_prob": 0.0,
|
47 |
+
"mask_time_length": 2,
|
48 |
+
"mask_time_min_masks": 2,
|
49 |
+
"mask_time_prob": 0.5,
|
50 |
+
"model_type": "data2vec-audio",
|
51 |
+
"num_adapter_layers": 1,
|
52 |
+
"num_attention_heads": 2,
|
53 |
+
"num_conv_pos_embedding_groups": 2,
|
54 |
+
"num_conv_pos_embeddings": 16,
|
55 |
+
"num_feat_extract_layers": 3,
|
56 |
+
"num_hidden_layers": 4,
|
57 |
+
"output_hidden_size": 16,
|
58 |
+
"pad_token_id": 0,
|
59 |
+
"tdnn_dilation": [
|
60 |
+
1,
|
61 |
+
2
|
62 |
+
],
|
63 |
+
"tdnn_dim": [
|
64 |
+
32,
|
65 |
+
32
|
66 |
+
],
|
67 |
+
"tdnn_kernel": [
|
68 |
+
5,
|
69 |
+
3
|
70 |
+
],
|
71 |
+
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.28.0.dev0",
|
73 |
+
"use_weighted_layer_sum": false,
|
74 |
+
"vocab_size": 32,
|
75 |
+
"xvector_output_dim": 32
|
76 |
+
}
|
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": true,
|
9 |
+
"sampling_rate": 16000
|
10 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5fcb031496a2e0eed307bb42dc4b3f4ec3f9a92519ae39ff7f18a5b271fdffcd
|
3 |
+
size 344313
|