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