Commit
•
e318c1f
1
Parent(s):
be16c82
init
Browse files- mlc-chat-config.json +13 -6
mlc-chat-config.json
CHANGED
@@ -48,20 +48,20 @@
|
|
48 |
},
|
49 |
"conv_template": {
|
50 |
"name": "gemma_instruction",
|
51 |
-
"system_template": "{system_message}",
|
52 |
"system_message": "",
|
53 |
"system_prefix_token_ids": [
|
54 |
2
|
55 |
],
|
56 |
"add_role_after_system_message": true,
|
57 |
"roles": {
|
58 |
-
"user": "
|
59 |
-
"assistant": "
|
60 |
},
|
61 |
"role_templates": {
|
62 |
-
"user": "{user_message}",
|
63 |
-
"assistant": "{assistant_message}",
|
64 |
-
"tool": "{tool_message}"
|
65 |
},
|
66 |
"messages": [],
|
67 |
"seps": [
|
@@ -70,6 +70,13 @@
|
|
70 |
"role_content_sep": "\n",
|
71 |
"role_empty_sep": "\n",
|
72 |
"stop_str": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
"<end_of_turn>"
|
74 |
],
|
75 |
"stop_token_ids": [
|
|
|
48 |
},
|
49 |
"conv_template": {
|
50 |
"name": "gemma_instruction",
|
51 |
+
"system_template": "<|im_start|>system\n{system_message}<|im_end|>\n",
|
52 |
"system_message": "",
|
53 |
"system_prefix_token_ids": [
|
54 |
2
|
55 |
],
|
56 |
"add_role_after_system_message": true,
|
57 |
"roles": {
|
58 |
+
"user": "<|im_start|>user",
|
59 |
+
"assistant": "<|im_start|>assistant"
|
60 |
},
|
61 |
"role_templates": {
|
62 |
+
"user": "{user_message}<|im_end|>",
|
63 |
+
"assistant": "{assistant_message}<|im_end|>",
|
64 |
+
"tool": "{tool_message}<|im_end|>"
|
65 |
},
|
66 |
"messages": [],
|
67 |
"seps": [
|
|
|
70 |
"role_content_sep": "\n",
|
71 |
"role_empty_sep": "\n",
|
72 |
"stop_str": [
|
73 |
+
"<end_of_turn>",
|
74 |
+
"<|im_end|>",
|
75 |
+
"<|im_start|>",
|
76 |
+
"<|start_header_id|>",
|
77 |
+
"<|end_header_id|>",
|
78 |
+
"<|eot_id|>",
|
79 |
+
"<start_of_turn>",
|
80 |
"<end_of_turn>"
|
81 |
],
|
82 |
"stop_token_ids": [
|