Add library_name
#3
by
nielsr
HF Staff
- opened
- LICENSE +0 -9
- README.md +7 -54
- config.json +9 -0
LICENSE
DELETED
@@ -1,9 +0,0 @@
|
|
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
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
-
pipeline_tag: text-generation
|
3 |
base_model:
|
4 |
- deepseek-ai/DeepSeek-R1
|
5 |
-
|
|
|
6 |
---
|
7 |
# Model Overview
|
8 |
|
@@ -15,7 +15,7 @@ This model is ready for commercial/non-commercial use. <br>
|
|
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 |
-
[
|
19 |
|
20 |
|
21 |
## Model Architecture:
|
@@ -25,18 +25,18 @@ This model is not owned or developed by NVIDIA. This model has been developed an
|
|
25 |
## Input:
|
26 |
**Input Type(s):** Text <br>
|
27 |
**Input Format(s):** String <br>
|
28 |
-
**Input Parameters:** One Dimensional
|
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 |
-
*
|
40 |
|
41 |
**Supported Hardware Microarchitecture Compatibility:** <br>
|
42 |
* NVIDIA Blackwell <br>
|
@@ -57,7 +57,7 @@ The model is quantized with nvidia-modelopt **v0.23.0** <br>
|
|
57 |
|
58 |
|
59 |
## Inference:
|
60 |
-
**Engine:**
|
61 |
**Test Hardware:** B200 <br>
|
62 |
|
63 |
## Post Training Quantization
|
@@ -101,53 +101,6 @@ if __name__ == '__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 |
|
|
|
1 |
---
|
|
|
2 |
base_model:
|
3 |
- deepseek-ai/DeepSeek-R1
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
library_name: transformers
|
6 |
---
|
7 |
# Model Overview
|
8 |
|
|
|
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 |
+
[nvidia-open-model-license](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/)
|
19 |
|
20 |
|
21 |
## Model Architecture:
|
|
|
25 |
## Input:
|
26 |
**Input Type(s):** Text <br>
|
27 |
**Input Format(s):** String <br>
|
28 |
+
**Input Parameters:** 1D (One Dimensional): 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 (One Dimensional): Sequences <br>
|
35 |
**Other Properties Related to Output:** N/A <br>
|
36 |
|
37 |
## Software Integration:
|
38 |
**Supported Runtime Engine(s):** <br>
|
39 |
+
* Tensor(RT)-LLM <br>
|
40 |
|
41 |
**Supported Hardware Microarchitecture Compatibility:** <br>
|
42 |
* NVIDIA Blackwell <br>
|
|
|
57 |
|
58 |
|
59 |
## Inference:
|
60 |
+
**Engine:** Tensor(RT)-LLM <br>
|
61 |
**Test Hardware:** B200 <br>
|
62 |
|
63 |
## Post Training Quantization
|
|
|
101 |
|
102 |
```
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
|
105 |
## Ethical Considerations
|
106 |
|
config.json
CHANGED
@@ -36,6 +36,15 @@
|
|
36 |
"q_lora_rank": 1536,
|
37 |
"qk_nope_head_dim": 128,
|
38 |
"qk_rope_head_dim": 64,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
"rms_norm_eps": 1e-06,
|
40 |
"rope_scaling": {
|
41 |
"beta_fast": 32,
|
|
|
36 |
"q_lora_rank": 1536,
|
37 |
"qk_nope_head_dim": 128,
|
38 |
"qk_rope_head_dim": 64,
|
39 |
+
"quantization_config": {
|
40 |
+
"activation_scheme": "dynamic",
|
41 |
+
"fmt": "e4m3",
|
42 |
+
"quant_method": "fp8",
|
43 |
+
"weight_block_size": [
|
44 |
+
128,
|
45 |
+
128
|
46 |
+
]
|
47 |
+
},
|
48 |
"rms_norm_eps": 1e-06,
|
49 |
"rope_scaling": {
|
50 |
"beta_fast": 32,
|