Make max_length consistent across defaults in generate function and max-length default.
Browse files- 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=
|
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(
|