riczhou commited on
Commit
0134d7e
1 Parent(s): dcf1aa3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. mlc-chat-config.json +13 -13
mlc-chat-config.json CHANGED
@@ -41,16 +41,16 @@
41
  "strip_space_in_decode": true
42
  },
43
  "conv_template": {
44
- "name": "llama-3",
45
- "system_template": "<|start_header_id|>system<|end_header_id|>\n\n{system_message}<|eot_id|>\n",
46
- "system_message": "You are a helpful, respectful and honest assistant.",
47
  "system_prefix_token_ids": [
48
- 128000
49
  ],
50
  "add_role_after_system_message": true,
51
  "roles": {
52
- "user": "<|start_header_id|>user",
53
- "assistant": "<|start_header_id|>assistant"
54
  },
55
  "role_templates": {
56
  "user": "{user_message}",
@@ -59,17 +59,17 @@
59
  },
60
  "messages": [],
61
  "seps": [
62
- "<|eot_id|>"
63
  ],
64
- "role_content_sep": "<|end_header_id|>\n\n",
65
- "role_empty_sep": "<|end_header_id|>\n\n",
66
  "stop_str": [
67
- "<|end_of_text|>",
68
- "<|eot_id|>"
69
  ],
70
  "stop_token_ids": [
71
- 128001,
72
- 128009
 
73
  ],
74
  "function_string": "",
75
  "use_function_calling": false
 
41
  "strip_space_in_decode": true
42
  },
43
  "conv_template": {
44
+ "name": "phi-3",
45
+ "system_template": "<|system|>\n{system_message}",
46
+ "system_message": "You are a helpful digital assistant. Please provide safe, ethical and accurate information to the user.",
47
  "system_prefix_token_ids": [
48
+ 1
49
  ],
50
  "add_role_after_system_message": true,
51
  "roles": {
52
+ "user": "<|user|>",
53
+ "assistant": "<|assistant|>"
54
  },
55
  "role_templates": {
56
  "user": "{user_message}",
 
59
  },
60
  "messages": [],
61
  "seps": [
62
+ "<|end|>\n"
63
  ],
64
+ "role_content_sep": "\n",
65
+ "role_empty_sep": "\n",
66
  "stop_str": [
67
+ "<|endoftext|>"
 
68
  ],
69
  "stop_token_ids": [
70
+ 32000,
71
+ 32001,
72
+ 32007
73
  ],
74
  "function_string": "",
75
  "use_function_calling": false