Practical guide: Fine-tuning Qwen3 with LoRA

workshop

Ivan Potapov

About the event

Ivan Potapov - Research Engineer, Zalando SE

In this workshop, we fine-tune Qwen models with parameter-efficient adapters using two complementary approaches: Soft Prompt token tuning and LoRA SFT, with an optional KL-anchored SFT term to keep the model’s behavior close to the base while adding new styles and formats. You’ll see how to prepare open-source data (Dolly 15k), render with chat templates, run short training loops, and monitor validation loss/perplexity with stepwise evaluations. 

A tiny KL toy example explains per‑token contributions to H(P), H(P,Q), and KL(P||Q), making the “anchoring” intuition concrete. By the end, you’ll know how to apply Soft Prompt for quick style steering, LoRA for deeper adaptation, and KL regularization to reduce drift and forgetting—plus how to save/load LoRA adapters for deployment.

Notebook. (opens in a new tab)

About the speakers

Ivan Potapov Research Engineer at Zalando

Ivan Potapov is a Research Engineer at Zalando, where he specializes in search. His work sits at the intersection of software engineering and applied machine learning, combining large-scale systems with modern information retrieval.

Ivan is also an active educator. He has taught workshops on data engineering, AI agents, and LLM alignment, helping practitioners build the skills needed to work with machine learning systems in production. He shares further notes and experiments on his blog at blog.ivan.digital.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club