You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"type": "text", "text": "Describe the image in few words."}
165
+
],
166
+
}
167
+
])
168
+
169
+
# Call the model to generate a response
170
+
response = model(prompt, max_new_tokens=50)
171
+
print(response) # 'A Siamese cat with blue eyes is sitting on a cat tree, looking alert and curious.'
172
+
```
173
+
174
+
123
175
!!! Warning
124
176
125
177
Make sure your prompt contains the tags expected by your processor to correctly inject the assets in the prompt. For some vision multimodal models for instance, you need to add as many `<image>` tags in your prompt as there are image assets included in your model input.
0 commit comments