
Fine-Tune Qwen3-4B with LoRA: Plain English to a Working Map Query
Can a small, free AI model learn a brand-new skill in 13 minutes, on a regular laptop?
Notes
Can a small, free AI model learn a brand-new skill in 13 minutes, on a regular laptop? In this video, we fine-tune Qwen3-4B with LoRA so it turns a plain English request like “drinking water fountains in Vienna” into a working OpenStreetMap query, then check the results on a real map.
What you’ll learn:
- What fine-tuning is, and when to use it instead of better prompting or RAG
- How LoRA and QLoRA make training possible with about 4 GB of graphics card memory
- The full process: training examples, a baseline test, training settings, and testing again
- How to read training loss, validation loss and overfitting
- How to run your fine-tuned model locally with Ollama
- What fine-tuning can’t fix: it teaches form more reliably than facts
The before and after: the original model’s queries fail with parse errors. The fine-tuned model’s queries return 1,716 drinking water spots in Vienna, 45 pharmacies, and 5,659 snowmobile trail sections in Finland.
Credits: training data from the OverpassNL dataset (academic use only). Map data © OpenStreetMap contributors.