Downloads · 30 days
0
EvanOLeary/laguna-xs2-densify-smoke
laguna-xs2-densify-smoke is a text generation model from EvanOLeary. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains an artifact from the research paper Pruning and Distilling Mixture-of-Experts into Dense Language Models. The official code for this framework can be found at krafton-ai/moe-to-dense.
Downloads · 30 days
0
Access
Public
Updated Jun 14, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.png98.4 KB · 84%
From the Hugging Face model README
This repository contains an artifact from the research paper Pruning and Distilling Mixture-of-Experts into Dense Language Models. The official code for this framework can be found at krafton-ai/moe-to-dense.
First end-to-end validation of the dense reconstruction-pretraining loop for densifying
poolside/Laguna-XS.2 (33B/3B-active MoE) into a ~3.3B dense student
(cm2435-new/laguna-xs2-dense-k8-copied-shell). Teacher-forced, per-layer MSE+cosine,
routed_dense-only trainable. Hardware: 1× H100 80 GB.

| Layers trained | 8 (subset — H100 memory; full 39 runs on GB300 / via Adafactor) |
| Steps | 20 · seq 1024 · batch 1 |
| Optimizer | AdamW @ 2e-4 |
| Loss | mean_l( MSE + 0.05·(1−cos) ), attention-masked |
| Data | nvidia/OpenCodeInstruct (streamed) |
| metric | step 1 | step 20 | Δ |
|---|---|---|---|
| total loss | 0.0486 | 0.0332 | −32 % |
| cosine-loss (1−cos) | 0.949 | 0.575 (low 0.575) | −33 % |
| mean MSE | ~9e-4 | ~1.4e-3 | noisy (batch 1) |
TOTAL LOSS (MSE + 0.05·cos) COSINE-LOSS (1 − cos to teacher)
0.0486 ● 0.949 ●
0.0451 ● 0.874 ●
0.0404 ● 0.775 ●
0.0369 ●● 0.725 ●●●
0.0335 ●● ● 0.655 ●● ●
0.0311 ● ● ● 0.575 ●
step 1 ──────────► 20 step 1 ──────────► 20
(x_l, y_l), student routed_dense_l(x_l) predicts, masked
MSE+cosine backprops into routed_dense only.routed_dense rotates toward the
teacher's output direction within 20 steps.loss_curve.png, metrics.jsonl (this repo). Full report + recipe comparison
in companion gists.Recipe: RADLADS step-1 (arXiv:2505.03005) / KRAFTON MoE→Dense feature-reconstruction (arXiv:2605.28207).