TECHNOLOGY

Dolma: inspect heterogeneous pretraining components

In this article
THE QUICK TAKE

A Dolma version and a token-sampling recipe are separate choices; the toolkit is also distinct from the published corpus.

Dolma is a heterogeneous pretraining corpus created for OLMo research. It combines sources rather than describing one uniform collection process. The practical reason to inspect it is the ability to ask which components and preparation choices contribute to a language model’s behavior. The owner’s release card distinguishes published versions.

Select a version and resolve its components

The card documents v1_7 and earlier configurations, including changes in sources, filtering and deduplication. Choose the named configuration and a repository revision; do not compare experiments that silently resolve different defaults. Component tables distinguish web material, code, scholarly content and other sources. A change in version can therefore alter both text processing and the mixture’s subject distribution, not merely fix a damaged file.

Preserve document structure instead of only token files

Dolma’s document-oriented representation carries text and document identity with associated source or metadata information. The toolkit repository is a separate artifact: it contains curation tools rather than being the dataset itself. Inspect the schema of the selected release before writing a reader. Keep component identity through packing so that a failed example can be traced to the source family and preparation stage that produced it.

Define the mixture at the unit actually sampled

A file’s size, its document count and its contribution to training tokens are different quantities. An editorial ablation might hold total training exposure constant while replacing one component. Save source-selection manifests and sampling weights, then measure the realized token contribution with the experiment’s tokenizer. Length filtering can change that contribution after the nominal weights are fixed. Avoid interpreting a component’s downloaded share as its final share of model updates.

Evaluate component-specific benefits and failures

The Dolma paper and data sheet explain curation and research evaluations. They provide context for source choices, but a mixed corpus can still underrepresent an intended deployment domain. Inspect failures by source type, document length and repetition. Scholarly parsing errors differ from code or conversational artifacts; one aggregate cleaning percentage conceals those mechanisms. Published licensing descriptions also require attention to underlying source conditions rather than a blanket inference from the host label.

Build a held-out comparison that survives packing

Do not derive evaluation examples by randomly selecting packed token windows after training material has already been mixed. Group the original sources first, using document-level split boundaries where applicable. Preserve document provenance in the packed-example manifest. A useful Dolma experiment states configuration, source components, realized sampling, tokenizer and holdout construction. That record allows a later reader to distinguish a curation hypothesis from an unrelated change in training exposure.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles