Text Generation
Transformers
Safetensors
openelm
custom_code
jrmiller commited on
Commit
1a08432
1 Parent(s): 24982bb

Make max_length consistent across defaults in generate function and max-length default.

Browse files
Files changed (1) hide show
  1. generate_openelm.py +1 -1
generate_openelm.py CHANGED
@@ -188,7 +188,7 @@ def openelm_generate_parser():
188
  '--max_length',
189
  dest='max_length',
190
  help='Maximum length of tokens.',
191
- default=256,
192
  type=int,
193
  )
194
  parser.add_argument(
 
188
  '--max_length',
189
  dest='max_length',
190
  help='Maximum length of tokens.',
191
+ default=1024,
192
  type=int,
193
  )
194
  parser.add_argument(