INQUIRING LINE

A project trimmed 50,000 scraped webpages down to 10,000 training examples — what rules decided which ones made the cut?

What filtering criteria reduced 50,000 webpages to 10,000 training pairs?

This explores a specific data-curation step, where some project started with about 50,000 scraped webpages and filtered them down to roughly 10,000 usable training pairs, and asks what rules decided which pages survived.


This explores a specific data-curation step, where about 50,000 webpages were cut down to about 10,000 training pairs, and asks what rules decided what was kept. The direct answer isn't in the retrieved material. None of the notes surfaced here describes a 50,000-to-10,000 pipeline or lists its filters. This question most likely comes from a webpage-to-code or website-generation paper, and the details would be in that paper's dataset section. The nearest match here is WebGen-R1 Can a 7B model match 671B performance on website generation?. It works on website generation and uses a two-stage gate: first cheap static checks (does the output follow the required structure and does it render?), then a vision-language model that scores how good it looks. That's a reward design, not a dataset filter. But it shows the logic these projects usually follow: throw out what's broken with cheap automatic checks, then judge quality with something more expensive.

The more useful thing the corpus shows is why the cut matters. Filtering isn't only removing junk. It decides what the model learns. One study finds that reinforcement learning (RL) generalizes better than supervised fine-tuning (SFT) mostly because it quietly down-weights the hardest examples Why does RL generalize better than SFT to new domains?. Those hard samples account for most of SFT's drop in performance on unfamiliar data. So a filter that keeps medium-difficulty pairs and drops extreme ones can matter as much as the choice of training method.

A second filtering idea goes further: keep training examples based on how much signal they carry, not how clean they look. If a prompt always gets the same reward, the model learns almost nothing from it. Training then drifts toward generic, one-size-fits-all outputs. Selecting prompts whose rewards actually vary fixes this across tasks and model sizes Why do language models collapse into generic templates?. AdaSearch does something similar for agents Can models learn when to search versus reason alone?. It labels which questions need a web search by measuring how often the model solves them on its own, instead of using hand-set rules.

When you track down the original paper, ask three things: what was removed because it was broken, what was removed because it was low quality, and what was removed because it was too easy or too hard to teach anything. The notes above suggest the third kind of filter shapes the model the most, and it is the one dataset sections describe least.


Sources 4 notes

Can a 7B model match 671B performance on website generation?

WebGen-R1 trains a 7-billion-parameter model using reinforcement learning with a two-stage reward: static compliance checks and VLM aesthetic scoring. It matches DeepSeek-R1 671B on functional success and exceeds it on rendering and aesthetic alignment.

Why does RL generalize better than SFT to new domains?

RL achieves better OOD generalization not through algorithmic superiority but by implicitly down-weighting hard samples that drive gradient dominance and overfitting in SFT. Hard samples alone account for most of SFT's OOD degradation.

Why do language models collapse into generic templates?

When within-prompt reward variance is low, task gradients weaken and regularization dominates, pushing policies toward generic outputs. SNR-Aware Filtering—selecting high-variance prompts before updates—recovers performance across tasks and scales.

Can models learn when to search versus reason alone?

AdaSearch's two-stage RL framework disentangles search decisions from problem-solving by training stage-2 decision labels from the model's empirical solve rate rather than hand-tuned penalties. This reduces search calls substantially while incurring only small QA performance drops.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.