Combining RAG and Continued Pretraining on Qwen 3.5 4B: A Subway System Experiment

funJS · reddit · 2026-09-17

A Redditor ran a learning experiment: continued pretraining (CPT) on Qwen 3.5 4B taught the model a fictional subway system well enough to plan routes with multiple transfers, with careful corpus design to avoid memorization and encourage generalization.

A RAG step was then added to inject dynamic data — station closures, nearby concerts, real-time announcements — complementing the stable knowledge learned via CPT. The experiment illustrates a clear division of labor: CPT for stable domain knowledge, RAG for dynamic updates. Full write-up available on their blog.

Related event: CPT Plus RAG Teaches Qwen3.5 4B a Fictional Metro System(3 posts)→

Original post →

More from coding & agent

coding & agent channel →