bdellabe commited on
Commit
526256f
·
verified ·
1 Parent(s): 447a4a0

Add files using upload-large-folder tool

Browse files
Files changed (43) hide show
  1. README.md +145 -24
  2. config.json +4 -3
  3. model-00001-of-00080.safetensors +2 -2
  4. model-00003-of-00080.safetensors +2 -2
  5. model-00005-of-00080.safetensors +2 -2
  6. model-00007-of-00080.safetensors +2 -2
  7. model-00008-of-00080.safetensors +2 -2
  8. model-00009-of-00080.safetensors +2 -2
  9. model-00013-of-00080.safetensors +2 -2
  10. model-00014-of-00080.safetensors +2 -2
  11. model-00015-of-00080.safetensors +2 -2
  12. model-00017-of-00080.safetensors +2 -2
  13. model-00018-of-00080.safetensors +2 -2
  14. model-00019-of-00080.safetensors +2 -2
  15. model-00020-of-00080.safetensors +2 -2
  16. model-00021-of-00080.safetensors +2 -2
  17. model-00024-of-00080.safetensors +2 -2
  18. model-00025-of-00080.safetensors +2 -2
  19. model-00027-of-00080.safetensors +2 -2
  20. model-00028-of-00080.safetensors +2 -2
  21. model-00029-of-00080.safetensors +2 -2
  22. model-00032-of-00080.safetensors +2 -2
  23. model-00033-of-00080.safetensors +2 -2
  24. model-00034-of-00080.safetensors +2 -2
  25. model-00037-of-00080.safetensors +2 -2
  26. model-00038-of-00080.safetensors +2 -2
  27. model-00042-of-00080.safetensors +2 -2
  28. model-00044-of-00080.safetensors +2 -2
  29. model-00045-of-00080.safetensors +2 -2
  30. model-00047-of-00080.safetensors +2 -2
  31. model-00051-of-00080.safetensors +2 -2
  32. model-00052-of-00080.safetensors +2 -2
  33. model-00054-of-00080.safetensors +2 -2
  34. model-00055-of-00080.safetensors +2 -2
  35. model-00062-of-00080.safetensors +2 -2
  36. model-00066-of-00080.safetensors +2 -2
  37. model-00067-of-00080.safetensors +2 -2
  38. model-00068-of-00080.safetensors +2 -2
  39. model-00070-of-00080.safetensors +2 -2
  40. model-00072-of-00080.safetensors +2 -2
  41. model-00079-of-00080.safetensors +2 -2
  42. model.safetensors.index.json +2 -2
  43. old_config.json +115 -0
README.md CHANGED
@@ -4,32 +4,153 @@ base_model:
4
  - deepseek-ai/DeepSeek-R1
5
  license: mit
6
  ---
 
7
 
8
- Results from running `vllm serve RedHatAI/DeepSeek-R1-NVFP4-FP8-BLOCK --tensor-parallel-size=4` on 4 B200s, with `python vllm/tests/evals/gsm8k/gsm8k_eval.py --port 8000`:
 
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ```
11
- Running GSM8K evaluation: 1319 questions, 5-shot
12
- Evaluating: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1319/1319 [01:49<00:00, 12.09it/s]
13
-
14
- Results:
15
- Accuracy: 0.952
16
- Invalid responses: 0.000
17
- Total latency: 109.097 s
18
- Questions per second: 12.090
19
- Total output tokens: 124914
20
- Output tokens per second: 1144.985
21
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
- Compare to results with `nvidia/DeepSeek-R1-NVFP4`
24
  ```
25
- Running GSM8K evaluation: 1319 questions, 5-shot
26
- Evaluating: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████��███████| 1319/1319 [01:52<00:00, 11.74it/s]
27
-
28
- Results:
29
- Accuracy: 0.954
30
- Invalid responses: 0.000
31
- Total latency: 112.357 s
32
- Questions per second: 11.739
33
- Total output tokens: 128126
34
- Output tokens per second: 1140.344
35
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  - deepseek-ai/DeepSeek-R1
5
  license: mit
6
  ---
7
+ # Model Overview
8
 
9
+ ## Description:
10
+ The NVIDIA DeepSeek R1 FP4 model is the quantized version of the DeepSeek AI's DeepSeek R1 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). The NVIDIA DeepSeek R1 FP4 model is quantized with [TensorRT Model Optimizer](https://github.com/NVIDIA/TensorRT-Model-Optimizer).
11
 
12
+ This model is ready for commercial/non-commercial use. <br>
13
+
14
+ ## Third-Party Community Consideration
15
+ 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).
16
+
17
+ ### License/Terms of Use:
18
+ [MIT](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/mit.md)
19
+
20
+
21
+ ## Model Architecture:
22
+ **Architecture Type:** Transformers <br>
23
+ **Network Architecture:** DeepSeek R1 <br>
24
+
25
+ ## Input:
26
+ **Input Type(s):** Text <br>
27
+ **Input Format(s):** String <br>
28
+ **Input Parameters:** One Dimensional(1D): Sequences <br>
29
+ **Other Properties Related to Input:** Context length up to 128K <br>
30
+
31
+ ## Output:
32
+ **Output Type(s):** Text <br>
33
+ **Output Format:** String <br>
34
+ **Output Parameters:** 1D: Sequences <br>
35
+ **Other Properties Related to Output:** N/A <br>
36
+
37
+ ## Software Integration:
38
+ **Supported Runtime Engine(s):** <br>
39
+ * TensorRT-LLM <br>
40
+
41
+ **Supported Hardware Microarchitecture Compatibility:** <br>
42
+ * NVIDIA Blackwell <br>
43
+
44
+ **Preferred Operating System(s):** <br>
45
+ * Linux <br>
46
+
47
+ ## Model Version(s):
48
+ The model is quantized with nvidia-modelopt **v0.23.0** <br>
49
+
50
+ ## Datasets:
51
+ * Calibration Dataset: [cnn_dailymail](https://huggingface.co/datasets/abisee/cnn_dailymail) <br>
52
+ ** Data collection method: Automated. <br>
53
+ ** Labeling method: Unknown. <br>
54
+ * Evaluation Dataset: [MMLU](https://github.com/hendrycks/test) <br>
55
+ ** Data collection method: Unknown. <br>
56
+ ** Labeling method: N/A. <br>
57
+
58
+
59
+ ## Inference:
60
+ **Engine:** TensorRT-LLM <br>
61
+ **Test Hardware:** B200 <br>
62
+
63
+ ## Post Training Quantization
64
+ 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 transformers 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.
65
+
66
+ ## Usage
67
+
68
+ ### Deploy with TensorRT-LLM
69
+
70
+ 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):
71
+
72
+ * LLM API sample usage:
73
  ```
74
+ from tensorrt_llm import SamplingParams
75
+ from tensorrt_llm._torch import LLM
76
+
77
+ def main():
78
+
79
+ prompts = [
80
+ "Hello, my name is",
81
+ "The president of the United States is",
82
+ "The capital of France is",
83
+ "The future of AI is",
84
+ ]
85
+ sampling_params = SamplingParams(max_tokens=32)
86
+
87
+ llm = LLM(model="nvidia/DeepSeek-R1-FP4", tensor_parallel_size=8, enable_attention_dp=True)
88
+
89
+ outputs = llm.generate(prompts, sampling_params)
90
+
91
+ # Print the outputs.
92
+ for output in outputs:
93
+ prompt = output.prompt
94
+ generated_text = output.outputs[0].text
95
+ print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")
96
+
97
+
98
+ # The entry point of the program need to be protected for spawning processes.
99
+ if __name__ == '__main__':
100
+ main()
101
 
 
102
  ```
103
+
104
+ ### Evaluation
105
+ The accuracy benchmark results are presented in the table below:
106
+ <table>
107
+ <tr>
108
+ <td><strong>Precision</strong>
109
+ </td>
110
+ <td><strong>MMLU</strong>
111
+ </td>
112
+ <td><strong>GSM8K</strong>
113
+ </td>
114
+ <td><strong>AIME2024</strong>
115
+ </td>
116
+ <td><strong>GPQA Diamond</strong>
117
+ </td>
118
+ <td><strong>MATH-500</strong>
119
+ </td>
120
+ </tr>
121
+ <tr>
122
+ <td>FP8
123
+ </td>
124
+ <td>90.8
125
+ </td>
126
+ <td>96.3
127
+ </td>
128
+ <td>80.0
129
+ </td>
130
+ <td>69.7
131
+ </td>
132
+ <td>95.4
133
+ </td>
134
+ </tr>
135
+ <tr>
136
+ <td>FP4
137
+ </td>
138
+ <td>90.7
139
+ </td>
140
+ <td>96.1
141
+ </td>
142
+ <td>80.0
143
+ </td>
144
+ <td>69.2
145
+ </td>
146
+ <td>94.2
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ </table>
151
+
152
+ ## Ethical Considerations
153
+
154
+ 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.
155
+
156
+ Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
config.json CHANGED
@@ -40,6 +40,7 @@
40
  "config_groups": {
41
  "config_group_0": {
42
  "targets": [
 
43
  "re:.*self_attn.(o_proj|q_b_proj).*"
44
  ],
45
  "weights": {
@@ -56,7 +57,7 @@
56
  "actorder": null,
57
  "scale_dtype": null,
58
  "zp_dtype": null,
59
- "observer": "static_minmax",
60
  "observer_kwargs": {}
61
  },
62
  "input_activations": {
@@ -91,7 +92,7 @@
91
  "actorder": null,
92
  "scale_dtype": "torch.float8_e4m3fn",
93
  "zp_dtype": null,
94
- "observer": "static_minmax",
95
  "observer_kwargs": {}
96
  },
97
  "input_activations": {
@@ -118,7 +119,7 @@
118
  "quantization_status": "compressed",
119
  "global_compression_ratio": null,
120
  "ignore": [
121
- "re:.*self_attn.(kv_a_proj_with_mqa|kv_b_proj|q_a_proj)$"
122
  ]
123
  },
124
  "rms_norm_eps": 1e-06,
 
40
  "config_groups": {
41
  "config_group_0": {
42
  "targets": [
43
+ "re:.*self_attn.(kv_a_proj_with_mqa|q_a_proj)$",
44
  "re:.*self_attn.(o_proj|q_b_proj).*"
45
  ],
46
  "weights": {
 
57
  "actorder": null,
58
  "scale_dtype": null,
59
  "zp_dtype": null,
60
+ "observer": "memoryless_minmax",
61
  "observer_kwargs": {}
62
  },
63
  "input_activations": {
 
92
  "actorder": null,
93
  "scale_dtype": "torch.float8_e4m3fn",
94
  "zp_dtype": null,
95
+ "observer": "memoryless_minmax",
96
  "observer_kwargs": {}
97
  },
98
  "input_activations": {
 
119
  "quantization_status": "compressed",
120
  "global_compression_ratio": null,
121
  "ignore": [
122
+ "re:.*self_attn.kv_b_proj$"
123
  ]
124
  },
125
  "rms_norm_eps": 1e-06,
model-00001-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c577c1f8f9039f367a10f952371d685462562194dd8bcf413428b38dd13f4916
3
- size 4747304092
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddbdea3126f86461cc6e0a754a81d4e9cada1a5a1166d55dc27f8c64b381e572
3
+ size 4686754212
model-00003-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:37bae77e9794030d439280a70fc4418869137614a5404f7e43577d7e2f4e4e75
3
- size 5210583888
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7808defe3cbfd53f03684edfee441788cf164155bbe04df9ddbade63a29eb8c
3
+ size 5195435688
model-00005-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7144aa9a8c550b60cee4d8c2aef27374ac587470823684bb9666096a3bcd6284
3
- size 5210598400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2624a747e615f7021e5a867c5552dcc3265bbc600c5b3f3a2c8c19f17d16e572
3
+ size 5195450192
model-00007-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:efe393d136e827b35a1eff9878d1eb1c66db2f4166418a45869243f36d369691
3
- size 5210598856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce98120048c5cde10600ad47d7206c2d8d3b648f75c14674f9a230e288a7f284
3
+ size 5195450648
model-00008-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f0baafdbe7d4aeaded563fe4b0eef3e6e66dacefe972fa477c11930b700b290d
3
- size 5210569368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e204042e014a7eaaad90be918cf5d469a32033c6468c2bf0d4aa36e4bd8a4c6
3
+ size 5195421160
model-00009-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9ec7c6811d2c482bd77c4128f74782f5ec941e16e072f740b947488598597a0
3
- size 5210598160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c0811581fa31ab8fc38243eb05f48675edff40e119f39e40b9d0f2f794d216c
3
+ size 5195449952
model-00013-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bf9e4834a74d8344a10a095329582843d6173cd663fef17118ac4915b8f74d3a
3
- size 5210571728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:460cfb80f78286973006b2ab1a09697016ee56ed9bf8d524f9967d2061406b70
3
+ size 5195423520
model-00014-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:553ccfd57d0d093d16f4b8bde805a16b5e60c0cb3200b13c10bf6e8aac092aa5
3
- size 5210600712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:649b47a429c4d5672bc1a8fc311763180d1cde7be745d1e0f44c29f443c0d927
3
+ size 5195452512
model-00015-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a11d0b87f06a1962bc808e1dc1f47b9fc83f97f3332c2e50c64d696f262197c0
3
- size 5210600728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7074a7eecaf8c113a3299c3909e6dbdc5bfc3453a647c6e0c529b40620fd3cc9
3
+ size 5195452528
model-00017-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f0ecb572a8ed62d65d7e9864bb933d412f3e71b3893ac141c7cfd5045dbcc0ac
3
- size 5210586800
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67af704ba8869984abe9a086e81d1eea7ddf9cfd8a76c94e717ce7014a29b38b
3
+ size 5195438600
model-00018-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7cb5bad119fcfe28183208add8b7975041d633c6149cc0157682cd81a50864d7
3
- size 5210586120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f02c36d8965ab020a1c7891ee5bf8d6409df0d009a3f4f2f55735828cf51a68
3
+ size 5195437920
model-00019-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f793316e80367c6702fd3208be83e6a020cc47a8be83fee9fb03682cae471ca5
3
- size 5210600736
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04835f5e0a306f964ea8d42cd247c64c11478ec34bd49397e47a5e9ed32f7e88
3
+ size 5195452528
model-00020-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a38165ff3220725f456f9775cdd53a462ba503e31b7f5c71b6403d7da4455ba
3
- size 5148980796
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0548af8e6f0e9af0929480b2a9c5814384f5b6cc5fa3b767c0f4935ea8b8081
3
+ size 5144840964
model-00021-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b83e35861c1dcc15ed0db840acc736c99c95943438871ab164cd7f0ac3459902
3
- size 5094080624
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3553b92ea19659ee6228bd00acc2b89be46da7d1df89427e183fe0aa0137c497
3
+ size 5067924360
model-00024-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:502b718fb358b10aed72e3852a22eb13f9255c5530d0d66861cf5ba425674add
3
- size 5210600712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cac149e544ffd32b1142021f06d2a3b21fd0dbe104465a08d77c688fbaa3de2d
3
+ size 5195452504
model-00025-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5bb05d262f58434ed53d19b87f5d404090bf46a24ebfc98f5f8bca0cf81994c8
3
- size 5210600984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b475679e93e22dcb48fed7c2e66004c9ad33d436964aa570bf68424dde5d08a
3
+ size 5195452776
model-00027-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:012b5473570f76fde57596a142a45a0f11504ae22238bd85319f92ac49505be8
3
- size 5210586536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:095cb6550dc2352de9175807bdf77ddad67e56adcb9117d1584869073e4840cc
3
+ size 5195438328
model-00028-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0e72abc9f9a3fb530b7e0f94b08b7c89a393c5730061e7426a20697fade6edec
3
- size 5210586120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d4342eb40e2e84f244b40e027f94426a8f35f433797b2b5a49a3072e87a7693
3
+ size 5195437920
model-00029-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a30ac8b1afa9b920c53f488660eff7870a9ac66aefc4d16e580d93997746550
3
- size 5210600984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cce00297a42ffab3b1e056a7f368c12dfb279837142087e3571f0fc51f9f53f5
3
+ size 5195452776
model-00032-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1540a5594d1b931fcc62d576750719cf02db33b2337db3470a03746dcb2a1961
3
- size 5206914204
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77dbe478f57c6c2db58e42bf1509ae0759188b3a0ada53388379e7a0fc7a46a2
3
+ size 5191765988
model-00033-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e5731e61c36494d02d468d70a7ed1c244eb6b821afbf1cd6e18c4f1c61db4dcf
3
- size 5210586120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42d258270b07b56532df9919a05d83651dca5dd4c222ef38ef26470e6fc88aaa
3
+ size 5195437920
model-00034-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dab5fcebc49b46e58963501164212bed091ed15ab899b0057c376527f2f8b484
3
- size 5210600712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b265435e10625fc707ef554d489b41aa4c9bb17c627ac703183cb7f0e7efe3f
3
+ size 5195452512
model-00037-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a88290928247e75f29a7af41cb722d5741cd85adf7764cc4afdc2ad19ec77f62
3
- size 5210586368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddbc893603b8e0106391d81f199b08d270ca44ea22eff36e93b9423ad820f062
3
+ size 5195438168
model-00038-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:43801398ed20fb8bb94eb1a7b8ffd75aa09a95c407a253405fab9d853841dc19
3
- size 5210586120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:768d501abeebe39a4d23d0686099afce58d3a1af58d99d855372259f4aef72e3
3
+ size 5195437920
model-00042-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0a68c91d1e4be1e42d27c609cd38be8ae6769af91b8022c8e275621628f28c6
3
- size 5210571856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3446ff0423431ab1b23626f2e2979e40b42033c775ca34fad5e86a75a864fefb
3
+ size 5195423648
model-00044-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7dd013f867ca92af05a8619e11deddf0eeea8130d680505624568a9905ddca5f
3
- size 5210600712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f542759b658a83f5dce1d105c9833c6a941c9ea4e5a2890514817f912dddfab
3
+ size 5195452512
model-00045-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3c59c2f007f79796204f89282f735ecfee822c67901c8b81f83ee9337c9a468
3
- size 5210601272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a2d73a155ec921a581f5aad47f1b666ac06b53ce467bf14f8b22c4e22294ffd
3
+ size 5195453064
model-00047-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:079e31b088d7881605cda369c7cd3131443740899e051536ccc591d58d0a8afe
3
- size 5210586216
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:430116dd6133aae72982dca9c7a908bafa1f4a074909e762d23fb61430ae694b
3
+ size 5195438008
model-00051-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6820b57b4e50972a8dd8d1198efb54c17a44e9e1567dbe1c16761aee27c771e1
3
- size 5210601296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03e15561ddb96416cdf7ac89c485dd03f3c21ca40605d79d2e0e1f346a159bdd
3
+ size 5195453096
model-00052-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c0b212edf1d350fda896e43581343c8604c827d2ae9b0726b0052824b7e65f6
3
- size 5210571688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:194dc3792fcf180b2c1e045516377a71793e4913c47bb3247c9c181ce6da2761
3
+ size 5195423480
model-00054-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:24136263254bd6b9b79239c02263ffc760ba4602a0898490ae45d5cf270e3338
3
- size 5210600624
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4694717aed6ff3863601c42cd0f6a119c5c618bafd6f37d7d14cd83e661a22d
3
+ size 5195452416
model-00055-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9c9442436b8f42c58099db37411c7e3552b548e7c440069709ec7993540d96c
3
- size 5210601344
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c32299c8946b40736880ddc38493e13036031db45925991808217eb1f1e0a8f6
3
+ size 5195453144
model-00062-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b186ce6995b7989b774c929b62d486f5f250d578a1e003f225b39809e59ef9e6
3
- size 5210586120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:460492a615d3cc8190d8177f8547b9c15f4c03a1b790beba354a9aa7bb7d0e48
3
+ size 5195437912
model-00066-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8264d594762ed8db1c7bc88fe872abbc130eb53b3f42c56202ee24ae121cd05b
3
- size 5211504456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:827796efeb138b3067767208e53c9d18fede0a596e0087bb33fe38521ff735fa
3
+ size 5196356232
model-00067-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0af3bcf994ed93fd29a5a1a476f161e4c9d65a938ea2a70a2b8cf18915b71c5
3
- size 5210586120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72e37cc621f024f11829e9dfdb5209c1fabf602192e837eaa1e4765c60c7aba9
3
+ size 5195437912
model-00068-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:272c51491b7a9c1b70796bd6f7e4831cacda185b9e10472f519409689eb17365
3
- size 5210600944
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59b75afede2bdb54d46f49785394ae78b99d14ccb5e8be12ea5bfd74f07bc889
3
+ size 5195452744
model-00070-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1e30db5c5c9a00692000704543814e138015b70d0f50670e4e8709b11d42402
3
- size 5165247420
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bb89dcb1e6204fea6007a5320b4ff32cb2c3b0aef50e6440f3e832dd3cce5c0
3
+ size 5145971364
model-00072-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f11222b0fc6542f8af8223ab8580f4c3ae3b2261ee60c8dc7d78fdc4ee76298
3
- size 5211504000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a92f4dcf7447a0ba7ce60904ed1d357d56fa7d5da35f4adb58857db1a1cb47c
3
+ size 5196355784
model-00079-of-00080.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:88452f6262014b9e6037430abf81719d3ef6f13f5d8f76f7754c8679deda0445
3
- size 3640686792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b1c6a025aa30517a685976e247f9d9baa66d1212c1e57b09c3b9c441cbcdab2
3
+ size 3640685920
model.safetensors.index.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:752ecdc83164e3bfd02f906dcd790c6e3fdbc9dcf0e7b88d3ab78d8b9cd331f2
3
- size 18089328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f514dfcbf619648c797394c851bc00df043f37ccc71b2766a2220bfe08ecb46
3
+ size 17246002
old_config.json ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "eos_token_id": 1,
15
+ "ep_size": 1,
16
+ "first_k_dense_replace": 3,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 7168,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 18432,
21
+ "kv_lora_rank": 512,
22
+ "max_position_embeddings": 163840,
23
+ "model_type": "deepseek_v3",
24
+ "moe_intermediate_size": 2048,
25
+ "moe_layer_freq": 1,
26
+ "n_group": 8,
27
+ "n_routed_experts": 256,
28
+ "n_shared_experts": 1,
29
+ "norm_topk_prob": true,
30
+ "num_attention_heads": 128,
31
+ "num_experts_per_tok": 8,
32
+ "num_hidden_layers": 61,
33
+ "num_key_value_heads": 128,
34
+ "num_nextn_predict_layers": 1,
35
+ "pretraining_tp": 1,
36
+ "q_lora_rank": 1536,
37
+ "qk_nope_head_dim": 128,
38
+ "qk_rope_head_dim": 64,
39
+ "quantization_config": {
40
+ "config_groups": {
41
+ "config_group_0": {
42
+ "format": "float-quantized",
43
+ "input_activations": {
44
+ "actorder": null,
45
+ "block_structure": null,
46
+ "dynamic": true,
47
+ "group_size": 128,
48
+ "num_bits": 8,
49
+ "observer": null,
50
+ "observer_kwargs": {},
51
+ "scale_dtype": null,
52
+ "strategy": "group",
53
+ "symmetric": true,
54
+ "type": "float",
55
+ "zp_dtype": null
56
+ },
57
+ "output_activations": null,
58
+ "targets": [
59
+ "re:.*self_attn.(kv_a_proj_with_mqa|q_a_proj)$",
60
+ "re:.*self_attn.(o_proj|q_b_proj).*"
61
+ ],
62
+ "weights": {
63
+ "actorder": null,
64
+ "block_structure": [
65
+ 128,
66
+ 128
67
+ ],
68
+ "dynamic": false,
69
+ "group_size": null,
70
+ "num_bits": 8,
71
+ "observer": "memoryless_minmax",
72
+ "observer_kwargs": {},
73
+ "scale_dtype": null,
74
+ "strategy": "block",
75
+ "symmetric": true,
76
+ "type": "float",
77
+ "zp_dtype": null
78
+ }
79
+ }
80
+ },
81
+ "format": "float-quantized",
82
+ "global_compression_ratio": null,
83
+ "ignore": [
84
+ "re:.*self_attn.kv_b_proj$"
85
+ ],
86
+ "kv_cache_scheme": null,
87
+ "quant_method": "compressed-tensors",
88
+ "quantization_status": "compressed",
89
+ "sparsity_config": {},
90
+ "transform_config": {},
91
+ "version": "0.13.1.dev47+gcfc24ef"
92
+ },
93
+ "rms_norm_eps": 1e-06,
94
+ "rope_scaling": {
95
+ "beta_fast": 32,
96
+ "beta_slow": 1,
97
+ "factor": 40,
98
+ "mscale": 1.0,
99
+ "mscale_all_dim": 1.0,
100
+ "original_max_position_embeddings": 4096,
101
+ "type": "yarn"
102
+ },
103
+ "rope_theta": 10000,
104
+ "routed_scaling_factor": 2.5,
105
+ "scoring_func": "sigmoid",
106
+ "seq_aux": true,
107
+ "tie_word_embeddings": false,
108
+ "topk_group": 4,
109
+ "topk_method": "noaux_tc",
110
+ "torch_dtype": "bfloat16",
111
+ "transformers_version": "4.46.3",
112
+ "use_cache": true,
113
+ "v_head_dim": 128,
114
+ "vocab_size": 129280
115
+ }