Upload mlc-chat-config.json with huggingface_hub
Browse files- mlc-chat-config.json +77 -0
mlc-chat-config.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "0.1.0",
|
| 3 |
+
"model_type": "gpt_neox",
|
| 4 |
+
"quantization": "q4f16_1",
|
| 5 |
+
"model_config": {
|
| 6 |
+
"use_parallel_residual": false,
|
| 7 |
+
"hidden_size": 2560,
|
| 8 |
+
"intermediate_size": 10240,
|
| 9 |
+
"num_attention_heads": 32,
|
| 10 |
+
"num_hidden_layers": 32,
|
| 11 |
+
"layer_norm_eps": 1e-05,
|
| 12 |
+
"vocab_size": 50432,
|
| 13 |
+
"rotary_pct": 1.0,
|
| 14 |
+
"position_embedding_base": 10000,
|
| 15 |
+
"context_window_size": 2048,
|
| 16 |
+
"head_dim": 80,
|
| 17 |
+
"prefill_chunk_size": 2048,
|
| 18 |
+
"tensor_parallel_shards": 1,
|
| 19 |
+
"ffn_out_dtype": "float32",
|
| 20 |
+
"max_batch_size": 128
|
| 21 |
+
},
|
| 22 |
+
"vocab_size": 50432,
|
| 23 |
+
"active_vocab_size": 50277,
|
| 24 |
+
"context_window_size": 2048,
|
| 25 |
+
"sliding_window_size": -1,
|
| 26 |
+
"prefill_chunk_size": 2048,
|
| 27 |
+
"attention_sink_size": -1,
|
| 28 |
+
"tensor_parallel_shards": 1,
|
| 29 |
+
"pipeline_parallel_stages": 1,
|
| 30 |
+
"temperature": 1.0,
|
| 31 |
+
"presence_penalty": 0.0,
|
| 32 |
+
"frequency_penalty": 0.0,
|
| 33 |
+
"repetition_penalty": 1.0,
|
| 34 |
+
"top_p": 1.0,
|
| 35 |
+
"tokenizer_files": [
|
| 36 |
+
"tokenizer.json",
|
| 37 |
+
"tokenizer_config.json"
|
| 38 |
+
],
|
| 39 |
+
"tokenizer_info": {
|
| 40 |
+
"token_postproc_method": "byte_level",
|
| 41 |
+
"prepend_space_in_encode": false,
|
| 42 |
+
"strip_space_in_decode": false
|
| 43 |
+
},
|
| 44 |
+
"conv_template": {
|
| 45 |
+
"name": "redpajama_chat",
|
| 46 |
+
"system_template": "{system_message}",
|
| 47 |
+
"system_message": "",
|
| 48 |
+
"system_prefix_token_ids": null,
|
| 49 |
+
"add_role_after_system_message": true,
|
| 50 |
+
"roles": {
|
| 51 |
+
"user": "<human>",
|
| 52 |
+
"assistant": "<bot>"
|
| 53 |
+
},
|
| 54 |
+
"role_templates": {
|
| 55 |
+
"user": "{user_message}",
|
| 56 |
+
"assistant": "{assistant_message}",
|
| 57 |
+
"tool": "{tool_message}"
|
| 58 |
+
},
|
| 59 |
+
"messages": [],
|
| 60 |
+
"seps": [
|
| 61 |
+
"\n"
|
| 62 |
+
],
|
| 63 |
+
"role_content_sep": ": ",
|
| 64 |
+
"role_empty_sep": ":",
|
| 65 |
+
"stop_str": [
|
| 66 |
+
"<human>"
|
| 67 |
+
],
|
| 68 |
+
"stop_token_ids": [
|
| 69 |
+
0
|
| 70 |
+
],
|
| 71 |
+
"function_string": "",
|
| 72 |
+
"use_function_calling": false
|
| 73 |
+
},
|
| 74 |
+
"pad_token_id": 0,
|
| 75 |
+
"bos_token_id": 0,
|
| 76 |
+
"eos_token_id": 0
|
| 77 |
+
}
|