mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-16 15:55:00 +00:00
chore(model gallery): add phi-4 (#4562)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
4f43a9a162
commit
fc52f179fe
2 changed files with 44 additions and 0 deletions
20
gallery/phi-4-chat.yaml
Normal file
20
gallery/phi-4-chat.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
name: "phi-4-chat"
|
||||
|
||||
config_file: |
|
||||
mmap: true
|
||||
template:
|
||||
chat_message: |
|
||||
<|im_start|>{{ .RoleName }}<|im_sep|>
|
||||
{{.Content}}<|im_end|>
|
||||
chat: |
|
||||
{{.Input}}
|
||||
<|im_start|>assistant<|im_sep|>
|
||||
completion: |
|
||||
{{.Input}}
|
||||
context_size: 4096
|
||||
f16: true
|
||||
stopwords:
|
||||
- <|end|>
|
||||
- <|endoftext|>
|
||||
- <|im_end|>
|
Loading…
Add table
Add a link
Reference in a new issue