Data mixture: what the model reads, and how much

Data mixture: what the model reads, and how much A data-flow diagram generated by Archify. 01 / Corpus by domain 02 / Weights 03 / Sampling mix 04 / Token stream 05 / Effect on the model Web · ≈8 TB after filtering · 01 / Corpus by domain Web ≈8 TB after filtering Code · ≈1 TB · 01 / Corpus by domain Code ≈1 TB Books · Papers · Wiki · ≈600 GB combined · 01 / Corpus by domain Books · Papers · Wiki ≈600 GB combined Sampling weight · the w's sum to 1 · 02 / Weights · hyperparameter Sampling weight the w's sum to 1 hyperparameter Small proxy model · DoReMi: learns weights · 03 / Sampling mix Small proxy model DoReMi: learns weights Domain sampler · up- or downsample · 03 / Sampling mix Domain sampler up- or downsample Mix changes by phase · broad early, refined late · 03 / Sampling mix Mix changes by phase broad early, refined late Mixed token stream · the order the model reads · 04 / Token stream Mixed token stream the order the model reads Gradient by content · what and how much it learns · 05 / Effect on the model · model capabilities Gradient by content what and how much it learns model capabilities w_web w_code remaining w sampling ratios mixed sequences one batch per step learned weights changes by phase Legend primary data data store data flow