-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception has occurred: ValueError 130001 is not in list #25
Comments
same error |
1 similar comment
same error |
Same exception |
同上,这个是什么原因? |
修改 modeling_chatglm.py 中的所有13000 为 15000.推荐使用批量替换. 或者通过 git log 查看到 commit 61471075ed222e6cb3cc9d4bf87c9a2809e117d1这个节点,回退回去即可。 |
|
130000和130001 不就是包含 13000? |
通过 git log 查看到 commit 61471075ed222e6cb3cc9d4bf87c9a2809e117d1这个节点,回退回去吧,可能还有其他需要修改的 |
@modeling_chatglm.py line: 979
Exception has occurred: ValueError
130001 is not in list
File "E:\OpenSourceModel\Med-ChatGLM-main\Med-ChatGLM-main\modeling_chatglm.py", line 979, in prepare_inputs_for_generation
mask_position = seq.index(mask_token)
File "E:\OpenSourceModel\Med-ChatGLM-main\Med-ChatGLM-main\modeling_chatglm.py", line 1114, in chat
outputs = self.generate(**input_ids, **gen_kwargs)
File "E:\OpenSourceModel\Med-ChatGLM-main\Med-ChatGLM-main\infer.py", line 12, in
response, history = model.chat(tokenizer, "问题:" + a.strip() + '\n答案:', max_length=256, history=[])
ValueError: 130001 is not in list
The text was updated successfully, but these errors were encountered: