Open qy1026 opened 10 months ago
How about using official Yi?
Strangely, this problem could be fixed by adding --max-out-len
and --max-seq-len
in the eval script. After setting up this two parameters, the UnboundLocalError can be solved and the outputs are properly generated.
BUT Why?
先决条件
问题类型
我正在使用官方支持的任务/模型/数据集进行评估。
环境
重现问题 - 代码/配置示例
skip
重现问题 - 命令或脚本
重现问题 - 错误信息
In /home/xxx/llm_projects/opencompass-main/yi-34b-merged3/cmmlu_ppl/20240112_183510/infer, there are two .out files: in which, the error is
In the eval file, the error is
and the outputs are all NONE,
其他信息
The model is my own finetuned Yi-34B