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