Views
No views yet
| Model | Accuracy on 150-Q holdout | Elo (vs base) |
|---|---|---|
| Gemma 3 4B base | 43% | 1079 |
| Gemma 3 4B + this LoRA | 89% (+46 pts) | 1036 (−43) |
Answer: X for gradingmlx-lm (Apple Silicon)1pip install mlx-lm
2python -m mlx_lm generate \
3 --model mlx-community/gemma-3-4b-it-qat-4bit \
4 --adapter-path <path-to-this-folder> \
5 --prompt "Question: What is 7 × 8?\n\nA. 54 B. 56 C. 58 D. 64\n\nAnswer this 11+ maths question with a worked solution."transformers + peft1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base = AutoModelForCausalLM.from_pretrained("google/gemma-3-4b-it")
5tokenizer = AutoTokenizer.from_pretrained("google/gemma-3-4b-it")
6model = PeftModel.from_pretrained(base, "Tetsuto/gemma-3-4b-11plus-tutor")mlx-community/gemma-3-4b-it-qat-4bit (Gemma 3 4B IT, QAT 4-bit)mlx-lm lora1@misc{gemma3-4b-11plus-tutor,
2 author = {Jon Hammant},
3 title = {Gemma 3 4B — UK 11+ Tutor LoRA},
4 year = 2026,
5 url = {https://huggingface.co/Tetsuto/gemma-3-4b-11plus-tutor},
6}REPORT_V2_5.md and results/ in the repo