osanseviero
commited on
Commit
•
bec552f
1
Parent(s):
66083c4
Upload config.json
Browse files- config.json +46 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "hf_models_fb/s2t-small-librispeech-asr",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"Speech2TextForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"classifier_dropout": 0.0,
|
11 |
+
"conv_channels": 1024,
|
12 |
+
"conv_kernel_sizes": [
|
13 |
+
5,
|
14 |
+
5
|
15 |
+
],
|
16 |
+
"d_model": 256,
|
17 |
+
"decoder_attention_heads": 4,
|
18 |
+
"decoder_ffn_dim": 2048,
|
19 |
+
"decoder_layerdrop": 0.0,
|
20 |
+
"decoder_layers": 6,
|
21 |
+
"decoder_start_token_id": 2,
|
22 |
+
"dropout": 0.1,
|
23 |
+
"early_stopping": true,
|
24 |
+
"encoder_attention_heads": 4,
|
25 |
+
"encoder_ffn_dim": 2048,
|
26 |
+
"encoder_layerdrop": 0.0,
|
27 |
+
"encoder_layers": 12,
|
28 |
+
"eos_token_id": 2,
|
29 |
+
"gradient_checkpointing": false,
|
30 |
+
"init_std": 0.02,
|
31 |
+
"input_channels": 1,
|
32 |
+
"input_feat_per_channel": 80,
|
33 |
+
"is_encoder_decoder": true,
|
34 |
+
"max_length": 200,
|
35 |
+
"max_source_positions": 6000,
|
36 |
+
"max_target_positions": 1024,
|
37 |
+
"model_type": "speech_to_text",
|
38 |
+
"num_beams": 5,
|
39 |
+
"num_conv_layers": 2,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"pad_token_id": 1,
|
42 |
+
"scale_embedding": true,
|
43 |
+
"transformers_version": "4.4.0.dev0",
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 10000
|
46 |
+
}
|