SixthPhysics-Qwen3.5-9B-LoRA
physics problem generator with verification
2 min readupdated
Built on Qwen/Qwen3.5-9B, this language model is fine-tuned to generate exam-style physics questions using a specialized two-step deterministic pipeline. First, the model proposes a problem scenario that gets computed by a built-in TypeScript physics engine; second, it formats the final question complete with a solution breakdown and diagram. It covers three pre-university curricula: IB Physics (2025), UK A-Level, and NCUK IFY, significantly outperforming the base model in verified problem generation accuracy.
Key features
- Neuro-symbolic hybrid: pairs an AI model with a deterministic physics engine to eliminate calculation errors.
- Three curricula: full support for current IB, A-Level, and NCUK standards.
- Two-step generation: splits the workflow into scenario drafting and packaging the final problem with a mark scheme.
- SVG guardrails: generates clean diagrams without leaking parameters hidden in the problem statement.
What you can do
- Build quizzes: generate high-quality multiple-choice questions (MCQs) and structured problems.
- Verify calculations: use the built-in solver to check numerical answers to 3 significant figures.
- Prepare study materials: create teaching resources and physics workbooks for students.
Example
The model works alongside the sixthphysics/sixthphysics repository, using a two-step prompt to generate problem parameters and assemble the final output.
Read more
DetailsBase model: Qwen/Qwen3.5-9B
Trainable parameters: 58,195,968 (0.6147% of base)
Benchmark metrics (1-Retry): End-to-End Verified 75.60%
System requirements: standard for 9B-class models with PEFT support










Comments