Spaces:
Running
Running
feat: add mini_glu config
Browse files
tools/train/config/mini_glu/config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"attention_dropout": 0.0,
|
5 |
+
"bos_token_id": 16385,
|
6 |
+
"d_model": 1024,
|
7 |
+
"decoder_attention_heads": 16,
|
8 |
+
"decoder_ffn_dim": 2730,
|
9 |
+
"decoder_layers": 12,
|
10 |
+
"decoder_start_token_id": 16384,
|
11 |
+
"dropout": 0.0,
|
12 |
+
"encoder_attention_heads": 16,
|
13 |
+
"encoder_ffn_dim": 2730,
|
14 |
+
"encoder_layers": 12,
|
15 |
+
"encoder_vocab_size": 50264,
|
16 |
+
"eos_token_id": 16385,
|
17 |
+
"gradient_checkpointing": false,
|
18 |
+
"image_length": 256,
|
19 |
+
"image_vocab_size": 16384,
|
20 |
+
"init_std": 0.02,
|
21 |
+
"is_encoder_decoder": true,
|
22 |
+
"max_text_length": 64,
|
23 |
+
"model_type": "dallebart",
|
24 |
+
"normalize_text": true,
|
25 |
+
"pad_token_id": 16385,
|
26 |
+
"scale_embedding": false,
|
27 |
+
"tie_word_embeddings": false,
|
28 |
+
"use_cache": true
|
29 |
+
}
|