Skip to content

Commit d32d0b3

Browse files
committed
glm4 template
1 parent 25e747e commit d32d0b3

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

kcpp_adapters/AutoGuess.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,17 @@
111111
"assistant_start": "",
112112
"assistant_end": "</s>"
113113
}
114+
}, {
115+
"search": ["<|system|>", "<|user|>","[gMASK]"],
116+
"name": "GLM-4",
117+
"adapter": {
118+
"system_start": "[gMASK]<sop><|system|>\n",
119+
"system_end": "",
120+
"user_start": "<|user|>\n",
121+
"user_end": "",
122+
"assistant_start": "<|assistant|>\n",
123+
"assistant_end": ""
124+
}
114125
}, {
115126
"search": ["<|system|>", "<|user|>"],
116127
"name": "Phi 3.5",

kcpp_adapters/GLM-4.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"system_start": "[gMASK]<sop><|system|>\n",
3+
"system_end": "",
4+
"user_start": "<|user|>\n",
5+
"user_end": "",
6+
"assistant_start": "<|assistant|>\n",
7+
"assistant_end": ""
8+
}

0 commit comments

Comments
 (0)