glm4 template

This commit is contained in:
Concedo 2025-04-25 00:41:15 +08:00
parent 25e747e9d8
commit d32d0b382a
2 changed files with 19 additions and 0 deletions

View file

@ -111,6 +111,17 @@
"assistant_start": "",
"assistant_end": "</s>"
}
}, {
"search": ["<|system|>", "<|user|>","[gMASK]"],
"name": "GLM-4",
"adapter": {
"system_start": "[gMASK]<sop><|system|>\n",
"system_end": "",
"user_start": "<|user|>\n",
"user_end": "",
"assistant_start": "<|assistant|>\n",
"assistant_end": ""
}
}, {
"search": ["<|system|>", "<|user|>"],
"name": "Phi 3.5",

8
kcpp_adapters/GLM-4.json Normal file
View file

@ -0,0 +1,8 @@
{
"system_start": "[gMASK]<sop><|system|>\n",
"system_end": "",
"user_start": "<|user|>\n",
"user_end": "",
"assistant_start": "<|assistant|>\n",
"assistant_end": ""
}