Skip to content

Commit c78d902

Browse files
committed
Fix ChatML template in multimodal example
1 parent 9934f06 commit c78d902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/multimodal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def get_image(file = None, url = None):
127127
"<|im_start|>user\n" +
128128
placeholders +
129129
instruction +
130-
"\n" +
130+
"<|im_end|>\n" +
131131
"<|im_start|>assistant\n"
132132
)
133133

0 commit comments

Comments
 (0)