granite 4 template

This commit is contained in:
Concedo
2025-10-08 00:09:46 +08:00
parent c1a246c1de
commit 9919fdc83a
3 changed files with 28 additions and 0 deletions
+11
View File
@@ -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
View 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"
}