ruihanglai
commited on
Commit
•
e83c4a2
1
Parent(s):
1ac12d2
Update mlc-chat-config.json
Browse files- mlc-chat-config.json +34 -1
mlc-chat-config.json
CHANGED
@@ -30,7 +30,40 @@
|
|
30 |
"frequency_penalty": 0.0,
|
31 |
"repetition_penalty": 1.0,
|
32 |
"top_p": 0.9,
|
33 |
-
"conv_template":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
"pad_token_id": 0,
|
35 |
"bos_token_id": 1,
|
36 |
"eos_token_id": 2,
|
|
|
30 |
"frequency_penalty": 0.0,
|
31 |
"repetition_penalty": 1.0,
|
32 |
"top_p": 0.9,
|
33 |
+
"conv_template": {
|
34 |
+
"name": "gorilla",
|
35 |
+
"system_template": "{system_message}",
|
36 |
+
"system_message": "A chat between a curious user and an artificial intelligence assistant. The assistant provides helpful, detailed, and polite responses to the user's inquiries.",
|
37 |
+
"system_prefix_token_ids": [
|
38 |
+
1
|
39 |
+
],
|
40 |
+
"add_role_after_system_message": true,
|
41 |
+
"roles": {
|
42 |
+
"user": "USER",
|
43 |
+
"assistant": "ASSISTANT",
|
44 |
+
"tool": "USER"
|
45 |
+
},
|
46 |
+
"role_templates": {
|
47 |
+
"user": "<<question>> {user_message} <<function>> {function_string}",
|
48 |
+
"assistant": "{assistant_message}",
|
49 |
+
"tool": "{tool_message}"
|
50 |
+
},
|
51 |
+
"messages": [],
|
52 |
+
"seps": [
|
53 |
+
"\n",
|
54 |
+
"</s>"
|
55 |
+
],
|
56 |
+
"role_content_sep": ": ",
|
57 |
+
"role_empty_sep": ":",
|
58 |
+
"stop_str": [
|
59 |
+
"</s>"
|
60 |
+
],
|
61 |
+
"stop_token_ids": [
|
62 |
+
2
|
63 |
+
],
|
64 |
+
"function_string": "",
|
65 |
+
"use_function_calling": false
|
66 |
+
},
|
67 |
"pad_token_id": 0,
|
68 |
"bos_token_id": 1,
|
69 |
"eos_token_id": 2,
|