Back to directory

RedPajama-Data-v2: an Open Dataset with 30 Trillion Tokens for Training Large Language Models

An open dataset and pipeline code for RedPajama-V2, a 30-trillion-token dataset built from CommonCrawl for training large language models.

RedPajama-Data-v2: an Open Dataset with 30 Trillion Tokens for Training Large Language Models

RedPajama-V2 includes over 100 billion text documents from 84 CommonCrawl snapshots processed with the CCNet pipeline, of which 30 billion documents carry quality signals and 20 billion are deduplicated. It covers English, German, French, Italian and Spanish; for the annotated and deduplicated part of the dataset the material reports, for example, 14.5 billion English documents totaling 20.5 trillion tokens.

The pipeline has three steps: preparing artifacts, computing quality signals, and deduplication. It runs through a built Docker image and Apptainer, pulls data from an S3 bucket with s5cmd, and needs a fixed PYTHONHASHSEED environment variable for consistent hashing when not run through the provided Docker containers.

It is written in Python, is also published on Hugging Face, and is licensed under Apache-2.0; code for the earlier RedPajama-1T dataset lives on the repository's rp_v1 branch.

More in Models

See all 405
  • mini-AGI

    github.com

    A continual learning language model that trains from scratch on a single 8 GB VRAM GPU, assembling its own architecture and adapting its size to the hardware and data available rather than shipping as a fixed pretrained model.

  • An open-source contrastive-embedding pipeline that maps technical CVE vulnerability descriptions to formal cybersecurity compliance controls in NIST SP 800-53 and CMMC, published with its model generation, fine-tuning and evaluation code.

  • peekaboolean

    github.com

    A small vision-language model, fine-tuned with LoRA on a 500-million-parameter backbone, that answers typed multiple-choice, ordinal-score and yes/no questions about an image with calibrated probabilities, in about 400 milliseconds on a laptop.