Text2Text Generation
Transformers
Safetensors
English
t5
text-generation-inference
Inference Endpoints
thangved commited on
Commit
faa1dc9
1 Parent(s): e552e75

Upload T5ForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +2 -2
  2. generation_config.json +7 -0
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "_name_or_path": "./model",
3
  "architectures": [
4
- "T5Model"
5
  ],
6
  "classifier_dropout": 0.0,
7
  "d_ff": 2048,
 
1
  {
2
+ "_name_or_path": "model",
3
  "architectures": [
4
+ "T5ForConditionalGeneration"
5
  ],
6
  "classifier_dropout": 0.0,
7
  "d_ff": 2048,
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
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.35.0"
7
+ }