Library · published 2026-06-22 · added 2026-08-24 · github.com

tracedistill

What it is

A library for distilling complex reasoning chains (CoT) into LoRA adapters using a two-phase 'Train-Nudge' approach. It enforces a strict format contract to ensure models reason step-by-step and output parseable boxed answers.

The problem it solves

Standard SFT often fails to capture the nuances of reasoning traces or can lead to catastrophic forgetting/imbalanced gradients when training on diverse problem types.

What you could use it for

machine-learningLLMdistillationLoRAreasoningfine-tuning

Read the source ↗Back to the library →

Summary written by an AI model from the source; check the source before you rely on it.