-
Notifications
You must be signed in to change notification settings - Fork 39
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
<image> cannot be at the end. #43
Comments
I don't think it matters where th |
I think I figured out what's going on here. When It could be fixed by replacing both " |
Oh I haven't thought about putting the image at the end. Most of the case image was added at the first or at the middle. |
Yeah, it depends on whether your prompt or your image contains more information. I am doing OCR so I put the image at the end. |
It seems in transformer's qwen2.5vl, it also put image token at the end.
|
Actually the location of the image token is decided by the user.
If you are doing something like this, then the image token would be before the text. |
indeed! I didn't realize that. Thanks for carefully looking into my question.
|
I've updated the code to handle the |
The text was updated successfully, but these errors were encountered: