|
Download README.md from ITLL/Qwen3.5-Distillation-Dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.78 kB
-
https://huggingface.co/datasets/ITLL/Qwen3.5-Distillation-Dataset/resolve/main/README.md
- Command line
-
hf download hf://datasets/ITLL/Qwen3.5-Distillation-Dataset/README.md
-
curl -L -o README.md https://huggingface.co/datasets/ITLL/Qwen3.5-Distillation-Dataset/resolve/main/README.md
2.78 kB
| license: apache-2.0 | |
| language: | |
| - en | |
| tags: | |
| - synthetic | |
| - knowledge-distillation | |
| - reasoning | |
| - math | |
| - coding | |
| - qwen3.5 | |
| - lightningAi | |
| size_categories: | |
| - 1K<n<10K | |
| # Qwen3.5 Distillation Dataset | |
| This dataset was synthetically generated using **[Qwen/Qwen3.5-9B-Instruct](https://huggingface.co/Qwen/Qwen3.5-9B-Instruct)** as the teacher model. It is expressly designed for the **Two-Phase Knowledge Distillation** pipeline to transfer both structural reasoning (`<think>` tags) and high-quality responses to smaller student models (e.g., Qwen3.5-0.8B). | |
| ## 🚀 Dataset Overview | |
| - **Generated by (Teacher):** `Qwen/Qwen3.5-9B-Instruct` | |
| - **Total Samples:** ~7,500 (Mixed Domain) | |
| - **Format:** `.jsonl` (JSON Lines) / Hugging Face Parquet | |
| - **Generation Framework:** `vLLM` (bfloat16 precision on NVIDIA H100) | |
| ## 📊 Domain Composition & Source Prompts | |
| The dataset is aggregated from three primary domains to ensure a balanced skill set for the student model: | |
| 1. **Math Reasoning (~70%):** Sourced from `open-r1/OpenR1-Math-220k`. Designed to train strict, step-by-step logical deductions. | |
| 2. **General Instructions (~20%):** Sourced from `anon8231489123/ShareGPT_Vicuna_unfiltered` (ShareGPT). Ensures the model remains helpful and conversational. | |
| 3. **Coding (~10%):** Sourced from `sahil2801/CodeAlpaca-20k`. Trains algorithmic and programming capabilities. | |
| ## 🧠 "Thinking Mode" Mixing Strategy | |
| A unique feature of this dataset is the dynamic activation of the Teacher's "Thinking Mode" (`enable_thinking=True`) during generation to simulate human-like reasoning chains before answering. | |
| To prevent the model from overthinking simple conversational queries while ensuring deep logic for complex math, we explicitly programmed the generation script with the following ratio: | |
| - **Math Domain:** 100% Thinking (Always outputs `<think>` chains). | |
| - **General & Coding Domains:** 50% Thinking, 50% Direct Answer (Randomized). | |
| This guarantees the student model learns *when* to think deeply and *when* to answer immediately. | |
| ## 📝 Data Structure | |
| Each line in the JSONL format contains the following fields: | |
| ```json | |
| { | |
| "domain": "math|general|coding", | |
| "prompt": "The user's input/question.", | |
| "response": "The generated answer (which may include <think>...</think> tags).", | |
| "intended_thinking": true, | |
| "actual_thinking": true | |
| } | |
| ``` | |
| ## 🏆 Acknowledgments | |
| We would like to express our deepest gratitude to **[Lightning AI](https://lightning.ai/)** for their generous provision of computational resources (NVIDIA H100 80GB GPUs) through their free credits program. Their robust and high-performing cloud infrastructure was Instrumental in accelerating both the dataset generation and the rigorous two-phase knowledge distillation process of this model. |