← All questions
LLM FoundationsMedium· Pre-training· Data Quality· Instruction Tuning

Why include Stack Exchange in a pre-training corpus giv...

While Stack Exchange represents only a few billion tokens, its value lies in its structural characteristics rather than raw volume. The platform’s question-and-answer format serves as a natural proxy for instruction-following tasks, helping the model learn how to respond to queries effectively. Furthermore, the presence of community-driven vote signals allows engineers to perform aggressive quality filtering, ensuring that the model is trained on high-quality, verified information, unlike raw Common Crawl data which lacks comparable quality signals per document.

Code playground (Python)