Skip to content

Commit 0404d98

Browse files
authored
chore(model gallery): add ibm-granite_granite-3.2-8b-instruct (#4927)
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 0a8ec1e commit 0404d98

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

gallery/granite3-2.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: "granite-3.2"
3+
4+
config_file: |
5+
mmap: true
6+
template:
7+
chat_message: |
8+
<|start_of_role|>{{ .RoleName }}<|end_of_role|>
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+
<|end_of_text|>
21+
function: |
22+
<|start_of_role|>system<|end_of_role|>
23+
You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.
24+
25+
Write the response to the user's input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data.
26+
{{range .Functions}}
27+
{'type': 'function', 'function': {'name': '{{.Name}}', 'description': '{{.Description}}', 'parameters': {{toJson .Parameters}} }}
28+
{{end}}
29+
For each function call return a json object with function name and arguments
30+
{{.Input -}}
31+
<|start_of_role|>assistant<|end_of_role|>
32+
chat: |
33+
{{.Input -}}
34+
<|start_of_role|>assistant<|end_of_role|>
35+
completion: |
36+
{{.Input}}
37+
context_size: 8192
38+
f16: true
39+
stopwords:
40+
- '<|im_end|>'
41+
- '<dummy32000>'
42+
- '</s>'
43+
- '<|end_of_text|>'

gallery/index.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,21 @@
10791079
- filename: MoE-Girl-800MA-3BT.Q4_K_M.gguf
10801080
sha256: 4c3cb57c27aadabd05573a1a01d6c7aee0f21620db919c7704f758d172e0bfa3
10811081
uri: huggingface://mradermacher/MoE-Girl-800MA-3BT-GGUF/MoE-Girl-800MA-3BT.Q4_K_M.gguf
1082+
- !!merge <<: *granite3
1083+
url: "github:mudler/LocalAI/gallery/granite3-2.yaml@master"
1084+
name: "ibm-granite_granite-3.2-8b-instruct"
1085+
urls:
1086+
- https://huggingface.co/ibm-granite/granite-3.2-8b-instruct
1087+
- https://huggingface.co/bartowski/ibm-granite_granite-3.2-8b-instruct-GGUF
1088+
description: |
1089+
Granite-3.2-8B-Instruct is an 8-billion-parameter, long-context AI model fine-tuned for thinking capabilities. Built on top of Granite-3.1-8B-Instruct, it has been trained using a mix of permissively licensed open-source datasets and internally generated synthetic data designed for reasoning tasks. The model allows controllability of its thinking capability, ensuring it is applied only when required.
1090+
overrides:
1091+
parameters:
1092+
model: ibm-granite_granite-3.2-8b-instruct-Q4_K_M.gguf
1093+
files:
1094+
- filename: ibm-granite_granite-3.2-8b-instruct-Q4_K_M.gguf
1095+
sha256: bd041eb5bc5e75e4f9a863372000046fd6490374f4dec07f399ca152b1df09c2
1096+
uri: huggingface://bartowski/ibm-granite_granite-3.2-8b-instruct-GGUF/ibm-granite_granite-3.2-8b-instruct-Q4_K_M.gguf
10821097
- name: "moe-girl-1ba-7bt-i1"
10831098
icon: https://cdn-uploads.huggingface.co/production/uploads/634262af8d8089ebaefd410e/kTXXSSSqpb21rfyOX7FUa.jpeg
10841099
# chatml

0 commit comments

Comments
 (0)