mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-24 03:59:23 +01:00
fix copytree python37 bug (#464)
* fix copytree python37 bug * add copytree_py37 function
This commit is contained in:
@@ -103,7 +103,8 @@ def llm_infer(args: InferArguments) -> None:
|
||||
top_k=args.top_k,
|
||||
top_p=args.top_p,
|
||||
do_sample=True,
|
||||
pad_token_id=tokenizer.eos_token_id)
|
||||
pad_token_id=tokenizer.pad_token_id,
|
||||
eos_token_id=tokenizer.eos_token_id)
|
||||
logger.info(f'generation_config: {generation_config}')
|
||||
|
||||
if args.eval_human:
|
||||
|
||||
Reference in New Issue
Block a user