Dev post-trains Qwen3-4B into a tool-using agent: 66 MB llama.cpp LoRA runs on a Mac, val 0.51→0.83

DesignerIsland5524 · reddit · 2026-10-29

Redditor shoumikgoswami open-sourced Tadpole: a tool-using agent built from scratch in 3,500 lines of plain Python (no LangChain), with Qwen3-4B post-trained stage by stage. The adapter ships as a 66 MB llama.cpp LoRA that runs on a 16 GB Mac (2.4 s per call), used daily as a Telegram bot. Total training cost: $140 of rented GPUs. Repo on GitHub, adapters and data on Hugging Face.

Results (144-task validation + held-out tests, vLLM bf16)

Lessons

Honest caveat: benchmarks resemble training data; the tuned 4B is still weak on open-ended requests, so the daily bot runs on DeepSeek.

Original post →

More from coding & agent

coding & agent channel →