mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-19 18:15:00 +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
1 changed files with 2 additions and 0 deletions
|
@ -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}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue