riczhou commited on
Commit
9b6d7b9
1 Parent(s): 5cc249e

Update mlc-chat-config.json

Browse files
Files changed (1) hide show
  1. mlc-chat-config.json +29 -1
mlc-chat-config.json CHANGED
@@ -29,7 +29,35 @@
29
  "temperature": 0.7,
30
  "repetition_penalty": 1.0,
31
  "top_p": 0.95,
32
- "conv_template": "chatml",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  "pad_token_id": 0,
34
  "bos_token_id": 1,
35
  "eos_token_id": 2,
 
29
  "temperature": 0.7,
30
  "repetition_penalty": 1.0,
31
  "top_p": 0.95,
32
+ "conv_template": {
33
+ "name": "chatml",
34
+ "system_template": "<|im_start|>system\n{system_message}",
35
+ "system_message": "A conversation between a user and an LLM-based AI assistant. The assistant gives helpful and honest answers.",
36
+ "add_role_after_system_message": true,
37
+ "roles": {
38
+ "user": "<|im_start|>user",
39
+ "assistant": "<|im_start|>assistant"
40
+ },
41
+ "role_templates": {
42
+ "user": "{user_message}",
43
+ "assistant": "{assistant_message}",
44
+ "tool": "{tool_message}"
45
+ },
46
+ "messages": [],
47
+ "seps": [
48
+ "<|im_end|>\n"
49
+ ],
50
+ "role_content_sep": "\n",
51
+ "role_empty_sep": "\n",
52
+ "stop_str": [
53
+ "<|im_end|>"
54
+ ],
55
+ "stop_token_ids": [
56
+ 2
57
+ ],
58
+ "function_string": "",
59
+ "use_function_calling": false
60
+ },
61
  "pad_token_id": 0,
62
  "bos_token_id": 1,
63
  "eos_token_id": 2,