-
I've read the issues related to multimodality but it is not clear how to use multimodal models with Outlines. If it's true that this type of models are supported by Outlines, could you add an example notebook or at least explain which methods and parameters we should use? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Could you please take a look at https://github.com/outlines-dev/outlines/blob/main/docs/reference/models/transformers_vision.md Let me know if you have any other questions |
Beta Was this translation helpful? Give feedback.
-
model = outlines.models.transformers_vision(
'OpenGVLab/InternVL2-4B',
device='cuda'
)
---
You are using a model of type internvl_chat to instantiate a model of type llava_next.
This is not supported for all configurations of models and can yield errors. Can you give an example for https://huggingface.co/OpenGVLab/InternVL2-4B |
Beta Was this translation helpful? Give feedback.
Could you please take a look at https://github.com/outlines-dev/outlines/blob/main/docs/reference/models/transformers_vision.md
Let me know if you have any other questions