Emile Schupbach T+ …
academic projects / nlp Emile Schupbach

Clanker's Builder

Specializing the small language model Qwen3-1.7B in math, general knowledge, multilinguality and safety, with fine-tuning and reinforcement learning.

report pdf

made for the course modern natural language processing

GRPO training over three epochs: loss, reward, KL divergence and reward spread
GRPO training over three epochs: loss, reward, KL divergence and reward spread

A team of four, with one goal: make a model small enough to run locally that is good at reasoning in each domain while keeping a strict answer format.

The pipeline is supervised fine-tuning first, then reinforcement learning with GRPO (with DAPO-style tweaks) or DPO. The best recipe turned out to depend on the domain: LoRA fine-tuning won for math, GRPO alone was enough for multilinguality, and fine-tuning followed by DPO worked best for safety.