mirror of https://github.com/InternLM/InternLM
fix arg type
parent
206c3539dc
commit
17199b8678
|
@ -94,7 +94,7 @@ def parse_args():
|
||||||
default=None,
|
default=None,
|
||||||
help='Parameter for Top-K Sampling.')
|
help='Parameter for Top-K Sampling.')
|
||||||
parser.add_argument('--stop_words',
|
parser.add_argument('--stop_words',
|
||||||
type=list,
|
type=str,
|
||||||
default=['<|action_end|>', '<|im_end|>'],
|
default=['<|action_end|>', '<|im_end|>'],
|
||||||
action='append',
|
action='append',
|
||||||
help='Stop words')
|
help='Stop words')
|
||||||
|
|
Loading…
Reference in New Issue