Spaces:
Build error
Build error
Create config.json
Browse files- config.json +29 -0
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "speech_to_text_2",
|
| 3 |
+
"architectures": ["Speech2Text2ForConditionalGeneration"],
|
| 4 |
+
"activation_dropout": 0.1,
|
| 5 |
+
"activation_function": "relu",
|
| 6 |
+
"attention_dropout": 0.1,
|
| 7 |
+
"d_model": 512,
|
| 8 |
+
"decoder_attention_heads": 8,
|
| 9 |
+
"decoder_ffn_dim": 2048,
|
| 10 |
+
"decoder_layers": 6,
|
| 11 |
+
"dropout": 0.1,
|
| 12 |
+
"encoder_attention_heads": 8,
|
| 13 |
+
"encoder_ffn_dim": 2048,
|
| 14 |
+
"encoder_layers": 6,
|
| 15 |
+
"init_std": 0.02,
|
| 16 |
+
"max_speech_positions": 4000,
|
| 17 |
+
"max_text_positions": 1024,
|
| 18 |
+
"num_conv_layers": 2,
|
| 19 |
+
"num_hidden_layers": 12,
|
| 20 |
+
"speech_vocab_size": 4096,
|
| 21 |
+
"vocab_size": 50265,
|
| 22 |
+
"use_cache": true,
|
| 23 |
+
"tie_word_embeddings": true,
|
| 24 |
+
"is_encoder_decoder": true,
|
| 25 |
+
"pad_token_id": 1,
|
| 26 |
+
"bos_token_id": 0,
|
| 27 |
+
"eos_token_id": 2,
|
| 28 |
+
"transformers_version": "4.31.0"
|
| 29 |
+
}
|