mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-30 23:44:59 +00:00
models(gallery): add yi 6/9b, sqlcoder, sfr-iterative-dpo (#2335)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
86627b27f7
commit
e0ef9e2bb9
2 changed files with 72 additions and 11 deletions
|
@ -6,18 +6,17 @@ config_file: |
|
|||
template:
|
||||
chat_message: |
|
||||
<|im_start|>{{ .RoleName }}
|
||||
{{- if .FunctionCall }}
|
||||
{{ if .FunctionCall -}}
|
||||
Function call:
|
||||
{{- else if eq .RoleName "tool" }}
|
||||
{{ else if eq .RoleName "tool" -}}
|
||||
Function response:
|
||||
{{- end }}
|
||||
{{- if .Content}}
|
||||
{{ end -}}
|
||||
{{ if .Content -}}
|
||||
{{.Content }}
|
||||
{{- end }}
|
||||
{{- if .FunctionCall}}
|
||||
{{ end -}}
|
||||
{{ if .FunctionCall -}}
|
||||
{{toJson .FunctionCall}}
|
||||
{{- end }}
|
||||
<|im_end|>
|
||||
{{ end -}}<|im_end|>
|
||||
function: |
|
||||
<|im_start|>system
|
||||
You are a function calling AI model. You are provided with functions to execute. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions. Here are the available tools:
|
||||
|
@ -28,7 +27,6 @@ config_file: |
|
|||
<|im_end|>
|
||||
{{.Input -}}
|
||||
<|im_start|>assistant
|
||||
<tool_call>
|
||||
chat: |
|
||||
{{.Input -}}
|
||||
<|im_start|>assistant
|
||||
|
@ -37,5 +35,5 @@ config_file: |
|
|||
context_size: 4096
|
||||
f16: true
|
||||
stopwords:
|
||||
- <|im_end|>
|
||||
- <dummy32000>
|
||||
- '<|im_end|>'
|
||||
- '<dummy32000>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue