Skip to content

Commit 7deddb6

Browse files
committed
models(gallery): add llama3-32k
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 982dc6a commit 7deddb6

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

gallery/chatml.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: "chatml"
3+
4+
config_file: |
5+
mmap: true
6+
template:
7+
chat_message: |
8+
<|im_start|>{{ .RoleName }}
9+
{{- if .FunctionCall }}
10+
Function call:
11+
{{- else if eq .RoleName "tool" }}
12+
Function response:
13+
{{- end }}
14+
{{- if .Content}}
15+
{{.Content }}
16+
{{- end }}
17+
{{- if .FunctionCall}}
18+
{{toJson .FunctionCall}}
19+
{{- end }}
20+
<|im_end|>
21+
function: |
22+
<|im_start|>system
23+
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:
24+
{{range .Functions}}
25+
{'type': 'function', 'function': {'name': '{{.Name}}', 'description': '{{.Description}}', 'parameters': {{toJson .Parameters}} }}
26+
{{end}}
27+
For each function call return a json object with function name and arguments
28+
<|im_end|>
29+
{{.Input -}}
30+
<|im_start|>assistant
31+
<tool_call>
32+
chat: |
33+
{{.Input -}}
34+
<|im_start|>assistant
35+
completion: |
36+
{{.Input}}
37+
context_size: 4096
38+
f16: true
39+
stopwords:
40+
- <|im_end|>
41+
- <dummy32000>

gallery/index.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,25 @@
412412
- filename: dolphin-2.9-llama3-8b-q6_K.gguf
413413
sha256: 8aac72a0bd72c075ba7be1aa29945e47b07d39cd16be9a80933935f51b57fb32
414414
uri: huggingface://cognitivecomputations/dolphin-2.9-llama3-8b-gguf/dolphin-2.9-llama3-8b-q6_K.gguf
415+
- url: "github:mudler/LocalAI/gallery/chatml.yaml@master"
416+
name: "llama-3-8b-instruct-dpo-v0.3-32k"
417+
license: llama3
418+
urls:
419+
- https://huggingface.co/MaziyarPanahi/Llama-3-8B-Instruct-DPO-v0.3-32k-GGUF
420+
tags:
421+
- llm
422+
- gguf
423+
- gpu
424+
- cpu
425+
- llama3
426+
overrides:
427+
context_size: 32768
428+
parameters:
429+
model: Llama-3-8B-Instruct-DPO-v0.3.Q4_K_M.gguf
430+
files:
431+
- filename: Llama-3-8B-Instruct-DPO-v0.3.Q4_K_M.gguf
432+
sha256: 694c55b5215d03e59626cd4292076eaf31610ef27ba04737166766baa75d889f
433+
uri: huggingface://MaziyarPanahi/Llama-3-8B-Instruct-DPO-v0.3-32k-GGUF/Llama-3-8B-Instruct-DPO-v0.3.Q4_K_M.gguf
415434
## LLama2 and derivatives
416435
### Start Fimbulvetr
417436
- &vicuna-chat

0 commit comments

Comments
 (0)