Update README.md
Browse files
README.md
CHANGED
|
@@ -50,5 +50,71 @@ python3 quantize_quark.py --model_dir $MODEL_DIR \
|
|
| 50 |
|
| 51 |
This model can be deployed efficiently using the [SGLang](https://docs.sglang.ai/) backend.
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
# License
|
| 54 |
Modifications Copyright(c) 2025 Advanced Micro Devices, Inc. All rights reserved.
|
|
|
|
| 50 |
|
| 51 |
This model can be deployed efficiently using the [SGLang](https://docs.sglang.ai/) backend.
|
| 52 |
|
| 53 |
+
## Evaluation
|
| 54 |
+
|
| 55 |
+
The model was evaluated on AIME24, GPQA Diamond, and MATH-500 benchmarks using the [lighteval](https://github.com/huggingface/lighteval/tree/v0.10.0) framework. Each benchmark was run 10 times with different random seeds for reliable performance estimation.
|
| 56 |
+
|
| 57 |
+
### Accuracy
|
| 58 |
+
|
| 59 |
+
<table>
|
| 60 |
+
<tr>
|
| 61 |
+
<td><strong>Benchmark</strong>
|
| 62 |
+
</td>
|
| 63 |
+
<td><strong>DeepSeek-R1-0528 </strong>
|
| 64 |
+
</td>
|
| 65 |
+
<td><strong>DeepSeek-R1-0528-MXFP4(this model)</strong>
|
| 66 |
+
</td>
|
| 67 |
+
<td><strong>Recovery</strong>
|
| 68 |
+
</td>
|
| 69 |
+
</tr>
|
| 70 |
+
<tr>
|
| 71 |
+
<td>AIME24 pass@1
|
| 72 |
+
</td>
|
| 73 |
+
<td>88.00
|
| 74 |
+
</td>
|
| 75 |
+
<td>87.67
|
| 76 |
+
</td>
|
| 77 |
+
<td>99.62%
|
| 78 |
+
</td>
|
| 79 |
+
</tr>
|
| 80 |
+
<tr>
|
| 81 |
+
<td>GPQA Diamond pass@1
|
| 82 |
+
</td>
|
| 83 |
+
<td>79.90
|
| 84 |
+
</td>
|
| 85 |
+
<td>79.65
|
| 86 |
+
</td>
|
| 87 |
+
<td>99.69%
|
| 88 |
+
</td>
|
| 89 |
+
</tr>
|
| 90 |
+
<tr>
|
| 91 |
+
<td>MATH-500 pass@1
|
| 92 |
+
</td>
|
| 93 |
+
<td>97.06
|
| 94 |
+
</td>
|
| 95 |
+
<td>96.90
|
| 96 |
+
</td>
|
| 97 |
+
<td>99.84%
|
| 98 |
+
</td>
|
| 99 |
+
</tr>
|
| 100 |
+
</table>
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
### Reproduction
|
| 104 |
+
|
| 105 |
+
The results were obtained using the following commands, with custom tasks and 10 rounds using different random seeds.
|
| 106 |
+
|
| 107 |
+
```
|
| 108 |
+
MODEL_ARGS="model_name=amd/DeepSeek-R1-0528-MXFP4-ASQ,dtype=bfloat16,tensor_parallel_size=8,max_model_length=71536,max_num_batched_tokens=32768,gpu_memory_utilization=0.85,generation_parameters={max_new_tokens:65536,temperature:0.6,top_p:0.95,seed:$SEED}"
|
| 109 |
+
OUTPUT_DIR="results/DeepSeek-R1-0528-MXFP4-ASQ-Seed"
|
| 110 |
+
LOG="logs/deepseek_0528_maxfp4.log"
|
| 111 |
+
|
| 112 |
+
lighteval vllm $MODEL_ARGS "custom|aime24_single|0|0,custom|math_500_single|0|0,custom|gpqa:diamond_single|0|0" \
|
| 113 |
+
--use-chat-template \
|
| 114 |
+
--output-dir "results/DeepSeek-R1-0528-MXFP4-ASQ-Seed/seed_$SEED" \
|
| 115 |
+
2>&1 | tee -a "$LOG"
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
|
| 119 |
# License
|
| 120 |
Modifications Copyright(c) 2025 Advanced Micro Devices, Inc. All rights reserved.
|