omrialmog commited on
Commit
a9dce0a
·
0 Parent(s):

initial commit

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +37 -0
  2. LICENSE +9 -0
  3. README.md +185 -0
  4. config.json +58 -0
  5. configuration_deepseek.py +238 -0
  6. generation_config.json +9 -0
  7. hf_quant_config.json +78 -0
  8. model-00001-of-000163.safetensors +3 -0
  9. model-00002-of-000163.safetensors +3 -0
  10. model-00003-of-000163.safetensors +3 -0
  11. model-00004-of-000163.safetensors +3 -0
  12. model-00005-of-000163.safetensors +3 -0
  13. model-00006-of-000163.safetensors +3 -0
  14. model-00007-of-000163.safetensors +3 -0
  15. model-00008-of-000163.safetensors +3 -0
  16. model-00009-of-000163.safetensors +3 -0
  17. model-00010-of-000163.safetensors +3 -0
  18. model-00011-of-000163.safetensors +3 -0
  19. model-00012-of-000163.safetensors +3 -0
  20. model-00013-of-000163.safetensors +3 -0
  21. model-00014-of-000163.safetensors +3 -0
  22. model-00015-of-000163.safetensors +3 -0
  23. model-00016-of-000163.safetensors +3 -0
  24. model-00017-of-000163.safetensors +3 -0
  25. model-00018-of-000163.safetensors +3 -0
  26. model-00019-of-000163.safetensors +3 -0
  27. model-00020-of-000163.safetensors +3 -0
  28. model-00021-of-000163.safetensors +3 -0
  29. model-00022-of-000163.safetensors +3 -0
  30. model-00023-of-000163.safetensors +3 -0
  31. model-00024-of-000163.safetensors +3 -0
  32. model-00025-of-000163.safetensors +3 -0
  33. model-00026-of-000163.safetensors +3 -0
  34. model-00027-of-000163.safetensors +3 -0
  35. model-00028-of-000163.safetensors +3 -0
  36. model-00029-of-000163.safetensors +3 -0
  37. model-00030-of-000163.safetensors +3 -0
  38. model-00031-of-000163.safetensors +3 -0
  39. model-00032-of-000163.safetensors +3 -0
  40. model-00033-of-000163.safetensors +3 -0
  41. model-00034-of-000163.safetensors +3 -0
  42. model-00035-of-000163.safetensors +3 -0
  43. model-00036-of-000163.safetensors +3 -0
  44. model-00037-of-000163.safetensors +3 -0
  45. model-00038-of-000163.safetensors +3 -0
  46. model-00039-of-000163.safetensors +3 -0
  47. model-00040-of-000163.safetensors +3 -0
  48. model-00041-of-000163.safetensors +3 -0
  49. model-00042-of-000163.safetensors +3 -0
  50. model-00043-of-000163.safetensors +3 -0
.gitattributes ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+ Copyright (c) 2025 Nvidia
3
+ Copyright (c) 2023 DeepSeek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
README.md ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: text-generation
3
+ base_model:
4
+ - deepseek-ai/DeepSeek-R1-0528
5
+ license: mit
6
+ library_name: Model Optimizer
7
+ tags:
8
+ - nvidia
9
+ - ModelOpt
10
+ - DeepSeekR1
11
+ - quantized
12
+ - FP4
13
+ ---
14
+ # Model Overview
15
+
16
+ ## Description:
17
+ The NVIDIA DeepSeek-R1-0528-FP4 model is the quantized version of the DeepSeek AI's DeepSeek R1 0528 model, which is an auto-regressive language model that uses an optimized transformer architecture. For more information, please check [here](https://huggingface.co/deepseek-ai/DeepSeek-R1-0528). The NVIDIA DeepSeek R1 FP4 model is quantized with [TensorRT Model Optimizer](https://github.com/NVIDIA/TensorRT-Model-Optimizer).
18
+
19
+ This model is ready for commercial/non-commercial use. <br>
20
+
21
+ ## Third-Party Community Consideration
22
+ This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party’s requirements for this application and use case; see link to Non-NVIDIA [(DeepSeek R1) Model Card](https://huggingface.co/deepseek-ai/DeepSeek-R1-0528).
23
+
24
+ ### License/Terms of Use:
25
+ [MIT](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/mit.md)
26
+
27
+
28
+ ## Model Architecture:
29
+ **Architecture Type:** Transformers <br>
30
+ **Network Architecture:** DeepSeek R1 <br>
31
+
32
+ ## Input:
33
+ **Input Type(s):** Text <br>
34
+ **Input Format(s):** String <br>
35
+ **Input Parameters:** 1D (One Dimensional): Sequences <br>
36
+ **Other Properties Related to Input:** DeepSeek recommends adhering to the following configurations when utilizing the DeepSeek-R1 series models, including benchmarking, to achieve the expected performance: \
37
+
38
+ - Set the temperature within the range of 0.5-0.7 (0.6 is recommended) to prevent endless repetitions or incoherent outputs.
39
+ - Avoid adding a system prompt; all instructions should be contained within the user prompt.
40
+ - For mathematical problems, it is advisable to include a directive in your prompt such as: "Please reason step by step, and put your final answer within \boxed{}."
41
+ - When evaluating model performance, it is recommended to conduct multiple tests and average the results. <br>
42
+
43
+ ## Output:
44
+ **Output Type(s):** Text <br>
45
+ **Output Format:** String <br>
46
+ **Output Parameters:** 1D (One Dimensional): Sequences <br>
47
+
48
+ ## Software Integration:
49
+ **Supported Runtime Engine(s):** <br>
50
+ * Tensor(RT)-LLM <br>
51
+
52
+ **Supported Hardware Microarchitecture Compatibility:** <br>
53
+ * NVIDIA Blackwell <br>
54
+
55
+ **Preferred Operating System(s):** <br>
56
+ * Linux <br>
57
+
58
+ ## Model Version(s):
59
+ ** The model is quantized with nvidia-modelopt **v0.31.0** <br>
60
+
61
+ ## Training Dataset: <br>
62
+ ** Data Collection Method by dataset: Hybrid: Human, Automated <br>
63
+ ** Labeling Method by dataset: Hybrid: Human, Automated <br>
64
+
65
+ ## Testing Dataset: <br>
66
+ ** Data Collection Method by dataset: Hybrid: Human, Automated <br>
67
+ ** Labeling Method by dataset: Hybrid: Human, Automated <br>
68
+
69
+ ## Evaluation Dataset: <br>
70
+ ** Data Collection Method by dataset: Hybrid: Human, Automated <br>
71
+ ** Labeling Method by dataset: Hybrid: Human, Automated <br>
72
+
73
+ ## Calibration Datasets:
74
+ * Calibration Dataset: [cnn_dailymail](https://huggingface.co/datasets/abisee/cnn_dailymail) <br>
75
+ ** Data collection method: Automated. <br>
76
+ ** Labeling method: Undisclosed. <br>
77
+
78
+ ## Inference:
79
+ **Engine:** Tensor(RT)-LLM <br>
80
+ **Test Hardware:** B200 <br>
81
+
82
+ ## Post Training Quantization
83
+ This model was obtained by quantizing the weights and activations of DeepSeek R1 to FP4 data type, ready for inference with TensorRT-LLM. Only the weights and activations of the linear operators within transformer blocks are quantized. This optimization reduces the number of bits per parameter from 8 to 4, reducing the disk size and GPU memory requirements by approximately 1.6x.
84
+
85
+ ## Usage
86
+
87
+ ### Deploy with TensorRT-LLM
88
+
89
+ To deploy the quantized FP4 checkpoint with [TensorRT-LLM](https://github.com/NVIDIA/TensorRT-LLM) LLM API, follow the sample codes below (you need 8xB200 GPU and TensorRT LLM built from source with the latest main branch):
90
+
91
+ * LLM API sample usage:
92
+ ```
93
+ from tensorrt_llm import SamplingParams
94
+ from tensorrt_llm._torch import LLM
95
+
96
+ def main():
97
+
98
+ prompts = [
99
+ "Hello, my name is",
100
+ "The president of the United States is",
101
+ "The capital of France is",
102
+ "The future of AI is",
103
+ ]
104
+ sampling_params = SamplingParams(max_tokens=32)
105
+
106
+ llm = LLM(model="nvidia/DeepSeek-R1-0528-FP4", tensor_parallel_size=8, enable_attention_dp=True)
107
+
108
+ outputs = llm.generate(prompts, sampling_params)
109
+
110
+ # Print the outputs.
111
+ for output in outputs:
112
+ prompt = output.prompt
113
+ generated_text = output.outputs[0].text
114
+ print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")
115
+
116
+
117
+ # The entry point of the program need to be protected for spawning processes.
118
+ if __name__ == '__main__':
119
+ main()
120
+
121
+ ```
122
+
123
+ ### Evaluation
124
+ The accuracy benchmark results are presented in the table below:
125
+ <table>
126
+ <tr>
127
+ <td><strong>Precision</strong>
128
+ </td>
129
+ <td><strong>MMLU Pro</strong>
130
+ </td>
131
+ <td><strong>GPQA Diamond</strong>
132
+ </td>
133
+ <td><strong>LiveCodeBench</strong>
134
+ </td>
135
+ <td><strong>SCICODE</strong>
136
+ </td>
137
+ <td><strong>MATH-500</strong>
138
+ </td>
139
+ <td><strong>AIME 2024</strong>
140
+ </td>
141
+ </tr>
142
+ <tr>
143
+ <td>FP8 (AA Ref)
144
+ </td>
145
+ <td>85
146
+ </td>
147
+ <td>81
148
+ </td>
149
+ <td>77
150
+ </td>
151
+ <td>40
152
+ </td>
153
+ <td>98
154
+ </td>
155
+ <td>89
156
+ </td>
157
+ </tr>
158
+ <tr>
159
+ <td>FP4
160
+ </td>
161
+ <td>84.2
162
+ </td>
163
+ <td>80.0
164
+ </td>
165
+ <td>76.3
166
+ </td>
167
+ <td>40.1
168
+ </td>
169
+ <td>98.1
170
+ </td>
171
+ <td>91.3
172
+ </td>
173
+ </tr>
174
+ <tr>
175
+ </table>
176
+
177
+ ## Model Limitations:
178
+ The base model was trained on data that contains toxic language and societal biases originally crawled from the internet. Therefore, the model may amplify those biases and return toxic responses especially when prompted with toxic prompts. The model may generate answers that may be inaccurate, omit key information, or include irrelevant or redundant text producing socially unacceptable or undesirable text, even if the prompt itself does not include anything explicitly offensive.
179
+
180
+ ## Ethical Considerations
181
+
182
+ NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
183
+
184
+ Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
185
+
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "bos_token_id": 0,
13
+ "eos_token_id": 1,
14
+ "ep_size": 1,
15
+ "first_k_dense_replace": 3,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 7168,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 18432,
20
+ "kv_lora_rank": 512,
21
+ "max_position_embeddings": 163840,
22
+ "model_type": "deepseek_v3",
23
+ "moe_intermediate_size": 2048,
24
+ "moe_layer_freq": 1,
25
+ "n_group": 8,
26
+ "n_routed_experts": 256,
27
+ "n_shared_experts": 1,
28
+ "norm_topk_prob": true,
29
+ "num_attention_heads": 128,
30
+ "num_experts_per_tok": 8,
31
+ "num_hidden_layers": 61,
32
+ "num_key_value_heads": 128,
33
+ "num_nextn_predict_layers": 1,
34
+ "q_lora_rank": 1536,
35
+ "qk_nope_head_dim": 128,
36
+ "qk_rope_head_dim": 64,
37
+ "rms_norm_eps": 1e-06,
38
+ "rope_scaling": {
39
+ "beta_fast": 32,
40
+ "beta_slow": 1,
41
+ "factor": 40,
42
+ "mscale": 1.0,
43
+ "mscale_all_dim": 1.0,
44
+ "original_max_position_embeddings": 4096,
45
+ "type": "yarn"
46
+ },
47
+ "rope_theta": 10000,
48
+ "routed_scaling_factor": 2.5,
49
+ "scoring_func": "sigmoid",
50
+ "tie_word_embeddings": false,
51
+ "topk_group": 4,
52
+ "topk_method": "noaux_tc",
53
+ "torch_dtype": "bfloat16",
54
+ "transformers_version": "4.46.3",
55
+ "use_cache": true,
56
+ "v_head_dim": 128,
57
+ "vocab_size": 129280
58
+ }
configuration_deepseek.py ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Adapted from https://huggingface.co/deepseek-ai/DeepSeek-R1-0528/blob/main/configuration_deepseek.py
2
+ # MIT License
3
+
4
+ # Copyright (c) 2023 DeepSeek
5
+
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ # of this software and associated documentation files (the "Software"), to deal
8
+ # in the Software without restriction, including without limitation the rights
9
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ # copies of the Software, and to permit persons to whom the Software is
11
+ # furnished to do so, subject to the following conditions:
12
+
13
+ # The above copyright notice and this permission notice shall be included in all
14
+ # copies or substantial portions of the Software.
15
+
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ # SOFTWARE.
23
+
24
+ # SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
25
+ # SPDX-License-Identifier: Apache-2.0
26
+ #
27
+ # Licensed under the Apache License, Version 2.0 (the "License");
28
+ # you may not use this file except in compliance with the License.
29
+ # You may obtain a copy of the License at
30
+ #
31
+ # http://www.apache.org/licenses/LICENSE-2.0
32
+ #
33
+ # Unless required by applicable law or agreed to in writing, software
34
+ # distributed under the License is distributed on an "AS IS" BASIS,
35
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
36
+ # See the License for the specific language governing permissions and
37
+ # limitations under the License.
38
+
39
+
40
+ from transformers.configuration_utils import PretrainedConfig
41
+ from transformers.utils import logging
42
+
43
+ logger = logging.get_logger(__name__)
44
+
45
+ DEEPSEEK_PRETRAINED_CONFIG_ARCHIVE_MAP = {}
46
+ class DeepseekV3Config(PretrainedConfig):
47
+ r"""
48
+ This is the configuration class to store the configuration of a [`DeepseekV3Model`]. It is used to instantiate an DeepSeek
49
+ model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
50
+ defaults will yield a similar configuration to that of the DeepSeek-V3.
51
+
52
+ Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
53
+ documentation from [`PretrainedConfig`] for more information.
54
+
55
+
56
+ Args:
57
+ vocab_size (`int`, *optional*, defaults to 129280):
58
+ Vocabulary size of the Deep model. Defines the number of different tokens that can be represented by the
59
+ `inputs_ids` passed when calling [`DeepseekV3Model`]
60
+ hidden_size (`int`, *optional*, defaults to 4096):
61
+ Dimension of the hidden representations.
62
+ intermediate_size (`int`, *optional*, defaults to 11008):
63
+ Dimension of the MLP representations.
64
+ moe_intermediate_size (`int`, *optional*, defaults to 1407):
65
+ Dimension of the MoE representations.
66
+ num_hidden_layers (`int`, *optional*, defaults to 32):
67
+ Number of hidden layers in the Transformer decoder.
68
+ num_nextn_predict_layers (`int`, *optional*, defaults to 1):
69
+ Number of nextn predict layers in the DeepSeekV3 Model.
70
+ num_attention_heads (`int`, *optional*, defaults to 32):
71
+ Number of attention heads for each attention layer in the Transformer decoder.
72
+ n_shared_experts (`int`, *optional*, defaults to None):
73
+ Number of shared experts, None means dense model.
74
+ n_routed_experts (`int`, *optional*, defaults to None):
75
+ Number of routed experts, None means dense model.
76
+ routed_scaling_factor (`float`, *optional*, defaults to 1.0):
77
+ Scaling factor or routed experts.
78
+ topk_method (`str`, *optional*, defaults to `gready`):
79
+ Topk method used in routed gate.
80
+ n_group (`int`, *optional*, defaults to None):
81
+ Number of groups for routed experts.
82
+ topk_group (`int`, *optional*, defaults to None):
83
+ Number of selected groups for each token(for each token, ensuring the selected experts is only within `topk_group` groups).
84
+ num_experts_per_tok (`int`, *optional*, defaults to None):
85
+ Number of selected experts, None means dense model.
86
+ moe_layer_freq (`int`, *optional*, defaults to 1):
87
+ The frequency of the MoE layer: one expert layer for every `moe_layer_freq - 1` dense layers.
88
+ first_k_dense_replace (`int`, *optional*, defaults to 0):
89
+ Number of dense layers in shallow layers(embed->dense->dense->...->dense->moe->moe...->lm_head).
90
+ \--k dense layers--/
91
+ norm_topk_prob (`bool`, *optional*, defaults to False):
92
+ Whether to normalize the weights of the routed experts.
93
+ scoring_func (`str`, *optional*, defaults to 'softmax'):
94
+ Method of computing expert weights.
95
+ aux_loss_alpha (`float`, *optional*, defaults to 0.001):
96
+ Auxiliary loss weight coefficient.
97
+ seq_aux = (`bool`, *optional*, defaults to True):
98
+ Whether to compute the auxiliary loss for each individual sample.
99
+ num_key_value_heads (`int`, *optional*):
100
+ This is the number of key_value heads that should be used to implement Grouped Query Attention. If
101
+ `num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
102
+ `num_key_value_heads=1 the model will use Multi Query Attention (MQA) otherwise GQA is used. When
103
+ converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
104
+ by meanpooling all the original heads within that group. For more details checkout [this
105
+ paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to
106
+ `num_attention_heads`.
107
+ hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
108
+ The non-linear activation function (function or string) in the decoder.
109
+ max_position_embeddings (`int`, *optional*, defaults to 2048):
110
+ The maximum sequence length that this model might ever be used with.
111
+ initializer_range (`float`, *optional*, defaults to 0.02):
112
+ The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
113
+ rms_norm_eps (`float`, *optional*, defaults to 1e-06):
114
+ The epsilon used by the rms normalization layers.
115
+ use_cache (`bool`, *optional*, defaults to `True`):
116
+ Whether or not the model should return the last key/values attentions (not used by all models). Only
117
+ relevant if `config.is_decoder=True`.
118
+ pad_token_id (`int`, *optional*):
119
+ Padding token id.
120
+ bos_token_id (`int`, *optional*, defaults to 1):
121
+ Beginning of stream token id.
122
+ eos_token_id (`int`, *optional*, defaults to 2):
123
+ End of stream token id.
124
+ tie_word_embeddings (`bool`, *optional*, defaults to `False`):
125
+ Whether to tie weight embeddings
126
+ rope_theta (`float`, *optional*, defaults to 10000.0):
127
+ The base period of the RoPE embeddings.
128
+ rope_scaling (`Dict`, *optional*):
129
+ Dictionary containing the scaling configuration for the RoPE embeddings. Currently supports two scaling
130
+ strategies: linear and dynamic. Their scaling factor must be a float greater than 1. The expected format is
131
+ `{"type": strategy name, "factor": scaling factor}`. When using this flag, don't update
132
+ `max_position_embeddings` to the expected new maximum.
133
+ attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):
134
+ Whether to use a bias in the query, key, value and output projection layers during self-attention.
135
+ attention_dropout (`float`, *optional*, defaults to 0.0):
136
+ The dropout ratio for the attention probabilities.
137
+
138
+ ```python
139
+ >>> from transformers import DeepseekV3Model, DeepseekV3Config
140
+
141
+ >>> # Initializing a Deepseek-V3 style configuration
142
+ >>> configuration = DeepseekV3Config()
143
+
144
+ >>> # Accessing the model configuration
145
+ >>> configuration = model.config
146
+ ```"""
147
+
148
+ model_type = "deepseek_v3"
149
+ keys_to_ignore_at_inference = ["past_key_values"]
150
+
151
+ def __init__(
152
+ self,
153
+ vocab_size=129280,
154
+ hidden_size=7168,
155
+ intermediate_size=18432,
156
+ moe_intermediate_size = 2048,
157
+ num_hidden_layers=61,
158
+ num_nextn_predict_layers=1,
159
+ num_attention_heads=128,
160
+ num_key_value_heads=128,
161
+ n_shared_experts = 1,
162
+ n_routed_experts = 256,
163
+ ep_size = 1,
164
+ routed_scaling_factor = 2.5,
165
+ kv_lora_rank = 512,
166
+ q_lora_rank = 1536,
167
+ qk_rope_head_dim = 64,
168
+ v_head_dim = 128,
169
+ qk_nope_head_dim = 128,
170
+ topk_method = 'noaux_tc',
171
+ n_group = 8,
172
+ topk_group = 4,
173
+ num_experts_per_tok = 8,
174
+ moe_layer_freq = 1,
175
+ first_k_dense_replace = 3,
176
+ norm_topk_prob = True,
177
+ scoring_func = 'sigmoid',
178
+ hidden_act="silu",
179
+ max_position_embeddings=4096,
180
+ initializer_range=0.02,
181
+ rms_norm_eps=1e-6,
182
+ use_cache=True,
183
+ pad_token_id=None,
184
+ bos_token_id=0,
185
+ eos_token_id=1,
186
+ tie_word_embeddings=False,
187
+ rope_theta=10000.0,
188
+ rope_scaling=None,
189
+ attention_bias=False,
190
+ attention_dropout=0.0,
191
+ **kwargs,
192
+ ):
193
+ self.vocab_size = vocab_size
194
+ self.max_position_embeddings = max_position_embeddings
195
+ self.hidden_size = hidden_size
196
+ self.intermediate_size = intermediate_size
197
+ self.moe_intermediate_size = moe_intermediate_size
198
+ self.num_hidden_layers = num_hidden_layers
199
+ self.num_nextn_predict_layers = num_nextn_predict_layers
200
+ self.num_attention_heads = num_attention_heads
201
+ self.n_shared_experts = n_shared_experts
202
+ self.n_routed_experts = n_routed_experts
203
+ self.ep_size = ep_size
204
+ self.routed_scaling_factor = routed_scaling_factor
205
+ self.kv_lora_rank = kv_lora_rank
206
+ self.q_lora_rank = q_lora_rank
207
+ self.qk_rope_head_dim = qk_rope_head_dim
208
+ self.v_head_dim = v_head_dim
209
+ self.qk_nope_head_dim = qk_nope_head_dim
210
+ self.topk_method = topk_method
211
+ self.n_group = n_group
212
+ self.topk_group = topk_group
213
+ self.num_experts_per_tok = num_experts_per_tok
214
+ self.moe_layer_freq = moe_layer_freq
215
+ self.first_k_dense_replace = first_k_dense_replace
216
+ self.norm_topk_prob = norm_topk_prob
217
+ self.scoring_func = scoring_func
218
+ # for backward compatibility
219
+ if num_key_value_heads is None:
220
+ num_key_value_heads = num_attention_heads
221
+
222
+ self.num_key_value_heads = num_key_value_heads
223
+ self.hidden_act = hidden_act
224
+ self.initializer_range = initializer_range
225
+ self.rms_norm_eps = rms_norm_eps
226
+ self.use_cache = use_cache
227
+ self.rope_theta = rope_theta
228
+ self.rope_scaling = rope_scaling
229
+ self.attention_bias = attention_bias
230
+ self.attention_dropout = attention_dropout
231
+
232
+ super().__init__(
233
+ pad_token_id=pad_token_id,
234
+ bos_token_id=bos_token_id,
235
+ eos_token_id=eos_token_id,
236
+ tie_word_embeddings=tie_word_embeddings,
237
+ **kwargs,
238
+ )
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "do_sample": true,
6
+ "temperature": 0.6,
7
+ "top_p": 0.95,
8
+ "transformers_version": "4.46.3"
9
+ }
hf_quant_config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "producer": {
3
+ "name": "modelopt",
4
+ "version": "0.31.0"
5
+ },
6
+ "quantization": {
7
+ "quant_algo": "NVFP4",
8
+ "kv_cache_quant_algo": "FP8",
9
+ "group_size": 16,
10
+ "has_zero_point": false,
11
+ "pre_quant_scale": true,
12
+ "exclude_modules": [
13
+ "lm_head",
14
+ "model.layers.0.self_attn*",
15
+ "model.layers.1.self_attn*",
16
+ "model.layers.10.self_attn*",
17
+ "model.layers.11.self_attn*",
18
+ "model.layers.12.self_attn*",
19
+ "model.layers.13.self_attn*",
20
+ "model.layers.14.self_attn*",
21
+ "model.layers.15.self_attn*",
22
+ "model.layers.16.self_attn*",
23
+ "model.layers.17.self_attn*",
24
+ "model.layers.18.self_attn*",
25
+ "model.layers.19.self_attn*",
26
+ "model.layers.2.self_attn*",
27
+ "model.layers.20.self_attn*",
28
+ "model.layers.21.self_attn*",
29
+ "model.layers.22.self_attn*",
30
+ "model.layers.23.self_attn*",
31
+ "model.layers.24.self_attn*",
32
+ "model.layers.25.self_attn*",
33
+ "model.layers.26.self_attn*",
34
+ "model.layers.27.self_attn*",
35
+ "model.layers.28.self_attn*",
36
+ "model.layers.29.self_attn*",
37
+ "model.layers.3.self_attn*",
38
+ "model.layers.30.self_attn*",
39
+ "model.layers.31.self_attn*",
40
+ "model.layers.32.self_attn*",
41
+ "model.layers.33.self_attn*",
42
+ "model.layers.34.self_attn*",
43
+ "model.layers.35.self_attn*",
44
+ "model.layers.36.self_attn*",
45
+ "model.layers.37.self_attn*",
46
+ "model.layers.38.self_attn*",
47
+ "model.layers.39.self_attn*",
48
+ "model.layers.4.self_attn*",
49
+ "model.layers.40.self_attn*",
50
+ "model.layers.41.self_attn*",
51
+ "model.layers.42.self_attn*",
52
+ "model.layers.43.self_attn*",
53
+ "model.layers.44.self_attn*",
54
+ "model.layers.45.self_attn*",
55
+ "model.layers.46.self_attn*",
56
+ "model.layers.47.self_attn*",
57
+ "model.layers.48.self_attn*",
58
+ "model.layers.49.self_attn*",
59
+ "model.layers.5.self_attn*",
60
+ "model.layers.50.self_attn*",
61
+ "model.layers.51.self_attn*",
62
+ "model.layers.52.self_attn*",
63
+ "model.layers.53.self_attn*",
64
+ "model.layers.54.self_attn*",
65
+ "model.layers.55.self_attn*",
66
+ "model.layers.56.self_attn*",
67
+ "model.layers.57.self_attn*",
68
+ "model.layers.58.self_attn*",
69
+ "model.layers.59.self_attn*",
70
+ "model.layers.6.self_attn*",
71
+ "model.layers.60.self_attn*",
72
+ "model.layers.7.self_attn*",
73
+ "model.layers.8.self_attn*",
74
+ "model.layers.9.self_attn*",
75
+ "model.layers.61*"
76
+ ]
77
+ }
78
+ }
model-00001-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbf04b49f4cdb3c2cb139d84e9701089cff14d08b95b969379aa5b57a63a9242
3
+ size 4832128352
model-00002-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac6cb6c4a30d18ee8d24c5237c1b0f9cb30ab24aa9f4e4758a8beb5125360720
3
+ size 2419597576
model-00003-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c280f0fc3241c685b033c26c92fd4c3fca34285f288922e3d8119ba7d779aa32
3
+ size 2419598384
model-00004-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca5f80f8d62248366271495d0a9a95953dd5fb06237231a3f8465207d475edd9
3
+ size 2690159456
model-00005-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a454d4577381ec2fb9511015c9a06024fe592949badd45d36d2efe24dc1a0f2
3
+ size 2419597944
model-00006-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bb8873103ba89dd16efad52e7846abe7a0ee40af47d4739f3503a82160b1001
3
+ size 2727779136
model-00007-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48a5a4d26db3e4a11d1bacdfd5c94e27bfc90b14750c165ee7ebca2d81b924e4
3
+ size 2423268408
model-00008-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b52d09d1147f1704bb39096221afbd992c6a1fe1114358975ddca79ea214361e
3
+ size 2419598352
model-00009-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f0274233de53fe22c50262c36d6154579af3cc29b83d3b2d601761b0475c810
3
+ size 2690159840
model-00010-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2658cef0619d4912da43964d312fa1448eac38f5e44e0313218367b888f8e7ae
3
+ size 2419597560
model-00011-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:360189a2c32647c16efbf465a9f2bb3f607e47f0848c6dbfca1eae455d8fa6dd
3
+ size 2419598384
model-00012-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ae7554ea1a6d65c9e194dd99254bc0797c9fd848a7be23fca94e2defc56ce9d
3
+ size 743249736
model-00013-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc6ed60abb1be1223979884405aad63f35e5eec42c28b73773bd19f834c90065
3
+ size 2690130224
model-00014-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d359af3e3ccf70794d83235e5d022392cb76ade1a34d4fd8797c588c212056a
3
+ size 2419598296
model-00015-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afbdb1f5da08dc38ecaf900ae8866e4687a3ec9e2b21b16d0cba7fa3d529b74a
3
+ size 2690159904
model-00016-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0ed219a52ec2d617ecc750963519df23d5e27160621d2fd964b506ba017a5bc
3
+ size 2419597504
model-00017-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbe5cb864267a27a55add115d27f9fdec6d47405f626de9774e0f79ed271de8e
3
+ size 2419598384
model-00018-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca0e49de986c19b866bf2c330ca91f8c0a092ee56e19ce832267f375174cc496
3
+ size 2690159520
model-00019-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b1db3ad16aea8afdcc667011dabc11addf41c20b4c10234508117578278ba21
3
+ size 2419597880
model-00020-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c016097de09ca54826380158d531ef7121ccc6f5aa44dbbe255dd4c80e817e7d
3
+ size 2419598392
model-00021-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4929c6acd11fa3f87465aef13e5ce7e3d24c83a1babac6d1c99c0201bba7985b
3
+ size 2690160248
model-00022-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05f55fd3fa47fcebc0c4910204672fb602b30f364cf088544c6ec1d67f7d33ba
3
+ size 2419599440
model-00023-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f861d34dfd9299c043ba0c351505bef3a107d8f95ea8a46ceda8a3ebf6f2625
3
+ size 2690161056
model-00024-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95362bd84e97a23460933f630b69d9ff720b7d1da15c544b97ade3481bcca444
3
+ size 2419598648
model-00025-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1db194b1d6a0f2c6a1935e5105622174007db387c79e6c1b5430bc3273c778b
3
+ size 2419599560
model-00026-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d181f80f2aaf9cb7bdf68e421b950d64a583a52420ce5fd0d3b411ed33c3ea66
3
+ size 2690160688
model-00027-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04ee66ce0f3e51f407d5a68e4b29c0b63e9bda0a5e88896c39a097aaba3a2dd2
3
+ size 2419599024
model-00028-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9167d91670023079e629de55d02be50a06a720b125da70b9556481b9f23e49d3
3
+ size 2419599560
model-00029-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecf62e772486af899afb440540803550480343b66e5dc096e1e4a8dea6a44154
3
+ size 2690160304
model-00030-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18dfa7d3ed08561b4109e83e49fe4a073ce5b1a23d374bce98dc5bab832f4948
3
+ size 2419599400
model-00031-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e471763de9f5ad8b12cc26be6f44d48c8ebcbb7f1c4a57f4eaabf112f7f57f
3
+ size 2690161096
model-00032-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd86c19b1c61cd171d5f573cd62a85d09baae34b54b678ceed921c522412a406
3
+ size 2419598608
model-00033-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4a2457ca0b979830ba5bdff1b9e17be8ec227c866a8adeeb455abc87a780761
3
+ size 2419599568
model-00034-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a69fad78c8fce390011d98b140789010e2fcb83129e7ca17ce1bce64bfd2b759
3
+ size 982732544
model-00035-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3898dfd91f59bec65c82ae04b707575501e32f43d2f1dfb26174912f01d0fd5
3
+ size 2690131360
model-00036-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e0fe82025efc32f27a290438b2e607c89ac394716e97b3c9b6cfa27e2480623
3
+ size 2419599464
model-00037-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77afb4330256683ef7962bf43cae8762f80fb0edf889be55073f421c3ad24930
3
+ size 2690161032
model-00038-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e2498c311a925d54212cee7d41ce4f98c345d788adcddcc749053292511e4bd
3
+ size 2419598672
model-00039-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ee6089eb7bfef59dde3b154b1e133f0034347b391b7ed3c903d6e6525b20ea9
3
+ size 2419599560
model-00040-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54bee64d4e307768da9a6bf437e00eec91e3a4986a2358d2d5eb41d915f4dd0e
3
+ size 2690160656
model-00041-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8fc96ae38097b90d1b4424f7610186ff7102cfa67930823a5500906f0398b7f
3
+ size 2419599056
model-00042-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2adea35e960e5e35f95c62c0bc97d883248aa79d186da815535336fb0ea914c3
3
+ size 2419599568
model-00043-of-000163.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bad155fdce361b40b328edbe35e3995cf6e149e1f798eba415db58ff998880fb
3
+ size 2690160264