patrickvonplaten
commited on
Commit
•
35a2d02
1
Parent(s):
da9a9b7
up
Browse files- config.json +1 -8
- preprocessor_config.json +9 -0
config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_name_or_path": "facebook/wav2vec2-base-960h",
|
3 |
"activation_dropout": 0.1,
|
4 |
-
"apply_spec_augment": true,
|
5 |
"architectures": [
|
6 |
"UniSpeechSatForPreTraining"
|
7 |
],
|
@@ -9,7 +8,6 @@
|
|
9 |
"bos_token_id": 1,
|
10 |
"classifier_proj_size": 256,
|
11 |
"codevector_dim": 256,
|
12 |
-
"contrastive_logits_temperature": 0.1,
|
13 |
"conv_bias": false,
|
14 |
"conv_dim": [
|
15 |
512,
|
@@ -38,9 +36,6 @@
|
|
38 |
2,
|
39 |
2
|
40 |
],
|
41 |
-
"ctc_loss_reduction": "sum",
|
42 |
-
"ctc_zero_infinity": false,
|
43 |
-
"diversity_loss_weight": 0.1,
|
44 |
"do_stable_layer_norm": false,
|
45 |
"eos_token_id": 2,
|
46 |
"feat_extract_activation": "gelu",
|
@@ -49,7 +44,6 @@
|
|
49 |
"feat_proj_dropout": 0.1,
|
50 |
"feat_quantizer_dropout": 0.0,
|
51 |
"final_dropout": 0.1,
|
52 |
-
"gradient_checkpointing": false,
|
53 |
"hidden_act": "gelu",
|
54 |
"hidden_dropout": 0.1,
|
55 |
"hidden_dropout_prob": 0.1,
|
@@ -74,9 +68,8 @@
|
|
74 |
"num_negatives": 100,
|
75 |
"pad_token_id": 0,
|
76 |
"proj_codevector_dim": 256,
|
77 |
-
"replace_prob": 0.5,
|
78 |
"torch_dtype": "float32",
|
79 |
"transformers_version": "4.12.0.dev0",
|
80 |
"use_weighted_layer_sum": false,
|
81 |
-
"
|
82 |
}
|
|
|
1 |
{
|
2 |
"_name_or_path": "facebook/wav2vec2-base-960h",
|
3 |
"activation_dropout": 0.1,
|
|
|
4 |
"architectures": [
|
5 |
"UniSpeechSatForPreTraining"
|
6 |
],
|
|
|
8 |
"bos_token_id": 1,
|
9 |
"classifier_proj_size": 256,
|
10 |
"codevector_dim": 256,
|
|
|
11 |
"conv_bias": false,
|
12 |
"conv_dim": [
|
13 |
512,
|
|
|
36 |
2,
|
37 |
2
|
38 |
],
|
|
|
|
|
|
|
39 |
"do_stable_layer_norm": false,
|
40 |
"eos_token_id": 2,
|
41 |
"feat_extract_activation": "gelu",
|
|
|
44 |
"feat_proj_dropout": 0.1,
|
45 |
"feat_quantizer_dropout": 0.0,
|
46 |
"final_dropout": 0.1,
|
|
|
47 |
"hidden_act": "gelu",
|
48 |
"hidden_dropout": 0.1,
|
49 |
"hidden_dropout_prob": 0.1,
|
|
|
68 |
"num_negatives": 100,
|
69 |
"pad_token_id": 0,
|
70 |
"proj_codevector_dim": 256,
|
|
|
71 |
"torch_dtype": "float32",
|
72 |
"transformers_version": "4.12.0.dev0",
|
73 |
"use_weighted_layer_sum": false,
|
74 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer"
|
75 |
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0,
|
7 |
+
"return_attention_mask": false,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|