← All articles

Eight Sauerkraut adaptations across five backbones

Qwen and Gemma small models, Llama 70B editions, Phi-3 adaptation and the OpenChat function-calling beta use distinct training recipes.

Updated:

SauerkrautLM: small models and larger instruction editions

The Sauerkraut releases vary in how much of the backbone they adapt and what behavior they target. Small Qwen and Gemma models emphasize compact German–English use; larger Llama models add capacity; the function-calling beta targets tool exchanges.

Small-model adaptation

SauerkrautLM 1.5B starts from Qwen2. Training adds 6.1 billion German tokens with a 25% layer target, then three SFT epochs over 700,000 examples and DPO on 70,000 examples. The publisher presents it as a demonstration and reports $1,152 in GPU rental for the experiment. Weights use Apache-2.0.

Gemma 2 2B and 9B Instruct editions adapt German–English Sauerkraut Mix v2 with Spectrum targeting 25% of layers. Their chat templates reject a separate system role. The earlier Gemma 2B uses Laser QLoRA and merging and is labelled alpha. Gemma editions use the custom Gemma Terms of Use.

Larger instruction models

Llama 3 70B adds one German DPO epoch over 70,000 items. The publisher reports MT-Bench averages of 8.688679 in English and 8.6125 in German, plus corrected German RAG accuracy 0.98 with standard error 0.0034.

Llama 3.1 70B uses Spectrum on German–English Sauerkraut Mix v2, targeting 15% of layers. Numerical results from its chart-only evaluation are unavailable. Llama 3 and 3.1 editions retain their respective Community License conditions.

Phi-3 Medium uses the Unsloth checkpoint and one Spectrum QLoRA DPO epoch over 70,000 samples. It targets 50% of layers with learning rate 5e-4 and warm-up ratio 0.03. The configuration allows 4,096 positions with a 2,048-token sliding window. Weights declare MIT.

Function-calling beta

FC-SauerkrautLM-7b-beta builds on OpenChat 3.5 using SFT, DPO, a small function-calling dataset, partial freezing and Laser/SLERP processing. It uses GPT4 Correct and end_of_turn formatting, with functioncall and function_response markers. The model card gives a historical six-task average of 66.82, but no measured end-to-end function-call success rate.

Different weight formats and Laser branches change distribution or processing details. The full model descriptions provide each release’s context configuration, prompt format and training recipe.

Original sources