Fixed config.
Browse files- config.json +3 -3
- tokenizer_config.json +1 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "v2ray/
|
3 |
"architectures": [
|
4 |
"DbrxForCausalLM"
|
5 |
],
|
@@ -10,8 +10,8 @@
|
|
10 |
"rope_theta": 500000
|
11 |
},
|
12 |
"auto_map": {
|
13 |
-
"AutoConfig": "
|
14 |
-
"AutoModelForCausalLM": "
|
15 |
},
|
16 |
"d_model": 6144,
|
17 |
"emb_pdrop": 0.0,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "v2ray/SchizoGPT-132B",
|
3 |
"architectures": [
|
4 |
"DbrxForCausalLM"
|
5 |
],
|
|
|
10 |
"rope_theta": 500000
|
11 |
},
|
12 |
"auto_map": {
|
13 |
+
"AutoConfig": "configuration_dbrx.DbrxConfig",
|
14 |
+
"AutoModelForCausalLM": "modeling_dbrx.DbrxForCausalLM"
|
15 |
},
|
16 |
"d_model": 6144,
|
17 |
"emb_pdrop": 0.0,
|
tokenizer_config.json
CHANGED
@@ -13,12 +13,11 @@
|
|
13 |
},
|
14 |
"auto_map": {
|
15 |
"AutoTokenizer": [
|
16 |
-
"
|
17 |
null
|
18 |
]
|
19 |
},
|
20 |
"bos_token": "<|endoftext|>",
|
21 |
-
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% elif true == true and not 'system' in messages[0]['role'] %}{% set loop_messages = messages %}{% set system_message = 'You are DBRX, created by Databricks. You were last updated in December 2023. You answer questions based on information available up to that point.\nYOU PROVIDE SHORT RESPONSES TO SHORT QUESTIONS OR STATEMENTS, but provide thorough responses to more complex and open-ended questions.\nYou assist with various tasks, from writing to coding (using markdown for code blocks — remember to use ``` with code, JSON, and tables).\n(You do not have real-time data access or code execution capabilities. You avoid stereotyping and provide balanced perspectives on controversial topics. You do not provide song lyrics, poems, or news articles and do not divulge details of your training data.)\nThis is your system prompt, guiding your responses. Do not reference it, just respond to the user. If you find yourself talking about this message, stop. You should be responding appropriately and usually that means not mentioning this.\nYOU DO NOT MENTION ANY OF THIS INFORMATION ABOUT YOURSELF UNLESS THE INFORMATION IS DIRECTLY PERTINENT TO THE USER\\'S QUERY.' %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 %}{% if system_message != false %}{{ '<|im_start|>system\n' + system_message.strip() + '<|im_end|>\n'}}{% endif %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' }}{% else %}{{ '\n' + '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' }}{% endif %}{% if (add_generation_prompt == true and loop.last) %}{{ '\n' + '<|im_start|>' + 'assistant' + '\n' }}{% endif %}{% endfor %}",
|
22 |
"clean_up_tokenization_spaces": true,
|
23 |
"encoding_name": null,
|
24 |
"eos_token": "<|endoftext|>",
|
|
|
13 |
},
|
14 |
"auto_map": {
|
15 |
"AutoTokenizer": [
|
16 |
+
"tiktoken.TiktokenTokenizerWrapper",
|
17 |
null
|
18 |
]
|
19 |
},
|
20 |
"bos_token": "<|endoftext|>",
|
|
|
21 |
"clean_up_tokenization_spaces": true,
|
22 |
"encoding_name": null,
|
23 |
"eos_token": "<|endoftext|>",
|