Text Generation
Transformers
PyTorch
Safetensors
gpt2
conversational
text-generation-inference
Inference Endpoints
Ekgren saattrupdan commited on
Commit
aaddf7e
1 Parent(s): cfb10ca

Add `max_length` to model config (#2)

Browse files

- Add `max_length` to model config (010d4ca97627599d0ff85e5a427539578b7ba858)


Co-authored-by: Dan Saattrup Nielsen <[email protected]>

Files changed (1) hide show
  1. config.json +2 -1
config.json CHANGED
@@ -32,5 +32,6 @@
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.22.1",
34
  "use_cache": true,
35
- "vocab_size": 64000
 
36
  }
 
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.22.1",
34
  "use_cache": true,
35
+ "vocab_size": 64000,
36
+ "max_length": 2048
37
  }