Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- chat_template.jinja +1 -0
- config.json +416 -0
- configuration_deepseek.py +210 -0
- generation_config.json +9 -0
- model-00001-of-00080.safetensors +3 -0
- model-00002-of-00080.safetensors +3 -0
- model-00003-of-00080.safetensors +3 -0
- model-00004-of-00080.safetensors +3 -0
- model-00005-of-00080.safetensors +3 -0
- model-00006-of-00080.safetensors +3 -0
- model-00007-of-00080.safetensors +3 -0
- model-00008-of-00080.safetensors +3 -0
- model-00009-of-00080.safetensors +3 -0
- model-00010-of-00080.safetensors +3 -0
- model-00011-of-00080.safetensors +3 -0
- model-00012-of-00080.safetensors +3 -0
- model-00013-of-00080.safetensors +3 -0
- model-00014-of-00080.safetensors +3 -0
- model-00015-of-00080.safetensors +3 -0
- model-00016-of-00080.safetensors +3 -0
- model-00017-of-00080.safetensors +3 -0
- model-00018-of-00080.safetensors +3 -0
- model-00019-of-00080.safetensors +3 -0
- model-00020-of-00080.safetensors +3 -0
- model-00021-of-00080.safetensors +3 -0
- model-00022-of-00080.safetensors +3 -0
- model-00023-of-00080.safetensors +3 -0
- model-00024-of-00080.safetensors +3 -0
- model-00025-of-00080.safetensors +3 -0
- model-00026-of-00080.safetensors +3 -0
- model-00027-of-00080.safetensors +3 -0
- model-00028-of-00080.safetensors +3 -0
- model-00029-of-00080.safetensors +3 -0
- model-00030-of-00080.safetensors +3 -0
- model-00031-of-00080.safetensors +3 -0
- model-00032-of-00080.safetensors +3 -0
- model-00033-of-00080.safetensors +3 -0
- model-00034-of-00080.safetensors +3 -0
- model-00035-of-00080.safetensors +3 -0
- model-00036-of-00080.safetensors +3 -0
- model-00037-of-00080.safetensors +3 -0
- model-00038-of-00080.safetensors +3 -0
- model-00039-of-00080.safetensors +3 -0
- model-00040-of-00080.safetensors +3 -0
- model-00041-of-00080.safetensors +3 -0
- model-00042-of-00080.safetensors +3 -0
- model-00043-of-00080.safetensors +3 -0
- model-00044-of-00080.safetensors +3 -0
- model-00045-of-00080.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
model.safetensors.index.json filter=lfs diff=lfs merge=lfs -text
|
chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='', is_first_sp=true) %}{%- for message in messages %}{%- if message['role'] == 'system' %}{%- if ns.is_first_sp %}{% set ns.system_prompt = ns.system_prompt + message['content'] %}{% set ns.is_first_sp = false %}{%- else %}{% set ns.system_prompt = ns.system_prompt + '\n\n' + message['content'] %}{%- endif %}{%- endif %}{%- endfor %}{{ bos_token }}{{ ns.system_prompt }}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and 'tool_calls' in message %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls'] %}{%- if not ns.is_first %}{%- if message['content'] is none %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- else %}{{'<|Assistant|>' + message['content'] + '<|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- endif %}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- endif %}{%- endfor %}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- if message['role'] == 'assistant' and 'tool_calls' not in message %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n'}}{% endif %}
|
config.json
ADDED
|
@@ -0,0 +1,416 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"DeepseekV3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"auto_map": {
|
| 8 |
+
"AutoConfig": "configuration_deepseek.DeepseekV3Config",
|
| 9 |
+
"AutoModel": "modeling_deepseek.DeepseekV3Model",
|
| 10 |
+
"AutoModelForCausalLM": "modeling_deepseek.DeepseekV3ForCausalLM"
|
| 11 |
+
},
|
| 12 |
+
"aux_loss_alpha": 0.001,
|
| 13 |
+
"bos_token_id": 0,
|
| 14 |
+
"dtype": "bfloat16",
|
| 15 |
+
"eos_token_id": 1,
|
| 16 |
+
"ep_size": 1,
|
| 17 |
+
"first_k_dense_replace": 3,
|
| 18 |
+
"head_dim": 64,
|
| 19 |
+
"hidden_act": "silu",
|
| 20 |
+
"hidden_size": 7168,
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"intermediate_size": 18432,
|
| 23 |
+
"kv_lora_rank": 512,
|
| 24 |
+
"max_position_embeddings": 163840,
|
| 25 |
+
"model_type": "deepseek_v3",
|
| 26 |
+
"moe_intermediate_size": 2048,
|
| 27 |
+
"moe_layer_freq": 1,
|
| 28 |
+
"n_group": 8,
|
| 29 |
+
"n_routed_experts": 256,
|
| 30 |
+
"n_shared_experts": 1,
|
| 31 |
+
"norm_topk_prob": true,
|
| 32 |
+
"num_attention_heads": 128,
|
| 33 |
+
"num_experts_per_tok": 8,
|
| 34 |
+
"num_hidden_layers": 61,
|
| 35 |
+
"num_key_value_heads": 128,
|
| 36 |
+
"num_nextn_predict_layers": 1,
|
| 37 |
+
"pad_token_id": 128815,
|
| 38 |
+
"pretraining_tp": 1,
|
| 39 |
+
"q_lora_rank": 1536,
|
| 40 |
+
"qk_head_dim": 192,
|
| 41 |
+
"qk_nope_head_dim": 128,
|
| 42 |
+
"qk_rope_head_dim": 64,
|
| 43 |
+
"quantization_config": {
|
| 44 |
+
"config_groups": {
|
| 45 |
+
"group_0": {
|
| 46 |
+
"format": null,
|
| 47 |
+
"input_activations": {
|
| 48 |
+
"actorder": null,
|
| 49 |
+
"block_structure": null,
|
| 50 |
+
"dynamic": "local",
|
| 51 |
+
"group_size": 16,
|
| 52 |
+
"num_bits": 4,
|
| 53 |
+
"observer": "minmax",
|
| 54 |
+
"observer_kwargs": {},
|
| 55 |
+
"strategy": "tensor_group",
|
| 56 |
+
"symmetric": true,
|
| 57 |
+
"type": "float"
|
| 58 |
+
},
|
| 59 |
+
"output_activations": null,
|
| 60 |
+
"targets": [
|
| 61 |
+
"Linear"
|
| 62 |
+
],
|
| 63 |
+
"weights": {
|
| 64 |
+
"actorder": null,
|
| 65 |
+
"block_structure": null,
|
| 66 |
+
"dynamic": false,
|
| 67 |
+
"group_size": 16,
|
| 68 |
+
"num_bits": 4,
|
| 69 |
+
"observer": "minmax",
|
| 70 |
+
"observer_kwargs": {},
|
| 71 |
+
"strategy": "tensor_group",
|
| 72 |
+
"symmetric": true,
|
| 73 |
+
"type": "float"
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"format": "nvfp4-pack-quantized",
|
| 78 |
+
"global_compression_ratio": null,
|
| 79 |
+
"ignore": [
|
| 80 |
+
"lm_head",
|
| 81 |
+
"model.layers.0.self_attn.q_a_proj",
|
| 82 |
+
"model.layers.0.self_attn.q_b_proj",
|
| 83 |
+
"model.layers.0.self_attn.kv_a_proj_with_mqa",
|
| 84 |
+
"model.layers.0.self_attn.kv_b_proj",
|
| 85 |
+
"model.layers.0.self_attn.o_proj",
|
| 86 |
+
"model.layers.1.self_attn.q_a_proj",
|
| 87 |
+
"model.layers.1.self_attn.q_b_proj",
|
| 88 |
+
"model.layers.1.self_attn.kv_a_proj_with_mqa",
|
| 89 |
+
"model.layers.1.self_attn.kv_b_proj",
|
| 90 |
+
"model.layers.1.self_attn.o_proj",
|
| 91 |
+
"model.layers.2.self_attn.q_a_proj",
|
| 92 |
+
"model.layers.2.self_attn.q_b_proj",
|
| 93 |
+
"model.layers.2.self_attn.kv_a_proj_with_mqa",
|
| 94 |
+
"model.layers.2.self_attn.kv_b_proj",
|
| 95 |
+
"model.layers.2.self_attn.o_proj",
|
| 96 |
+
"model.layers.3.self_attn.q_a_proj",
|
| 97 |
+
"model.layers.3.self_attn.q_b_proj",
|
| 98 |
+
"model.layers.3.self_attn.kv_a_proj_with_mqa",
|
| 99 |
+
"model.layers.3.self_attn.kv_b_proj",
|
| 100 |
+
"model.layers.3.self_attn.o_proj",
|
| 101 |
+
"model.layers.4.self_attn.q_a_proj",
|
| 102 |
+
"model.layers.4.self_attn.q_b_proj",
|
| 103 |
+
"model.layers.4.self_attn.kv_a_proj_with_mqa",
|
| 104 |
+
"model.layers.4.self_attn.kv_b_proj",
|
| 105 |
+
"model.layers.4.self_attn.o_proj",
|
| 106 |
+
"model.layers.5.self_attn.q_a_proj",
|
| 107 |
+
"model.layers.5.self_attn.q_b_proj",
|
| 108 |
+
"model.layers.5.self_attn.kv_a_proj_with_mqa",
|
| 109 |
+
"model.layers.5.self_attn.kv_b_proj",
|
| 110 |
+
"model.layers.5.self_attn.o_proj",
|
| 111 |
+
"model.layers.6.self_attn.q_a_proj",
|
| 112 |
+
"model.layers.6.self_attn.q_b_proj",
|
| 113 |
+
"model.layers.6.self_attn.kv_a_proj_with_mqa",
|
| 114 |
+
"model.layers.6.self_attn.kv_b_proj",
|
| 115 |
+
"model.layers.6.self_attn.o_proj",
|
| 116 |
+
"model.layers.7.self_attn.q_a_proj",
|
| 117 |
+
"model.layers.7.self_attn.q_b_proj",
|
| 118 |
+
"model.layers.7.self_attn.kv_a_proj_with_mqa",
|
| 119 |
+
"model.layers.7.self_attn.kv_b_proj",
|
| 120 |
+
"model.layers.7.self_attn.o_proj",
|
| 121 |
+
"model.layers.8.self_attn.q_a_proj",
|
| 122 |
+
"model.layers.8.self_attn.q_b_proj",
|
| 123 |
+
"model.layers.8.self_attn.kv_a_proj_with_mqa",
|
| 124 |
+
"model.layers.8.self_attn.kv_b_proj",
|
| 125 |
+
"model.layers.8.self_attn.o_proj",
|
| 126 |
+
"model.layers.9.self_attn.q_a_proj",
|
| 127 |
+
"model.layers.9.self_attn.q_b_proj",
|
| 128 |
+
"model.layers.9.self_attn.kv_a_proj_with_mqa",
|
| 129 |
+
"model.layers.9.self_attn.kv_b_proj",
|
| 130 |
+
"model.layers.9.self_attn.o_proj",
|
| 131 |
+
"model.layers.10.self_attn.q_a_proj",
|
| 132 |
+
"model.layers.10.self_attn.q_b_proj",
|
| 133 |
+
"model.layers.10.self_attn.kv_a_proj_with_mqa",
|
| 134 |
+
"model.layers.10.self_attn.kv_b_proj",
|
| 135 |
+
"model.layers.10.self_attn.o_proj",
|
| 136 |
+
"model.layers.11.self_attn.q_a_proj",
|
| 137 |
+
"model.layers.11.self_attn.q_b_proj",
|
| 138 |
+
"model.layers.11.self_attn.kv_a_proj_with_mqa",
|
| 139 |
+
"model.layers.11.self_attn.kv_b_proj",
|
| 140 |
+
"model.layers.11.self_attn.o_proj",
|
| 141 |
+
"model.layers.12.self_attn.q_a_proj",
|
| 142 |
+
"model.layers.12.self_attn.q_b_proj",
|
| 143 |
+
"model.layers.12.self_attn.kv_a_proj_with_mqa",
|
| 144 |
+
"model.layers.12.self_attn.kv_b_proj",
|
| 145 |
+
"model.layers.12.self_attn.o_proj",
|
| 146 |
+
"model.layers.13.self_attn.q_a_proj",
|
| 147 |
+
"model.layers.13.self_attn.q_b_proj",
|
| 148 |
+
"model.layers.13.self_attn.kv_a_proj_with_mqa",
|
| 149 |
+
"model.layers.13.self_attn.kv_b_proj",
|
| 150 |
+
"model.layers.13.self_attn.o_proj",
|
| 151 |
+
"model.layers.14.self_attn.q_a_proj",
|
| 152 |
+
"model.layers.14.self_attn.q_b_proj",
|
| 153 |
+
"model.layers.14.self_attn.kv_a_proj_with_mqa",
|
| 154 |
+
"model.layers.14.self_attn.kv_b_proj",
|
| 155 |
+
"model.layers.14.self_attn.o_proj",
|
| 156 |
+
"model.layers.15.self_attn.q_a_proj",
|
| 157 |
+
"model.layers.15.self_attn.q_b_proj",
|
| 158 |
+
"model.layers.15.self_attn.kv_a_proj_with_mqa",
|
| 159 |
+
"model.layers.15.self_attn.kv_b_proj",
|
| 160 |
+
"model.layers.15.self_attn.o_proj",
|
| 161 |
+
"model.layers.16.self_attn.q_a_proj",
|
| 162 |
+
"model.layers.16.self_attn.q_b_proj",
|
| 163 |
+
"model.layers.16.self_attn.kv_a_proj_with_mqa",
|
| 164 |
+
"model.layers.16.self_attn.kv_b_proj",
|
| 165 |
+
"model.layers.16.self_attn.o_proj",
|
| 166 |
+
"model.layers.17.self_attn.q_a_proj",
|
| 167 |
+
"model.layers.17.self_attn.q_b_proj",
|
| 168 |
+
"model.layers.17.self_attn.kv_a_proj_with_mqa",
|
| 169 |
+
"model.layers.17.self_attn.kv_b_proj",
|
| 170 |
+
"model.layers.17.self_attn.o_proj",
|
| 171 |
+
"model.layers.18.self_attn.q_a_proj",
|
| 172 |
+
"model.layers.18.self_attn.q_b_proj",
|
| 173 |
+
"model.layers.18.self_attn.kv_a_proj_with_mqa",
|
| 174 |
+
"model.layers.18.self_attn.kv_b_proj",
|
| 175 |
+
"model.layers.18.self_attn.o_proj",
|
| 176 |
+
"model.layers.19.self_attn.q_a_proj",
|
| 177 |
+
"model.layers.19.self_attn.q_b_proj",
|
| 178 |
+
"model.layers.19.self_attn.kv_a_proj_with_mqa",
|
| 179 |
+
"model.layers.19.self_attn.kv_b_proj",
|
| 180 |
+
"model.layers.19.self_attn.o_proj",
|
| 181 |
+
"model.layers.20.self_attn.q_a_proj",
|
| 182 |
+
"model.layers.20.self_attn.q_b_proj",
|
| 183 |
+
"model.layers.20.self_attn.kv_a_proj_with_mqa",
|
| 184 |
+
"model.layers.20.self_attn.kv_b_proj",
|
| 185 |
+
"model.layers.20.self_attn.o_proj",
|
| 186 |
+
"model.layers.21.self_attn.q_a_proj",
|
| 187 |
+
"model.layers.21.self_attn.q_b_proj",
|
| 188 |
+
"model.layers.21.self_attn.kv_a_proj_with_mqa",
|
| 189 |
+
"model.layers.21.self_attn.kv_b_proj",
|
| 190 |
+
"model.layers.21.self_attn.o_proj",
|
| 191 |
+
"model.layers.22.self_attn.q_a_proj",
|
| 192 |
+
"model.layers.22.self_attn.q_b_proj",
|
| 193 |
+
"model.layers.22.self_attn.kv_a_proj_with_mqa",
|
| 194 |
+
"model.layers.22.self_attn.kv_b_proj",
|
| 195 |
+
"model.layers.22.self_attn.o_proj",
|
| 196 |
+
"model.layers.23.self_attn.q_a_proj",
|
| 197 |
+
"model.layers.23.self_attn.q_b_proj",
|
| 198 |
+
"model.layers.23.self_attn.kv_a_proj_with_mqa",
|
| 199 |
+
"model.layers.23.self_attn.kv_b_proj",
|
| 200 |
+
"model.layers.23.self_attn.o_proj",
|
| 201 |
+
"model.layers.24.self_attn.q_a_proj",
|
| 202 |
+
"model.layers.24.self_attn.q_b_proj",
|
| 203 |
+
"model.layers.24.self_attn.kv_a_proj_with_mqa",
|
| 204 |
+
"model.layers.24.self_attn.kv_b_proj",
|
| 205 |
+
"model.layers.24.self_attn.o_proj",
|
| 206 |
+
"model.layers.25.self_attn.q_a_proj",
|
| 207 |
+
"model.layers.25.self_attn.q_b_proj",
|
| 208 |
+
"model.layers.25.self_attn.kv_a_proj_with_mqa",
|
| 209 |
+
"model.layers.25.self_attn.kv_b_proj",
|
| 210 |
+
"model.layers.25.self_attn.o_proj",
|
| 211 |
+
"model.layers.26.self_attn.q_a_proj",
|
| 212 |
+
"model.layers.26.self_attn.q_b_proj",
|
| 213 |
+
"model.layers.26.self_attn.kv_a_proj_with_mqa",
|
| 214 |
+
"model.layers.26.self_attn.kv_b_proj",
|
| 215 |
+
"model.layers.26.self_attn.o_proj",
|
| 216 |
+
"model.layers.27.self_attn.q_a_proj",
|
| 217 |
+
"model.layers.27.self_attn.q_b_proj",
|
| 218 |
+
"model.layers.27.self_attn.kv_a_proj_with_mqa",
|
| 219 |
+
"model.layers.27.self_attn.kv_b_proj",
|
| 220 |
+
"model.layers.27.self_attn.o_proj",
|
| 221 |
+
"model.layers.28.self_attn.q_a_proj",
|
| 222 |
+
"model.layers.28.self_attn.q_b_proj",
|
| 223 |
+
"model.layers.28.self_attn.kv_a_proj_with_mqa",
|
| 224 |
+
"model.layers.28.self_attn.kv_b_proj",
|
| 225 |
+
"model.layers.28.self_attn.o_proj",
|
| 226 |
+
"model.layers.29.self_attn.q_a_proj",
|
| 227 |
+
"model.layers.29.self_attn.q_b_proj",
|
| 228 |
+
"model.layers.29.self_attn.kv_a_proj_with_mqa",
|
| 229 |
+
"model.layers.29.self_attn.kv_b_proj",
|
| 230 |
+
"model.layers.29.self_attn.o_proj",
|
| 231 |
+
"model.layers.30.self_attn.q_a_proj",
|
| 232 |
+
"model.layers.30.self_attn.q_b_proj",
|
| 233 |
+
"model.layers.30.self_attn.kv_a_proj_with_mqa",
|
| 234 |
+
"model.layers.30.self_attn.kv_b_proj",
|
| 235 |
+
"model.layers.30.self_attn.o_proj",
|
| 236 |
+
"model.layers.31.self_attn.q_a_proj",
|
| 237 |
+
"model.layers.31.self_attn.q_b_proj",
|
| 238 |
+
"model.layers.31.self_attn.kv_a_proj_with_mqa",
|
| 239 |
+
"model.layers.31.self_attn.kv_b_proj",
|
| 240 |
+
"model.layers.31.self_attn.o_proj",
|
| 241 |
+
"model.layers.32.self_attn.q_a_proj",
|
| 242 |
+
"model.layers.32.self_attn.q_b_proj",
|
| 243 |
+
"model.layers.32.self_attn.kv_a_proj_with_mqa",
|
| 244 |
+
"model.layers.32.self_attn.kv_b_proj",
|
| 245 |
+
"model.layers.32.self_attn.o_proj",
|
| 246 |
+
"model.layers.33.self_attn.q_a_proj",
|
| 247 |
+
"model.layers.33.self_attn.q_b_proj",
|
| 248 |
+
"model.layers.33.self_attn.kv_a_proj_with_mqa",
|
| 249 |
+
"model.layers.33.self_attn.kv_b_proj",
|
| 250 |
+
"model.layers.33.self_attn.o_proj",
|
| 251 |
+
"model.layers.34.self_attn.q_a_proj",
|
| 252 |
+
"model.layers.34.self_attn.q_b_proj",
|
| 253 |
+
"model.layers.34.self_attn.kv_a_proj_with_mqa",
|
| 254 |
+
"model.layers.34.self_attn.kv_b_proj",
|
| 255 |
+
"model.layers.34.self_attn.o_proj",
|
| 256 |
+
"model.layers.35.self_attn.q_a_proj",
|
| 257 |
+
"model.layers.35.self_attn.q_b_proj",
|
| 258 |
+
"model.layers.35.self_attn.kv_a_proj_with_mqa",
|
| 259 |
+
"model.layers.35.self_attn.kv_b_proj",
|
| 260 |
+
"model.layers.35.self_attn.o_proj",
|
| 261 |
+
"model.layers.36.self_attn.q_a_proj",
|
| 262 |
+
"model.layers.36.self_attn.q_b_proj",
|
| 263 |
+
"model.layers.36.self_attn.kv_a_proj_with_mqa",
|
| 264 |
+
"model.layers.36.self_attn.kv_b_proj",
|
| 265 |
+
"model.layers.36.self_attn.o_proj",
|
| 266 |
+
"model.layers.37.self_attn.q_a_proj",
|
| 267 |
+
"model.layers.37.self_attn.q_b_proj",
|
| 268 |
+
"model.layers.37.self_attn.kv_a_proj_with_mqa",
|
| 269 |
+
"model.layers.37.self_attn.kv_b_proj",
|
| 270 |
+
"model.layers.37.self_attn.o_proj",
|
| 271 |
+
"model.layers.38.self_attn.q_a_proj",
|
| 272 |
+
"model.layers.38.self_attn.q_b_proj",
|
| 273 |
+
"model.layers.38.self_attn.kv_a_proj_with_mqa",
|
| 274 |
+
"model.layers.38.self_attn.kv_b_proj",
|
| 275 |
+
"model.layers.38.self_attn.o_proj",
|
| 276 |
+
"model.layers.39.self_attn.q_a_proj",
|
| 277 |
+
"model.layers.39.self_attn.q_b_proj",
|
| 278 |
+
"model.layers.39.self_attn.kv_a_proj_with_mqa",
|
| 279 |
+
"model.layers.39.self_attn.kv_b_proj",
|
| 280 |
+
"model.layers.39.self_attn.o_proj",
|
| 281 |
+
"model.layers.40.self_attn.q_a_proj",
|
| 282 |
+
"model.layers.40.self_attn.q_b_proj",
|
| 283 |
+
"model.layers.40.self_attn.kv_a_proj_with_mqa",
|
| 284 |
+
"model.layers.40.self_attn.kv_b_proj",
|
| 285 |
+
"model.layers.40.self_attn.o_proj",
|
| 286 |
+
"model.layers.41.self_attn.q_a_proj",
|
| 287 |
+
"model.layers.41.self_attn.q_b_proj",
|
| 288 |
+
"model.layers.41.self_attn.kv_a_proj_with_mqa",
|
| 289 |
+
"model.layers.41.self_attn.kv_b_proj",
|
| 290 |
+
"model.layers.41.self_attn.o_proj",
|
| 291 |
+
"model.layers.42.self_attn.q_a_proj",
|
| 292 |
+
"model.layers.42.self_attn.q_b_proj",
|
| 293 |
+
"model.layers.42.self_attn.kv_a_proj_with_mqa",
|
| 294 |
+
"model.layers.42.self_attn.kv_b_proj",
|
| 295 |
+
"model.layers.42.self_attn.o_proj",
|
| 296 |
+
"model.layers.43.self_attn.q_a_proj",
|
| 297 |
+
"model.layers.43.self_attn.q_b_proj",
|
| 298 |
+
"model.layers.43.self_attn.kv_a_proj_with_mqa",
|
| 299 |
+
"model.layers.43.self_attn.kv_b_proj",
|
| 300 |
+
"model.layers.43.self_attn.o_proj",
|
| 301 |
+
"model.layers.44.self_attn.q_a_proj",
|
| 302 |
+
"model.layers.44.self_attn.q_b_proj",
|
| 303 |
+
"model.layers.44.self_attn.kv_a_proj_with_mqa",
|
| 304 |
+
"model.layers.44.self_attn.kv_b_proj",
|
| 305 |
+
"model.layers.44.self_attn.o_proj",
|
| 306 |
+
"model.layers.45.self_attn.q_a_proj",
|
| 307 |
+
"model.layers.45.self_attn.q_b_proj",
|
| 308 |
+
"model.layers.45.self_attn.kv_a_proj_with_mqa",
|
| 309 |
+
"model.layers.45.self_attn.kv_b_proj",
|
| 310 |
+
"model.layers.45.self_attn.o_proj",
|
| 311 |
+
"model.layers.46.self_attn.q_a_proj",
|
| 312 |
+
"model.layers.46.self_attn.q_b_proj",
|
| 313 |
+
"model.layers.46.self_attn.kv_a_proj_with_mqa",
|
| 314 |
+
"model.layers.46.self_attn.kv_b_proj",
|
| 315 |
+
"model.layers.46.self_attn.o_proj",
|
| 316 |
+
"model.layers.47.self_attn.q_a_proj",
|
| 317 |
+
"model.layers.47.self_attn.q_b_proj",
|
| 318 |
+
"model.layers.47.self_attn.kv_a_proj_with_mqa",
|
| 319 |
+
"model.layers.47.self_attn.kv_b_proj",
|
| 320 |
+
"model.layers.47.self_attn.o_proj",
|
| 321 |
+
"model.layers.48.self_attn.q_a_proj",
|
| 322 |
+
"model.layers.48.self_attn.q_b_proj",
|
| 323 |
+
"model.layers.48.self_attn.kv_a_proj_with_mqa",
|
| 324 |
+
"model.layers.48.self_attn.kv_b_proj",
|
| 325 |
+
"model.layers.48.self_attn.o_proj",
|
| 326 |
+
"model.layers.49.self_attn.q_a_proj",
|
| 327 |
+
"model.layers.49.self_attn.q_b_proj",
|
| 328 |
+
"model.layers.49.self_attn.kv_a_proj_with_mqa",
|
| 329 |
+
"model.layers.49.self_attn.kv_b_proj",
|
| 330 |
+
"model.layers.49.self_attn.o_proj",
|
| 331 |
+
"model.layers.50.self_attn.q_a_proj",
|
| 332 |
+
"model.layers.50.self_attn.q_b_proj",
|
| 333 |
+
"model.layers.50.self_attn.kv_a_proj_with_mqa",
|
| 334 |
+
"model.layers.50.self_attn.kv_b_proj",
|
| 335 |
+
"model.layers.50.self_attn.o_proj",
|
| 336 |
+
"model.layers.51.self_attn.q_a_proj",
|
| 337 |
+
"model.layers.51.self_attn.q_b_proj",
|
| 338 |
+
"model.layers.51.self_attn.kv_a_proj_with_mqa",
|
| 339 |
+
"model.layers.51.self_attn.kv_b_proj",
|
| 340 |
+
"model.layers.51.self_attn.o_proj",
|
| 341 |
+
"model.layers.52.self_attn.q_a_proj",
|
| 342 |
+
"model.layers.52.self_attn.q_b_proj",
|
| 343 |
+
"model.layers.52.self_attn.kv_a_proj_with_mqa",
|
| 344 |
+
"model.layers.52.self_attn.kv_b_proj",
|
| 345 |
+
"model.layers.52.self_attn.o_proj",
|
| 346 |
+
"model.layers.53.self_attn.q_a_proj",
|
| 347 |
+
"model.layers.53.self_attn.q_b_proj",
|
| 348 |
+
"model.layers.53.self_attn.kv_a_proj_with_mqa",
|
| 349 |
+
"model.layers.53.self_attn.kv_b_proj",
|
| 350 |
+
"model.layers.53.self_attn.o_proj",
|
| 351 |
+
"model.layers.54.self_attn.q_a_proj",
|
| 352 |
+
"model.layers.54.self_attn.q_b_proj",
|
| 353 |
+
"model.layers.54.self_attn.kv_a_proj_with_mqa",
|
| 354 |
+
"model.layers.54.self_attn.kv_b_proj",
|
| 355 |
+
"model.layers.54.self_attn.o_proj",
|
| 356 |
+
"model.layers.55.self_attn.q_a_proj",
|
| 357 |
+
"model.layers.55.self_attn.q_b_proj",
|
| 358 |
+
"model.layers.55.self_attn.kv_a_proj_with_mqa",
|
| 359 |
+
"model.layers.55.self_attn.kv_b_proj",
|
| 360 |
+
"model.layers.55.self_attn.o_proj",
|
| 361 |
+
"model.layers.56.self_attn.q_a_proj",
|
| 362 |
+
"model.layers.56.self_attn.q_b_proj",
|
| 363 |
+
"model.layers.56.self_attn.kv_a_proj_with_mqa",
|
| 364 |
+
"model.layers.56.self_attn.kv_b_proj",
|
| 365 |
+
"model.layers.56.self_attn.o_proj",
|
| 366 |
+
"model.layers.57.self_attn.q_a_proj",
|
| 367 |
+
"model.layers.57.self_attn.q_b_proj",
|
| 368 |
+
"model.layers.57.self_attn.kv_a_proj_with_mqa",
|
| 369 |
+
"model.layers.57.self_attn.kv_b_proj",
|
| 370 |
+
"model.layers.57.self_attn.o_proj",
|
| 371 |
+
"model.layers.58.self_attn.q_a_proj",
|
| 372 |
+
"model.layers.58.self_attn.q_b_proj",
|
| 373 |
+
"model.layers.58.self_attn.kv_a_proj_with_mqa",
|
| 374 |
+
"model.layers.58.self_attn.kv_b_proj",
|
| 375 |
+
"model.layers.58.self_attn.o_proj",
|
| 376 |
+
"model.layers.59.self_attn.q_a_proj",
|
| 377 |
+
"model.layers.59.self_attn.q_b_proj",
|
| 378 |
+
"model.layers.59.self_attn.kv_a_proj_with_mqa",
|
| 379 |
+
"model.layers.59.self_attn.kv_b_proj",
|
| 380 |
+
"model.layers.59.self_attn.o_proj",
|
| 381 |
+
"model.layers.60.self_attn.q_a_proj",
|
| 382 |
+
"model.layers.60.self_attn.q_b_proj",
|
| 383 |
+
"model.layers.60.self_attn.kv_a_proj_with_mqa",
|
| 384 |
+
"model.layers.60.self_attn.kv_b_proj",
|
| 385 |
+
"model.layers.60.self_attn.o_proj"
|
| 386 |
+
],
|
| 387 |
+
"kv_cache_scheme": null,
|
| 388 |
+
"provider": "auto-round",
|
| 389 |
+
"quant_method": "compressed-tensors",
|
| 390 |
+
"quantization_status": "compressed"
|
| 391 |
+
},
|
| 392 |
+
"rms_norm_eps": 1e-06,
|
| 393 |
+
"rope_interleave": true,
|
| 394 |
+
"rope_scaling": {
|
| 395 |
+
"beta_fast": 32.0,
|
| 396 |
+
"beta_slow": 1.0,
|
| 397 |
+
"factor": 40.0,
|
| 398 |
+
"mscale": 1.0,
|
| 399 |
+
"mscale_all_dim": 1.0,
|
| 400 |
+
"original_max_position_embeddings": 4096,
|
| 401 |
+
"rope_type": "yarn",
|
| 402 |
+
"type": "yarn"
|
| 403 |
+
},
|
| 404 |
+
"rope_theta": 10000,
|
| 405 |
+
"routed_scaling_factor": 2.5,
|
| 406 |
+
"scoring_func": "sigmoid",
|
| 407 |
+
"seq_aux": true,
|
| 408 |
+
"tie_word_embeddings": false,
|
| 409 |
+
"topk_group": 4,
|
| 410 |
+
"topk_method": "noaux_tc",
|
| 411 |
+
"transformers_version": "4.57.3",
|
| 412 |
+
"unsloth_fixed": true,
|
| 413 |
+
"use_cache": true,
|
| 414 |
+
"v_head_dim": 128,
|
| 415 |
+
"vocab_size": 129280
|
| 416 |
+
}
|
configuration_deepseek.py
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 2 |
+
from transformers.utils import logging
|
| 3 |
+
|
| 4 |
+
logger = logging.get_logger(__name__)
|
| 5 |
+
|
| 6 |
+
DEEPSEEK_PRETRAINED_CONFIG_ARCHIVE_MAP = {}
|
| 7 |
+
class DeepseekV3Config(PretrainedConfig):
|
| 8 |
+
r"""
|
| 9 |
+
This is the configuration class to store the configuration of a [`DeepseekV3Model`]. It is used to instantiate an DeepSeek
|
| 10 |
+
model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
|
| 11 |
+
defaults will yield a similar configuration to that of the DeepSeek-V3.
|
| 12 |
+
|
| 13 |
+
Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
|
| 14 |
+
documentation from [`PretrainedConfig`] for more information.
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
Args:
|
| 18 |
+
vocab_size (`int`, *optional*, defaults to 129280):
|
| 19 |
+
Vocabulary size of the Deep model. Defines the number of different tokens that can be represented by the
|
| 20 |
+
`inputs_ids` passed when calling [`DeepseekV3Model`]
|
| 21 |
+
hidden_size (`int`, *optional*, defaults to 4096):
|
| 22 |
+
Dimension of the hidden representations.
|
| 23 |
+
intermediate_size (`int`, *optional*, defaults to 11008):
|
| 24 |
+
Dimension of the MLP representations.
|
| 25 |
+
moe_intermediate_size (`int`, *optional*, defaults to 1407):
|
| 26 |
+
Dimension of the MoE representations.
|
| 27 |
+
num_hidden_layers (`int`, *optional*, defaults to 32):
|
| 28 |
+
Number of hidden layers in the Transformer decoder.
|
| 29 |
+
num_nextn_predict_layers (`int`, *optional*, defaults to 1):
|
| 30 |
+
Number of nextn predict layers in the DeepSeekV3 Model.
|
| 31 |
+
num_attention_heads (`int`, *optional*, defaults to 32):
|
| 32 |
+
Number of attention heads for each attention layer in the Transformer decoder.
|
| 33 |
+
n_shared_experts (`int`, *optional*, defaults to None):
|
| 34 |
+
Number of shared experts, None means dense model.
|
| 35 |
+
n_routed_experts (`int`, *optional*, defaults to None):
|
| 36 |
+
Number of routed experts, None means dense model.
|
| 37 |
+
routed_scaling_factor (`float`, *optional*, defaults to 1.0):
|
| 38 |
+
Scaling factor or routed experts.
|
| 39 |
+
topk_method (`str`, *optional*, defaults to `gready`):
|
| 40 |
+
Topk method used in routed gate.
|
| 41 |
+
n_group (`int`, *optional*, defaults to None):
|
| 42 |
+
Number of groups for routed experts.
|
| 43 |
+
topk_group (`int`, *optional*, defaults to None):
|
| 44 |
+
Number of selected groups for each token(for each token, ensuring the selected experts is only within `topk_group` groups).
|
| 45 |
+
num_experts_per_tok (`int`, *optional*, defaults to None):
|
| 46 |
+
Number of selected experts, None means dense model.
|
| 47 |
+
moe_layer_freq (`int`, *optional*, defaults to 1):
|
| 48 |
+
The frequency of the MoE layer: one expert layer for every `moe_layer_freq - 1` dense layers.
|
| 49 |
+
first_k_dense_replace (`int`, *optional*, defaults to 0):
|
| 50 |
+
Number of dense layers in shallow layers(embed->dense->dense->...->dense->moe->moe...->lm_head).
|
| 51 |
+
\--k dense layers--/
|
| 52 |
+
norm_topk_prob (`bool`, *optional*, defaults to False):
|
| 53 |
+
Whether to normalize the weights of the routed experts.
|
| 54 |
+
scoring_func (`str`, *optional*, defaults to 'softmax'):
|
| 55 |
+
Method of computing expert weights.
|
| 56 |
+
aux_loss_alpha (`float`, *optional*, defaults to 0.001):
|
| 57 |
+
Auxiliary loss weight coefficient.
|
| 58 |
+
seq_aux = (`bool`, *optional*, defaults to True):
|
| 59 |
+
Whether to compute the auxiliary loss for each individual sample.
|
| 60 |
+
num_key_value_heads (`int`, *optional*):
|
| 61 |
+
This is the number of key_value heads that should be used to implement Grouped Query Attention. If
|
| 62 |
+
`num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
|
| 63 |
+
`num_key_value_heads=1 the model will use Multi Query Attention (MQA) otherwise GQA is used. When
|
| 64 |
+
converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
|
| 65 |
+
by meanpooling all the original heads within that group. For more details checkout [this
|
| 66 |
+
paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to
|
| 67 |
+
`num_attention_heads`.
|
| 68 |
+
hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
|
| 69 |
+
The non-linear activation function (function or string) in the decoder.
|
| 70 |
+
max_position_embeddings (`int`, *optional*, defaults to 2048):
|
| 71 |
+
The maximum sequence length that this model might ever be used with.
|
| 72 |
+
initializer_range (`float`, *optional*, defaults to 0.02):
|
| 73 |
+
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
|
| 74 |
+
rms_norm_eps (`float`, *optional*, defaults to 1e-06):
|
| 75 |
+
The epsilon used by the rms normalization layers.
|
| 76 |
+
use_cache (`bool`, *optional*, defaults to `True`):
|
| 77 |
+
Whether or not the model should return the last key/values attentions (not used by all models). Only
|
| 78 |
+
relevant if `config.is_decoder=True`.
|
| 79 |
+
pad_token_id (`int`, *optional*):
|
| 80 |
+
Padding token id.
|
| 81 |
+
bos_token_id (`int`, *optional*, defaults to 1):
|
| 82 |
+
Beginning of stream token id.
|
| 83 |
+
eos_token_id (`int`, *optional*, defaults to 2):
|
| 84 |
+
End of stream token id.
|
| 85 |
+
pretraining_tp (`int`, *optional*, defaults to 1):
|
| 86 |
+
Experimental feature. Tensor parallelism rank used during pretraining. Please refer to [this
|
| 87 |
+
document](https://huggingface.co/docs/transformers/parallelism) to understand more about it. This value is
|
| 88 |
+
necessary to ensure exact reproducibility of the pretraining results. Please refer to [this
|
| 89 |
+
issue](https://github.com/pytorch/pytorch/issues/76232).
|
| 90 |
+
tie_word_embeddings (`bool`, *optional*, defaults to `False`):
|
| 91 |
+
Whether to tie weight embeddings
|
| 92 |
+
rope_theta (`float`, *optional*, defaults to 10000.0):
|
| 93 |
+
The base period of the RoPE embeddings.
|
| 94 |
+
rope_scaling (`Dict`, *optional*):
|
| 95 |
+
Dictionary containing the scaling configuration for the RoPE embeddings. Currently supports two scaling
|
| 96 |
+
strategies: linear and dynamic. Their scaling factor must be a float greater than 1. The expected format is
|
| 97 |
+
`{"type": strategy name, "factor": scaling factor}`. When using this flag, don't update
|
| 98 |
+
`max_position_embeddings` to the expected new maximum.
|
| 99 |
+
attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):
|
| 100 |
+
Whether to use a bias in the query, key, value and output projection layers during self-attention.
|
| 101 |
+
attention_dropout (`float`, *optional*, defaults to 0.0):
|
| 102 |
+
The dropout ratio for the attention probabilities.
|
| 103 |
+
|
| 104 |
+
```python
|
| 105 |
+
>>> from transformers import DeepseekV3Model, DeepseekV3Config
|
| 106 |
+
|
| 107 |
+
>>> # Initializing a Deepseek-V3 style configuration
|
| 108 |
+
>>> configuration = DeepseekV3Config()
|
| 109 |
+
|
| 110 |
+
>>> # Accessing the model configuration
|
| 111 |
+
>>> configuration = model.config
|
| 112 |
+
```"""
|
| 113 |
+
|
| 114 |
+
model_type = "deepseek_v3"
|
| 115 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 116 |
+
|
| 117 |
+
def __init__(
|
| 118 |
+
self,
|
| 119 |
+
vocab_size=129280,
|
| 120 |
+
hidden_size=7168,
|
| 121 |
+
intermediate_size=18432,
|
| 122 |
+
moe_intermediate_size = 2048,
|
| 123 |
+
num_hidden_layers=61,
|
| 124 |
+
num_nextn_predict_layers=1,
|
| 125 |
+
num_attention_heads=128,
|
| 126 |
+
num_key_value_heads=128,
|
| 127 |
+
n_shared_experts = 1,
|
| 128 |
+
n_routed_experts = 256,
|
| 129 |
+
ep_size = 1,
|
| 130 |
+
routed_scaling_factor = 2.5,
|
| 131 |
+
kv_lora_rank = 512,
|
| 132 |
+
q_lora_rank = 1536,
|
| 133 |
+
qk_rope_head_dim = 64,
|
| 134 |
+
v_head_dim = 128,
|
| 135 |
+
qk_nope_head_dim = 128,
|
| 136 |
+
topk_method = 'noaux_tc',
|
| 137 |
+
n_group = 8,
|
| 138 |
+
topk_group = 4,
|
| 139 |
+
num_experts_per_tok = 8,
|
| 140 |
+
moe_layer_freq = 1,
|
| 141 |
+
first_k_dense_replace = 3,
|
| 142 |
+
norm_topk_prob = True,
|
| 143 |
+
scoring_func = 'sigmoid',
|
| 144 |
+
aux_loss_alpha = 0.001,
|
| 145 |
+
seq_aux = True,
|
| 146 |
+
hidden_act="silu",
|
| 147 |
+
max_position_embeddings=4096,
|
| 148 |
+
initializer_range=0.02,
|
| 149 |
+
rms_norm_eps=1e-6,
|
| 150 |
+
use_cache=True,
|
| 151 |
+
pad_token_id=None,
|
| 152 |
+
bos_token_id=0,
|
| 153 |
+
eos_token_id=1,
|
| 154 |
+
pretraining_tp=1,
|
| 155 |
+
tie_word_embeddings=False,
|
| 156 |
+
rope_theta=10000.0,
|
| 157 |
+
rope_scaling=None,
|
| 158 |
+
attention_bias=False,
|
| 159 |
+
attention_dropout=0.0,
|
| 160 |
+
**kwargs,
|
| 161 |
+
):
|
| 162 |
+
self.vocab_size = vocab_size
|
| 163 |
+
self.max_position_embeddings = max_position_embeddings
|
| 164 |
+
self.hidden_size = hidden_size
|
| 165 |
+
self.intermediate_size = intermediate_size
|
| 166 |
+
self.moe_intermediate_size = moe_intermediate_size
|
| 167 |
+
self.num_hidden_layers = num_hidden_layers
|
| 168 |
+
self.num_nextn_predict_layers = num_nextn_predict_layers
|
| 169 |
+
self.num_attention_heads = num_attention_heads
|
| 170 |
+
self.n_shared_experts = n_shared_experts
|
| 171 |
+
self.n_routed_experts = n_routed_experts
|
| 172 |
+
self.ep_size = ep_size
|
| 173 |
+
self.routed_scaling_factor = routed_scaling_factor
|
| 174 |
+
self.kv_lora_rank = kv_lora_rank
|
| 175 |
+
self.q_lora_rank = q_lora_rank
|
| 176 |
+
self.qk_rope_head_dim = qk_rope_head_dim
|
| 177 |
+
self.v_head_dim = v_head_dim
|
| 178 |
+
self.qk_nope_head_dim = qk_nope_head_dim
|
| 179 |
+
self.topk_method = topk_method
|
| 180 |
+
self.n_group = n_group
|
| 181 |
+
self.topk_group = topk_group
|
| 182 |
+
self.num_experts_per_tok = num_experts_per_tok
|
| 183 |
+
self.moe_layer_freq = moe_layer_freq
|
| 184 |
+
self.first_k_dense_replace = first_k_dense_replace
|
| 185 |
+
self.norm_topk_prob = norm_topk_prob
|
| 186 |
+
self.scoring_func = scoring_func
|
| 187 |
+
self.aux_loss_alpha = aux_loss_alpha
|
| 188 |
+
self.seq_aux = seq_aux
|
| 189 |
+
# for backward compatibility
|
| 190 |
+
if num_key_value_heads is None:
|
| 191 |
+
num_key_value_heads = num_attention_heads
|
| 192 |
+
|
| 193 |
+
self.num_key_value_heads = num_key_value_heads
|
| 194 |
+
self.hidden_act = hidden_act
|
| 195 |
+
self.initializer_range = initializer_range
|
| 196 |
+
self.rms_norm_eps = rms_norm_eps
|
| 197 |
+
self.pretraining_tp = pretraining_tp
|
| 198 |
+
self.use_cache = use_cache
|
| 199 |
+
self.rope_theta = rope_theta
|
| 200 |
+
self.rope_scaling = rope_scaling
|
| 201 |
+
self.attention_bias = attention_bias
|
| 202 |
+
self.attention_dropout = attention_dropout
|
| 203 |
+
|
| 204 |
+
super().__init__(
|
| 205 |
+
pad_token_id=pad_token_id,
|
| 206 |
+
bos_token_id=bos_token_id,
|
| 207 |
+
eos_token_id=eos_token_id,
|
| 208 |
+
tie_word_embeddings=tie_word_embeddings,
|
| 209 |
+
**kwargs,
|
| 210 |
+
)
|
generation_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": 1,
|
| 6 |
+
"temperature": 0.6,
|
| 7 |
+
"top_p": 0.95,
|
| 8 |
+
"transformers_version": "4.57.3"
|
| 9 |
+
}
|
model-00001-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94cc933dcf4ec445e895bb067fdead317cf5709fdcf4f6dce77e68650a6d22a9
|
| 3 |
+
size 4993619208
|
model-00002-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03fcbcd41c476ccd0d6f36634239dfa21fc8b8301fbfba991439a65f18b8b867
|
| 3 |
+
size 4996112192
|
model-00003-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9105bf5230d9f6c68076086895b41fe3bc585a2db4c2cfa009d35a4f9f4efd0d
|
| 3 |
+
size 4994157264
|
model-00004-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5be824796845ee21def1f8e042af1bd7876f62a5c15818cfdf6e61951d8a4c08
|
| 3 |
+
size 4994157264
|
model-00005-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32da4f9efacb123dad8805444a2323e079b97ae5789fadf330758d1d0fb92ccc
|
| 3 |
+
size 4994158112
|
model-00006-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2046cd89932ddacdb8cd35c794b300a34d33f6ffc1eba2b8e26acf6450529e09
|
| 3 |
+
size 4996112072
|
model-00007-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91edd749739b07376e746b0022a6af610ccf62322351dc9f16c11cca7f31dae5
|
| 3 |
+
size 4994157264
|
model-00008-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a84122276dceb1627084d0f7eb3f588f7edc0036df17ce157e2e13c34dda232
|
| 3 |
+
size 4994157392
|
model-00009-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1c80324ac6d1fde8b3f31640b6d8428e89d168a6f3abe5a30f0612d5fc212bd
|
| 3 |
+
size 4994158104
|
model-00010-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5bbbf7ec08e8682a7438db4c9be564d6417d5826ed051b515f7efa7e6f123fe1
|
| 3 |
+
size 4996111952
|
model-00011-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2dc1444c97a05dc2c6ed2704ea94a43b5d01addbbafecd1ad4d674f0d1ee0eb
|
| 3 |
+
size 4994159080
|
model-00012-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c824d1ab3a696c04563cda5589dae1b2bc5ca6f80392249725c236497ee068ca
|
| 3 |
+
size 4994159768
|
model-00013-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b12750059abfa556612d841b88cd6ee39942fb992c68fb4b632bdd2260f39bfb
|
| 3 |
+
size 4994160384
|
model-00014-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33cc8a00d0d82a9691669b6e0d3f3831b2b813c9229d73365483c811932dd96a
|
| 3 |
+
size 4996114224
|
model-00015-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:865e4e85e86d55c538905589deae2c84135ae4305ffcae3416994f2c100162af
|
| 3 |
+
size 4994159512
|
model-00016-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b36ba31895479aa50a21622dd3e04732416a8c5cc409a9cb648f156457a54f3
|
| 3 |
+
size 4994159880
|
model-00017-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aadedd355e7a9b76784423145e064b2909b623c9fe012ba9e854e9e216d14b00
|
| 3 |
+
size 4808827512
|
model-00018-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:826e47421a32173b26344dbcf56f1641c28fac7d819d2770707de5d67973d2c2
|
| 3 |
+
size 4999770248
|
model-00019-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5d65f09aa55379181c685756181d9980426f022bbc198ba5fa7717de554a2bb
|
| 3 |
+
size 4994159504
|
model-00020-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81ef90e300833858eaa3d84656c53eb904d39609329831d35cb9ac57a0d74410
|
| 3 |
+
size 4994160104
|
model-00021-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4595af6066393b068d50f90aab70a61db663d24f706d017791538b45b92c5430
|
| 3 |
+
size 4996114752
|
model-00022-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40d96e4ef63ecb201c8922ec1e460f6208b3d4124ae351beab59ff61baa823b9
|
| 3 |
+
size 4994159512
|
model-00023-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ccb7103e071af285035b84d67e981c8099713f31710116b94bbb28db56b4ee5
|
| 3 |
+
size 4994159512
|
model-00024-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acc1480f77b1d17caf25060db7fd289e818b161b37d9b7c2a665a65b19f63e97
|
| 3 |
+
size 4994160216
|
model-00025-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e7cec39a0bed18e21aad2fb0202a219f527080c43a255c336f6fa9ad9469a72
|
| 3 |
+
size 4996114640
|
model-00026-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a86dd0a2d2f85b8e4dec444ec5f82d5c315e4fac532a985678aab2de43e0348
|
| 3 |
+
size 4994159504
|
model-00027-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:785dcf1f13e6fd1fa389d06c90a4b786932f613c45ab85139ed6caae35b693b8
|
| 3 |
+
size 4994159512
|
model-00028-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c03ed352840620884ce1e0c6f6648758b3c9cb0cd5f84568ba44cedbbe8b354
|
| 3 |
+
size 4994160352
|
model-00029-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2ba3d8aad5fd0fbf2e9b0d40481e9309e6de31805b6970b648aa419157deaaf
|
| 3 |
+
size 4996114504
|
model-00030-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d06c21fe5bd45cbbd2b1503946f534c78a530339828fb9928714b8c79dfef975
|
| 3 |
+
size 4994159512
|
model-00031-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bdd702664c65dc74f4d53b4e65b6b138776156fa3ddb8397ab9d44840c4056b
|
| 3 |
+
size 4994159616
|
model-00032-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f253df17b26ced0ae902f13219c5e25ff675a76abfa556dc80851c1f15e8a7c2
|
| 3 |
+
size 4994160360
|
model-00033-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db10282fb228e0e7a1771be5eddfd16b226d78f0c15cd63ef43c08b2fabac983
|
| 3 |
+
size 4996114384
|
model-00034-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fe94ca74a2d28a4bff22d55d2fcca0412d0d3e35634cca07ff70cf3bc50cffd
|
| 3 |
+
size 4994159512
|
model-00035-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fecb68f87d9dd4b27002657d7c1707acb58e8b3a18dcf2e8ba31b6a502db311c
|
| 3 |
+
size 4994159752
|
model-00036-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db115106398a0a76c225db5038bc39a73a3ef9e443523730df812ea5cc5f6b0d
|
| 3 |
+
size 4994160360
|
model-00037-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd51cee8bd7d85d3b3812e8f8fb801860e92e1a7d8e75e8944d9473524d5b916
|
| 3 |
+
size 4996114264
|
model-00038-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0fcfbe1b2b22363cd9521e7e067f826cd3e9bb5cad8cca3255e2f394b2c7f37f
|
| 3 |
+
size 4994159504
|
model-00039-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:392233dd0e3641b875604b366ba6ffe13956dbcc6b1fd4f9191335bad6475104
|
| 3 |
+
size 4994159872
|
model-00040-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e189c6dde4ab39629575036a3cc1c027977e20ad786a83c8eb7eb412b9e09599
|
| 3 |
+
size 4775795352
|
model-00041-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c215fcae34051433558d8b888e09b60b72b00c0877d116a89575ba0951f32e3
|
| 3 |
+
size 4999770248
|
model-00042-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5043b1edd5fd1b2b0070ede5aaada9a50f146063bccff5fd9582c3202b211884
|
| 3 |
+
size 4994159504
|
model-00043-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e87f8341273013b8b499d1ef07194b6c01212b33b82999ea496fdc55b6dcb110
|
| 3 |
+
size 4994160104
|
model-00044-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be2f82edb8ded143654f6b041ab27ce9ab029a16abdc0223c9614dd29faa3056
|
| 3 |
+
size 4996114752
|
model-00045-of-00080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6e79da2f66ab113772828d7b21ade1973726ec878ce294a2ddd9d27827ade45
|
| 3 |
+
size 4994159512
|