模型评估的时候出现错误 TypeError: format_example() missing 1 required positional argument: 'use_history',如何解决? #2303
Closed
1737686924
started this conversation in
General
Replies: 2 comments
-
使用的是什么template啊,可以去 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Traceback (most recent call last):
File "/root/.local/share/big_model/LLaMA-Factory-main/src/evaluate.py", line 10, in
main()
File "/root/.local/share/big_model/LLaMA-Factory-main/src/evaluate.py", line 6, in main
evaluator.eval()
File "/root/.local/share/big_model/LLaMA-Factory-main/src/llmtuner/eval/evaluator.py", line 68, in eval
messages = self.eval_template.format_example(
TypeError: format_example() missing 1 required positional argument: 'use_history'
Beta Was this translation helpful? Give feedback.
All reactions