Skip to content

Commit

Permalink
fix(phi3-vision): add multimodal template
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed Oct 23, 2024
1 parent 418c582 commit 7575d06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gallery/phi-3-vision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ config_file: |
completion: |
{{.Input}}
use_tokenizer_template: false
multimodal: "{{ range .Images }}<|image_{{ add1 .ID}}|>{{end}}\n{{.Text}}"
# XXX: The one below can be dropped after a new release is out
image: "<|image_{{ add1 .ID }}|>\n{{.Text}}"

0 comments on commit 7575d06

Please sign in to comment.