Combining Continued Pretraining with RAG: Teaching Qwen 3.5 4B a Fictional Subway Map
funJS · reddit · 2026-09-16
The author ran an experiment using Unsloth to continue-pretrain Qwen 3.5 4B on a fictional subway system until it could plan multi-transfer routes, deliberately avoiding a memorization-heavy corpus. Once the map knowledge generalized, a RAG layer was added for dynamic data like station closures and nearby events. The combo — CPT for stable knowledge plus RAG for dynamic data — is a practical recipe for injecting new domains into small models.
Related event: CPT Plus RAG Teaches Qwen3.5 4B a Fictional Metro System(3 posts)→
More from coding & agent
- awa-video-reel: free Claude Code skill auto-edits shorts and records website B-roll — TawohAwa · 2026-11-02
- Econ PhD Job Market Database Hits 900+ Candidates, Open to Codex and Claude Code — aniketapanjwani · 2026-11-02
- Cron works by hand, fails on schedule: a 7-point debugging checklist — petrusenko_max · 2026-11-02
- Local quants vs Claude on 9 real private bugs: 3-bit costs thinking time, not score — FeydRowan · 2026-11-02
- Build products for AI, not humans: MCP lets Claude Code run everything — gefei55 · 2026-11-02
- Solo dev launches hosted MCP server with 31 tools scheduling to 20+ social networks — troyizzle · 2026-11-02