Commit
·
65d4ba1
verified
·
0
Parent(s):
Duplicate from a-m-team/AM-DeepSeek-R1-0528-Distilled
Browse filesCo-authored-by: TianXiaoyu <Emperorizzis@users.noreply.huggingface.co>
- .gitattributes +65 -0
- AM-distilled.png +3 -0
- README.md +101 -0
- code.jsonl +3 -0
- if.jsonl +3 -0
- math.jsonl +3 -0
- multiturn.jsonl +3 -0
- other.jsonl +3 -0
- science.jsonl +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
# Video files - compressed
|
| 58 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
code.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
if.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
math.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
multiturn.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
other.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
science.jsonl filter=lfs diff=lfs merge=lfs -text
|
AM-distilled.png
ADDED
|
Git LFS Details
|
README.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
task_categories:
|
| 3 |
+
- text-generation
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
- zh
|
| 7 |
+
tags:
|
| 8 |
+
- reasoning
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1M<n<10M
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## 📘 Dataset Summary
|
| 14 |
+
|
| 15 |
+
This dataset is a high-quality reasoning corpus **distilled from DeepSeek-R1-0528**, an improved version of the DeepSeek-R1 large language model. Compared to its initial release, DeepSeek-R1-0528 demonstrates significant advances in reasoning, instruction following, and multi-turn dialogue. Motivated by these improvements, we collected and distilled a diverse set of **2.6 million queries** across multiple domains, using DeepSeek-R1-0528 as the teacher.
|
| 16 |
+
|
| 17 |
+
A notable characteristic of DeepSeek-R1-0528 is that its outputs are substantially longer than previous versions, especially in mathematics: for some math problems, the output length is **1.5 to 2 times longer** than earlier generations. This reflects more detailed, explicit step-by-step reasoning.
|
| 18 |
+
|
| 19 |
+
The dataset follows a unified format and verification pipeline, enabling direct comparison with other open-source distillation corpora. It is intended to support the development of next-generation language models with strong, verifiable reasoning abilities.
|
| 20 |
+
|
| 21 |
+
**Performance on this dataset training with [Qwen2.5-32B](https://huggingface.co/Qwen/Qwen2.5-32B).**
|
| 22 |
+
|
| 23 |
+
| Benchmark | [DeepSeek-R1-0528](https://huggingface.co/deepseek-ai/DeepSeek-R1-0528) | AM-DeepSeek-R1-0528-Distilled |
|
| 24 |
+
|-------------------|--------------------------|---------------------------|
|
| 25 |
+
| AIME2024 | 91.4 | 87.1 |
|
| 26 |
+
|
| 27 |
+
## 📂 Dataset Structure
|
| 28 |
+
|
| 29 |
+
### Data Fields
|
| 30 |
+
|
| 31 |
+
Each sample is a dictionary with the following fields:
|
| 32 |
+
|
| 33 |
+
- `system`: The system prompt used during distillation, typically guiding structured reasoning via `<think>` and `<answer>` tags.
|
| 34 |
+
- Note: Some instance's 'system' fields in our dataset are empty. The 'system' field is not used in training. Feel free to use them.
|
| 35 |
+
- `conversations`: A list of dialogue turns structured as:
|
| 36 |
+
- `from`: Either `'human'` or `'assistant'`.
|
| 37 |
+
- `value`: Full message content.
|
| 38 |
+
- `info`: Metadata dictionary containing:
|
| 39 |
+
- `source`: Dataset origin (e.g., `OpenHermes-2.5`).
|
| 40 |
+
- `category`: Task domain (e.g., `math`, `code`, `general chat`).
|
| 41 |
+
- `ground_truth`: Ground truth reference (if applicable).
|
| 42 |
+
- `test_case`: Associated test case ID (optional).
|
| 43 |
+
- `instruction_constrain`: Instruction constraint metadata (optional).
|
| 44 |
+
- `think_content`: Assistant’s reasoning trace.
|
| 45 |
+
- `answer_content`: Final answer segment.
|
| 46 |
+
- `verify_score`: Verification confidence score (float ≥ 0.9).
|
| 47 |
+
- `model_name`: Name of the teacher model (`deepseek-r1-0528`).
|
| 48 |
+
- `ppl`: Perplexity of the assistant’s output.
|
| 49 |
+
|
| 50 |
+
## 📈 Dataset Statistics
|
| 51 |
+
|
| 52 |
+
- Shared query base: **2.6 million** unique prompts
|
| 53 |
+
- Responses distilled from **DeepSeek-R1-0528**
|
| 54 |
+
- Task Category Breakdown:
|
| 55 |
+
- **general chat**: 1,223K (47.3%)
|
| 56 |
+
- **math**: 674K (26.1%)
|
| 57 |
+
- **code**: 412K (16.0%)
|
| 58 |
+
- **science**: 220K (8.5%)
|
| 59 |
+
- **if**: 54K (2.1%)
|
| 60 |
+
- Each sample is verified and filtered for output quality.
|
| 61 |
+
|
| 62 |
+

|
| 63 |
+
|
| 64 |
+
> Note that general chat includes both multiturn and other types of data.
|
| 65 |
+
|
| 66 |
+
## ✅ Verification and Quality Control
|
| 67 |
+
|
| 68 |
+
All outputs underwent **automated verification**, with methods tailored to task categories:
|
| 69 |
+
|
| 70 |
+
- **Math**: Math-Verify (binary pass/fail)
|
| 71 |
+
- **Code**: Test-case based validation in sandbox environments
|
| 72 |
+
- **Science**: Answer similarity via LLM scoring
|
| 73 |
+
- **Instruction Follow**: Verified by `IFEval` validator
|
| 74 |
+
- **General Chat**: Evaluated using a reward model (e.g., Decision-Tree-Reward-Llama-3.1-8B)
|
| 75 |
+
|
| 76 |
+
Each dataset individually applies:
|
| 77 |
+
|
| 78 |
+
- Perplexity filtering using a strong 32B LLM
|
| 79 |
+
- N-gram repetition filtering
|
| 80 |
+
- Structural formatting checks (e.g., presence of `<think>` and `<answer>`)
|
| 81 |
+
|
| 82 |
+
## ⚠️ Limitations
|
| 83 |
+
|
| 84 |
+
Developers should strictly limit the use of this project’s open-sourced code, data, models, and related artifacts to **research purposes only**. **Commercial use and any applications that could potentially cause harm are strictly prohibited**.
|
| 85 |
+
|
| 86 |
+
The content in this dataset does not reflect the views, beliefs, or endorsements of any individual or institution. The authors disclaim any responsibility for consequences arising from the use, misuse, or interpretation of the dataset and associated materials.
|
| 87 |
+
|
| 88 |
+
## 📜 Citation
|
| 89 |
+
|
| 90 |
+
If you use this dataset, please cite:
|
| 91 |
+
|
| 92 |
+
```
|
| 93 |
+
@misc{AM-DeepSeek-R1-0528-Distilled,
|
| 94 |
+
title = {AM-DeepSeek-R1-0528-Distilled},
|
| 95 |
+
url = {https://github.com/a-m-team/a-m-models},
|
| 96 |
+
author = {a-m-team},
|
| 97 |
+
month = {June},
|
| 98 |
+
year = {2025}
|
| 99 |
+
}
|
| 100 |
+
```
|
| 101 |
+
|
code.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc9d53a964d05b3f40852fcf3d24fce9b53652c937738f60b9b2d72ced37e89f
|
| 3 |
+
size 21434399794
|
if.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85597dfe35ff9422cedb4b6b272299f2d75f4a89fcf06983b488409a8a2de259
|
| 3 |
+
size 874548596
|
math.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:001dfbeaeebd0b3266d288d6d5b86c758b5e20e0ab0de495ce8ec56a616ca3c1
|
| 3 |
+
size 30709533047
|
multiturn.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be8f5fd36ba611aab729642b248a0693ecbed3f542c70fccc6d5eb5803b4bf89
|
| 3 |
+
size 5528562767
|
other.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9332fbb959ccfdf547556df57b38f249821c8b7da1abc8aec36f1c1400f40097
|
| 3 |
+
size 17183939173
|
science.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b89aa29ea8f1fc9c36ecaa49dda8e22a4baf7a3b78618d6a02ffac7f1dd74f56
|
| 3 |
+
size 4231310640
|