A Qwen3.5-9B Legal Model Project Turns to Chat, Reasoning and Tool Use
A Reddit author reports adapting Qwen3.5-9B-BASE for Polish law through three sequential continued-pretraining stages of roughly 80 million tokens each: legal commentaries, legislation, and court decisions. The author says the base model still needs supervised fine-tuning, reasoning and tool-use training, and possibly reinforcement learning to become a chat and agentic legal assistant. Their small multiple-choice proof-of-concept evaluation is described as weak, and the post seeks advice on the appropriate training sequence.
The post provides a concrete, albeit unverified, example of a domain-adaptation workflow that practitioners can compare with their own approaches to legal and other knowledge-intensive assistants.
TLDR: training my first general law model and unsure what to do with my data
PRE-PS: it will be a replacement for opus in my current AI LAW harness, I know it will be hard but I wanna do this project and find it geniuenly fun.
I’m building a Polish legal model using Qwen3.5-9B-BASE (I plan to scale up to 27b qwen4 later). I’ve done CPT and have quite a bit of data available, but I’m getting lost about what should come next or even if I should do more CPT.
My main question is how to turn this (maybe) domain-adapted Base model into an agentic+chat assistant that reasons through legal problems.
But more importantly, how do I get reasoning, teach my in-harness tool-use training, and where does SFT vs RL belong in that process and in what way (especially confused about reasoning and SFT)?
What I’ve already done
Three sequential CPT stages, roughly 80M tokens each, in this order: