Skip to content

Commit 7575d06

Browse files
committed
fix(phi3-vision): add multimodal template
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 418c582 commit 7575d06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gallery/phi-3-vision.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ config_file: |
2020
completion: |
2121
{{.Input}}
2222
use_tokenizer_template: false
23+
multimodal: "{{ range .Images }}<|image_{{ add1 .ID}}|>{{end}}\n{{.Text}}"
24+
# XXX: The one below can be dropped after a new release is out
2325
image: "<|image_{{ add1 .ID }}|>\n{{.Text}}"

0 commit comments

Comments
 (0)