Upload mlc-chat-config.json with huggingface_hub
Browse files- mlc-chat-config.json +78 -0
mlc-chat-config.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "0.1.0",
|
| 3 |
+
"model_type": "cohere",
|
| 4 |
+
"quantization": "q4f16_1",
|
| 5 |
+
"model_config": {
|
| 6 |
+
"model_type": "cohere",
|
| 7 |
+
"hidden_size": 8192,
|
| 8 |
+
"vocab_size": 256000,
|
| 9 |
+
"num_hidden_layers": 40,
|
| 10 |
+
"num_attention_heads": 64,
|
| 11 |
+
"num_key_value_heads": 64,
|
| 12 |
+
"intermediate_size": 22528,
|
| 13 |
+
"layer_norm_eps": 1e-05,
|
| 14 |
+
"position_embedding_base": 8000000.0,
|
| 15 |
+
"context_window_size": 8192,
|
| 16 |
+
"prefill_chunk_size": 2048,
|
| 17 |
+
"head_dim": 128,
|
| 18 |
+
"tensor_parallel_shards": 1,
|
| 19 |
+
"max_batch_size": 80
|
| 20 |
+
},
|
| 21 |
+
"vocab_size": 256000,
|
| 22 |
+
"context_window_size": 8192,
|
| 23 |
+
"sliding_window_size": -1,
|
| 24 |
+
"prefill_chunk_size": 2048,
|
| 25 |
+
"attention_sink_size": -1,
|
| 26 |
+
"tensor_parallel_shards": 1,
|
| 27 |
+
"pipeline_parallel_stages": 1,
|
| 28 |
+
"temperature": 1.0,
|
| 29 |
+
"presence_penalty": 0.0,
|
| 30 |
+
"frequency_penalty": 0.0,
|
| 31 |
+
"repetition_penalty": 1.0,
|
| 32 |
+
"top_p": 1.0,
|
| 33 |
+
"tokenizer_files": [
|
| 34 |
+
"tokenizer.json",
|
| 35 |
+
"tokenizer_config.json"
|
| 36 |
+
],
|
| 37 |
+
"tokenizer_info": {
|
| 38 |
+
"token_postproc_method": "byte_level",
|
| 39 |
+
"prepend_space_in_encode": false,
|
| 40 |
+
"strip_space_in_decode": false
|
| 41 |
+
},
|
| 42 |
+
"conv_template": {
|
| 43 |
+
"name": "aya-23",
|
| 44 |
+
"system_template": "<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>{system_message}<|END_OF_TURN_TOKEN|>",
|
| 45 |
+
"system_message": "You are Command-R, a brilliant, sophisticated, AI-assistant trained to assist human users by providing thorough responses.",
|
| 46 |
+
"system_prefix_token_ids": [
|
| 47 |
+
5
|
| 48 |
+
],
|
| 49 |
+
"add_role_after_system_message": true,
|
| 50 |
+
"roles": {
|
| 51 |
+
"user": "<|START_OF_TURN_TOKEN|><|USER_TOKEN|>",
|
| 52 |
+
"assistant": "<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>"
|
| 53 |
+
},
|
| 54 |
+
"role_templates": {
|
| 55 |
+
"user": "{user_message}",
|
| 56 |
+
"assistant": "{assistant_message}",
|
| 57 |
+
"tool": "{tool_message}"
|
| 58 |
+
},
|
| 59 |
+
"messages": [],
|
| 60 |
+
"seps": [
|
| 61 |
+
"<|END_OF_TURN_TOKEN|>"
|
| 62 |
+
],
|
| 63 |
+
"role_content_sep": "",
|
| 64 |
+
"role_empty_sep": "",
|
| 65 |
+
"stop_str": [
|
| 66 |
+
"<|END_OF_TURN_TOKEN|>"
|
| 67 |
+
],
|
| 68 |
+
"stop_token_ids": [
|
| 69 |
+
6,
|
| 70 |
+
255001
|
| 71 |
+
],
|
| 72 |
+
"function_string": "",
|
| 73 |
+
"use_function_calling": false
|
| 74 |
+
},
|
| 75 |
+
"pad_token_id": 0,
|
| 76 |
+
"bos_token_id": 5,
|
| 77 |
+
"eos_token_id": 255001
|
| 78 |
+
}
|