add charts
Browse files21 unmodified lines222324252627281 unmodified line3031323334353637383940416 unmodified lines48495051525354555657585960611 unmodified line6364656667686970717273747521 unmodified lines## Model DescriptionThis model is a surgically optimized and distilled version of **Qwen3.5-0.5B-Base-Rearchitected**,created with the techniques covered in **Chapter 6** in the book **"Rearchitecting LLMs"**.* **Book:** [Rearchitecting LLMs](https://hubs.la/Q040tvtp0)1 unmodified line* **Technique:** Depth Pruning + Knowledge Distillation (Labels-Only with Skew KL Divergence)* **Chapter:** Chapter 6 - Knowledge Recovery---## Performance & Retention MetricsThe goal of this optimization was to maximize parameter efficiency while maintaining the highest possible retention of the Teacher's capabilities.### Retention Summary (vs Teacher Baseline)| Metric | Value | Description |6 unmodified lines**Recovery** = How much of the pruning degradation was recovered through distillation.| Benchmark | Teacher | Pruned (No KD) | Student (After KD) | Recovery ||:---|:---:|:---:|:---:|:---:|| **Arc Easy** | 67.5% | 56.3% | 60.7% | 39.8% || **Winogrande** | 59.4% | 55.5% | 55.9% | 9.9% || **Hellaswag** | 54.9% | 44.0% | 47.2% | 29.6% || **Lambada Openai** | 50.9% | 8.4% | 39.9% | 74.1% || **Piqa** | 71.5% | 63.6% | 67.7% | 51.3% || **Average** | 60.8% | 45.5% | 54.3% | 57.1% |### Linguistic Quality1 unmodified line* **Teacher Baseline PPL:** 7.34* **Pruned (No KD) PPL:** 24.29---## Architecture Details* **Teacher Model:** `Qwen3.5-0.5B-Base-Rearchitected` (752,393,024 parameters)* **Student Model:** Pruned to (666,171,584 parameters)* **Layers Removed:** 4 layers (indices: [21, 20, 9, 22])* **Parameter Reduction:** 11.46%---21 unmodified lines222324252627281 unmodified line303132333435363738394041426 unmodified lines49505152535455565758596061626364651 unmodified line6768697071727374757677787980818283848521 unmodified lines## Model DescriptionThis model is a surgically optimized and distilled version of **Qwen3.5-0.8B-Base**,created with the techniques covered in **Chapter 6** in the book **"Rearchitecting LLMs"**.* **Book:** [Rearchitecting LLMs](https://hubs.la/Q040tvtp0)1 unmodified line* **Technique:** Depth Pruning + Knowledge Distillation (Labels-Only with Skew KL Divergence)* **Chapter:** Chapter 6 - Knowledge Recovery[](https://hubs.la/Q040tvsK0)---## Performance & Retention MetricsThe goal of this optimization was twofold: to maximize parameter efficiency through structural pruning, and to perform a stylistic domain adaptation to the Cosmopedia dataset while retaining the Teacher's core reasoning capabilities.### Retention Summary (vs Teacher Baseline)| Metric | Value | Description |6 unmodified lines**Recovery** = How much of the pruning degradation was recovered through distillation.| Benchmark | Teacher | Pruned (No KD) | (After KD) ||:---|:---:|:---:|:---:|| **Arc Easy** | 67.5% | 56.3% | 60.7% || **Winogrande** | 59.4% | 55.5% | 55.9% || **Hellaswag** | 54.9% | 44.0% | 47.2% || **Lambada Openai** | 50.9% | 8.4% | 39.9% || **Piqa** | 71.5% | 63.6% | 67.7% || **Average** | 60.8% | 45.5% | 54.3% |### Linguistic Quality1 unmodified line* **Teacher Baseline PPL:** 7.34* **Pruned (No KD) PPL:** 24.29> **Note on Perplexity:** The Student achieves a lower (better) PPL than the Teacher. This highlights the **Domain Adaptation** effect of the distillation process. The Student successfully specialized in the tone and structure of the Cosmopedia training corpus, refining its style while recovering structural knowledge.---## Architecture Details* **Teacher Model:** `Qwen3.5-0.8B-Base` (752,393,024 parameters)* **Student Model:** Pruned to (666,171,584 parameters)* **Layers Removed:** 4 Tranformer blocks removed (indices: [21, 20, 9, 22])* **Parameter Reduction:** 11.46%---
README.md+23-13