Skip to content

Commit

Permalink
fix(phi3-vision): add multimodal template (#3944)
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
  • Loading branch information
mudler authored Oct 23, 2024
1 parent 8737a65 commit c75ecfa
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 c75ecfa

Please sign in to comment.