Skip to content
#

prompt-baking

Here is 1 public repository matching this topic...

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 prompt-baking topic, visit your repo's landing page and select "manage topics."

Learn more