fix copytree python37 bug (#464)

* fix copytree python37 bug

* add copytree_py37 function
This commit is contained in:
Jintao
2023-08-14 11:45:33 +08:00
committed by GitHub
parent b18288cd6b
commit 18d33a4825
8 changed files with 143 additions and 28 deletions

View File

@@ -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: