mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
fix(phi3-vision): add multimodal template (#3944)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
8737a65760
commit
c75ecfa009
@ -20,4 +20,6 @@ config_file: |
|
|||||||
completion: |
|
completion: |
|
||||||
{{.Input}}
|
{{.Input}}
|
||||||
use_tokenizer_template: false
|
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}}"
|
image: "<|image_{{ add1 .ID }}|>\n{{.Text}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user