Samuael commited on
Commit
fea4664
·
verified ·
1 Parent(s): 8778b8f

Upload T5ForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +1 -0
  2. generation_config.json +1 -0
config.json CHANGED
@@ -15,6 +15,7 @@
15
  "is_encoder_decoder": true,
16
  "is_gated_act": false,
17
  "layer_norm_epsilon": 1e-06,
 
18
  "model_type": "t5",
19
  "num_decoder_layers": 6,
20
  "num_heads": 8,
 
15
  "is_encoder_decoder": true,
16
  "is_gated_act": false,
17
  "layer_norm_epsilon": 1e-06,
18
+ "max_length": 300,
19
  "model_type": "t5",
20
  "num_decoder_layers": 6,
21
  "num_heads": 8,
generation_config.json CHANGED
@@ -2,6 +2,7 @@
2
  "_from_model_config": true,
3
  "decoder_start_token_id": 0,
4
  "eos_token_id": 3,
 
5
  "pad_token_id": 0,
6
  "transformers_version": "4.38.2"
7
  }
 
2
  "_from_model_config": true,
3
  "decoder_start_token_id": 0,
4
  "eos_token_id": 3,
5
+ "max_length": 300,
6
  "pad_token_id": 0,
7
  "transformers_version": "4.38.2"
8
  }