﻿# SlimPajama: plan a reduced mixture without assuming equivalence

Assess SlimPajama’s reduced source mixture, global deduplication and documented holdouts while distinguishing its historical release from current access.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/data-guide-slimpajama-token-budget/
Language: en

## Locate the released derivative

SlimPajama is a cleaned and deduplicated derivative of the original RedPajama mixture, not a derivative of the later web-only release. The [Cerebras release report](https://www.cerebras.ai/blog/slimpajama-a-627b-token-cleaned-and-deduplicated-version-of-redpajama) describes a 627B-token result. This makes it useful for studying whether repeated source material can be reduced before pretraining. Its name and advertised size do not establish that every smaller training run will benefit equally from the resulting distribution.

## Recognize changed source proportions

Removing duplicated material unequally across source families alters their relative contribution. The [parent dataset card](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T) documents the heterogeneous upstream components and their distinct preparation. In a proposed comparison, report the final proportions after cleaning and tokenization rather than reusing the parent's source table. Keep the training tokenizer fixed. A reduction measured in stored bytes is not interchangeable with the fraction of training tokens removed from a particular source.

## Inspect the actual deduplication recipe

The [historical owner code](https://github.com/Cerebras/modelzoo/tree/Release_1.9.1/modelzoo/transformers/data_processing/slimpajama), preserved under Release_1.9.1, describes normalization, short-document filtering and deduplication both within and between corpora. Its MinHash workflow builds signatures, searches an index, forms duplicate components and filters representatives. These are operational definitions of similarity. They can merge near copies while retaining paraphrases, and the chosen representative can change the metadata that survives. The [deduplication guide](/journal/training-deduplication-memorization/) explains why fewer copies should not be described as a guarantee against memorization.

## Respect the documented holdout boundary

The release report describes separate validation and test sets of 500M tokens each, with training data checked against those holdouts. The code orders document shuffling, splitting and holdout-related deduplication before optional tokenization and packing. Keep those original boundaries during a proposed reproduction. The [split leakage guide](/journal/document-level-data-split-leakage/) explains why rebuilding a split from final chunks could undermine that separation. Corpus likelihood remains a different question from downstream factual or reasoning accuracy.

## Verify the package that can be obtained

During this check, the linked owner Hub dataset returned an authorization error. The public report and historical processing code remained readable; they document a release but do not prove current file availability or its present schema. Establish the actual revision, file inventory and record structure before planning ingestion. The parent's current book configuration is also unavailable. A historical release label therefore cannot substitute for component-level provenance or a present-day access check.
