Upload MT5ForConditionalGeneration
Browse files- config.json +3 -2
- generation_config.json +1 -0
config.json
CHANGED
@@ -7,14 +7,15 @@
|
|
7 |
"d_kv": 64,
|
8 |
"d_model": 512,
|
9 |
"decoder_start_token_id": 0,
|
10 |
-
"dense_act_fn": "
|
11 |
"dropout_rate": 0.1,
|
12 |
"eos_token_id": 1,
|
13 |
-
"feed_forward_proj": "gated-
|
14 |
"initializer_factor": 1.0,
|
15 |
"is_encoder_decoder": true,
|
16 |
"is_gated_act": true,
|
17 |
"layer_norm_epsilon": 1e-06,
|
|
|
18 |
"model_type": "mt5",
|
19 |
"num_decoder_layers": 8,
|
20 |
"num_heads": 6,
|
|
|
7 |
"d_kv": 64,
|
8 |
"d_model": 512,
|
9 |
"decoder_start_token_id": 0,
|
10 |
+
"dense_act_fn": "gelu_new",
|
11 |
"dropout_rate": 0.1,
|
12 |
"eos_token_id": 1,
|
13 |
+
"feed_forward_proj": "gated-gelu",
|
14 |
"initializer_factor": 1.0,
|
15 |
"is_encoder_decoder": true,
|
16 |
"is_gated_act": true,
|
17 |
"layer_norm_epsilon": 1e-06,
|
18 |
+
"max_new_tokens": 64,
|
19 |
"model_type": "mt5",
|
20 |
"num_decoder_layers": 8,
|
21 |
"num_heads": 6,
|
generation_config.json
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"decoder_start_token_id": 0,
|
4 |
"eos_token_id": 1,
|
|
|
5 |
"pad_token_id": 0,
|
6 |
"transformers_version": "4.31.0.dev0"
|
7 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"decoder_start_token_id": 0,
|
4 |
"eos_token_id": 1,
|
5 |
+
"max_new_tokens": 64,
|
6 |
"pad_token_id": 0,
|
7 |
"transformers_version": "4.31.0.dev0"
|
8 |
}
|