fix(phi3-vision): add multimodal template (#3944)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-10-23 15:34:45 +02:00 committed by GitHub
parent 8737a65760
commit c75ecfa009
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}}"