是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
[X] 我已经搜索过FAQ | I have searched FAQ
当前行为 | Current Behavior
I read the FAQ and all the GitHub issues to fine-tune lora.
The training completed normally and the model was saved well in the output_qwen folder, as shown in the image below.
While loading the model using the code you provided, I encountered the following issue: AttributeError: 'QWenTokenizer' object has no attribute 'IMAGE_ST'. I have no idea why this is happening, so I'm reaching out to you.
from peft import AutoPeftModelForCausalLM
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen-VL-Chat", trust_remote_code=True)
model = AutoPeftModelForCausalLM.from_pretrained(
"./output_qwen",
device_map="auto",
trust_remote_code=True,
revision="master",
).eval()
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
I read the FAQ and all the GitHub issues to fine-tune lora. The training completed normally and the model was saved well in the output_qwen folder, as shown in the image below.
While loading the model using the code you provided, I encountered the following issue:
AttributeError: 'QWenTokenizer' object has no attribute 'IMAGE_ST'.
I have no idea why this is happening, so I'm reaching out to you.Please mercy on me 🙏🙏🙏
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
备注 | Anything else?
No response