Closed wudajun7509 closed 1 year ago
File "C:\python code\Med-ChatGLM-main\modeling_chatglm.py", line 979, in prepare_inputs_for_generation mask_position = seq.index(mask_token) ValueError: 130001 is not in list
linux也有这个问题
咋解决的?
还没解决呢...
MASK, gMASK = 150000, 150001就好了
可能大家使用的相关依赖版本不同,当前仓库中的代码的是MASK, gMASK = 130000, 130001,如报错建议大家回退至第一版模型参数
File "C:\python code\Med-ChatGLM-main\modeling_chatglm.py", line 979, in prepare_inputs_for_generation mask_position = seq.index(mask_token) ValueError: 130001 is not in list