Skip to content
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

unsloth/Llama-3.2-11B-Vision-Instruct Support for multiple images #1386

Open
Sosycs opened this issue Dec 5, 2024 · 0 comments
Open

unsloth/Llama-3.2-11B-Vision-Instruct Support for multiple images #1386

Sosycs opened this issue Dec 5, 2024 · 0 comments

Comments

@Sosycs
Copy link

Sosycs commented Dec 5, 2024

Hello,
Thank you very much for the great work.

I am trying to use the model with multiple images along with the question and I could not figure the correct formatting. This is my try:

[
{ "role": "user",
  "content": [{"type": "text",  "text": instruction}, {"type": "image", "image": image}, 
{"type": "image", "image": image},
 ]
},
{ "role": "assistant",
  "content": [{"type": "text",  "text": answer} ]
},
]

This is not exactly the format I want to provide for fine-tuning which is:
A reference image then a question on a different image.
Example: image of complete tooth with details, then a question like ( what does this part of tooth called with an image of this part).
So can you please help me with the correct messages?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant