Skip to content
#

context-distillation

Here are 4 public repositories matching this topic...

Language: All
Filter by language

Bakes a system prompt into a LoRA adapter, so a chat model behaves as if prompted without the prompt in its context. It trains on the KL divergence to the prompted model, after Prompt Baking (arXiv 2409.13697). PyTorch, Transformers and PEFT, Qwen3.5 by default, and it fits an 8 GB GPU.

  • Updated Oct 1, 2026
  • Python

Add this topic to your repo

To associate your repository with the context-distillation topic, visit your repo's landing page and select "manage topics."

Learn more