mirror of
https://github.com/mudler/LocalAI.git
synced 2025-01-29 15:44:17 +00:00
chore(model gallery): add LocalAI-functioncall-phi-4-v0.1 (#4588)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
1780ccadbc
commit
e8de7b52da
@ -23,6 +23,22 @@
|
||||
- filename: phi-4-Q4_K_M.gguf
|
||||
uri: huggingface://bartowski/phi-4-GGUF/phi-4-Q4_K_M.gguf
|
||||
sha256: 009aba717c09d4a35890c7d35eb59d54e1dba884c7c526e7197d9c13ab5911d9
|
||||
- !!merge <<: *phi4
|
||||
url: "github:mudler/LocalAI/gallery/phi-4-fcall.yaml@master"
|
||||
name: "LocalAI-functioncall-phi-4-v0.1"
|
||||
icon: https://cdn-uploads.huggingface.co/production/uploads/647374aa7ff32a81ac6d35d4/Dzbdzn27KEc3K6zNNi070.png
|
||||
description: |
|
||||
A model tailored to be conversational and execute function calls with LocalAI. This model is based on phi-4.
|
||||
urls:
|
||||
- https://huggingface.co/mudler/LocalAI-functioncall-phi-4-v0.1
|
||||
- https://huggingface.co/mudler/LocalAI-functioncall-phi-4-v0.1-Q4_K_M-GGUF
|
||||
overrides:
|
||||
parameters:
|
||||
model: localai-functioncall-phi-4-v0.1-q4_k_m.gguf
|
||||
files:
|
||||
- filename: localai-functioncall-phi-4-v0.1-q4_k_m.gguf
|
||||
uri: huggingface://mudler/LocalAI-functioncall-phi-4-v0.1-Q4_K_M-GGUF/localai-functioncall-phi-4-v0.1-q4_k_m.gguf
|
||||
sha256: 0ae4e5e4ba89c16c1e810285c5c8b84416fa67f8ed7c175aa0b6fc0a103017aa
|
||||
- &falcon3
|
||||
name: "falcon3-1b-instruct"
|
||||
url: "github:mudler/LocalAI/gallery/falcon3.yaml@master"
|
||||
|
27
gallery/phi-4-chat-fcall.yaml
Normal file
27
gallery/phi-4-chat-fcall.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
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}}
|
||||
function: |
|
||||
<|im_start|>system<|im_sep|>
|
||||
You are an AI assistant that executes function calls, and these are the tools at your disposal:
|
||||
{{range .Functions}}
|
||||
{'type': 'function', 'function': {'name': '{{.Name}}', 'description': '{{.Description}}', 'parameters': {{toJson .Parameters}} }}
|
||||
{{end}}
|
||||
{{.Input}}<|im_end|>
|
||||
context_size: 4096
|
||||
f16: true
|
||||
stopwords:
|
||||
- <|end|>
|
||||
- <|endoftext|>
|
||||
- <|im_end|>
|
Loading…
x
Reference in New Issue
Block a user