mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-11-05 18:32:14 +08:00
update evaluate
Former-commit-id: 288137a76ed1528faa39b467da22f6468ba368ee
This commit is contained in:
parent
64414c68e9
commit
7a684600a9
@ -58,7 +58,7 @@ class EvalTemplate:
|
||||
if not use_history:
|
||||
query = "\n\n".join(["".join(item) for item in history] + [query])
|
||||
history = []
|
||||
return query, resp, history
|
||||
return query.strip(), resp, history
|
||||
|
||||
|
||||
eval_templates = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user