Skip to content

Commit

Permalink
fix missing image token in mllama example
Browse files Browse the repository at this point in the history
Signed-off-by: Isotr0py <2037008807@qq.com>
  • Loading branch information
Isotr0py committed Feb 28, 2025
1 parent f309eee commit 8433813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/offline_inference/encoder_decoder_multimodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run_mllama():
},
{ # Explicit prompt
"encoder_prompt": {
"prompt": "",
"prompt": "<|image|>",
"multi_modal_data": {
"image": ImageAsset("stop_sign").pil_image,
},
Expand Down

0 comments on commit 8433813

Please sign in to comment.