ruihanglai commited on
Commit
f57eff4
·
verified ·
1 Parent(s): 140d90b

Update mlc-chat-config.json

Browse files
Files changed (1) hide show
  1. 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.95,
33
- "conv_template": "gorilla",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  "pad_token_id": 0,
35
  "bos_token_id": 100000,
36
  "eos_token_id": 100015,
 
30
  "frequency_penalty": 0.0,
31
  "repetition_penalty": 1.0,
32
  "top_p": 0.95,
33
+ "conv_template": {
34
+ "name": "gorilla-openfunctions-v2",
35
+ "system_template": "{system_message}",
36
+ "system_message": "You are an AI programming assistant, utilizing the Gorilla LLM model, developed by Gorilla LLM, and you only answer questions related to computer science. For politically sensitive questions, security and privacy issues, and other non-computer science questions, you will refuse to answer.",
37
+ "system_prefix_token_ids": [
38
+ 100000
39
+ ],
40
+ "add_role_after_system_message": true,
41
+ "roles": {
42
+ "user": "### Instruction",
43
+ "assistant": "### Response",
44
+ "tool": "### Instruction"
45
+ },
46
+ "role_templates": {
47
+ "user": "<<function>>{function_string}\n<<question>>{user_message}",
48
+ "assistant": "{assistant_message}",
49
+ "tool": "{tool_message}"
50
+ },
51
+ "messages": [],
52
+ "seps": [
53
+ "\n",
54
+ "<|EOT|>"
55
+ ],
56
+ "role_content_sep": ": ",
57
+ "role_empty_sep": ": ",
58
+ "stop_str": [
59
+ "<|EOT|>"
60
+ ],
61
+ "stop_token_ids": [
62
+ 100015
63
+ ],
64
+ "function_string": "",
65
+ "use_function_calling": false
66
+ },
67
  "pad_token_id": 0,
68
  "bos_token_id": 100000,
69
  "eos_token_id": 100015,