mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-04-28 03:30:20 +00:00
granite 4 template
This commit is contained in:
parent
c1a246c1de
commit
9919fdc83a
3 changed files with 28 additions and 0 deletions
|
|
@ -3940,6 +3940,15 @@ Current version indicated by LITEVER below.
|
|||
"system":"<|system|>\\n",
|
||||
"system_end":"",
|
||||
},
|
||||
{
|
||||
"name":"Granite 4",
|
||||
"user":"<|start_of_role|>user<|end_of_role|>",
|
||||
"user_end":"<|end_of_text|>\\n",
|
||||
"assistant":"<|start_of_role|>assistant<|end_of_role|>",
|
||||
"assistant_end":"<|end_of_text|>\\n",
|
||||
"system":"<|start_of_role|>system<|end_of_role|>",
|
||||
"system_end":"<|end_of_text|>\\n",
|
||||
},
|
||||
{
|
||||
"name":"Llama 2 Chat",
|
||||
"user":"[INST] ",
|
||||
|
|
|
|||
|
|
@ -98,6 +98,17 @@
|
|||
"assistant_start": "<|header_start|>assistant<|header_end|>\n\n",
|
||||
"assistant_end": "<|eot|>"
|
||||
}
|
||||
}, {
|
||||
"search": ["<|start_of_role|>system<|end_of_role|>"],
|
||||
"name": "Granite 4",
|
||||
"adapter": {
|
||||
"system_start": "<|start_of_role|>system<|end_of_role|>",
|
||||
"system_end": "<|end_of_text|>\n",
|
||||
"user_start": "<|start_of_role|>user<|end_of_role|>",
|
||||
"user_end": "<|end_of_text|>\n",
|
||||
"assistant_start": "<|start_of_role|>assistant<|end_of_role|>",
|
||||
"assistant_end": "<|end_of_text|>\n"
|
||||
}
|
||||
}, {
|
||||
"search": ["[/INST]", "[SYSTEM_PROMPT]"],
|
||||
"name": "Mistral Tekken",
|
||||
|
|
|
|||
8
kcpp_adapters/Granite-4.json
Normal file
8
kcpp_adapters/Granite-4.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"system_start": "<|start_of_role|>system<|end_of_role|>",
|
||||
"system_end": "<|end_of_text|>\n",
|
||||
"user_start": "<|start_of_role|>user<|end_of_role|>",
|
||||
"user_end": "<|end_of_text|>\n",
|
||||
"assistant_start": "<|start_of_role|>assistant<|end_of_role|>",
|
||||
"assistant_end": "<|end_of_text|>\n"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue