togethercomputer/redpajama-data

The RedPajama-Data repository contains code for preparing large datasets for training large language models.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 14 minutes ago
Added to GitGenius on September 13th, 2026
Created on April 14th, 2023
Open Issues & Pull Requests: 43 (+0)
GitHub issues: Enabled
Number of forks: 375
Total Stargazers: 4,984 (+0)
Total Subscribers: 82 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 20.6 hours
Mean response time: 15.0 hours
90th percentile: 24.4 hours
Tracked items: 3

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 3
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 575 days
Stale 30+ days: 3
Stale 90+ days: 3

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

RedPajama-Data is a dataset preparation toolkit for training large language models on large-scale text corpora.

The project addresses the challenge of preparing raw web-crawled text into high-quality training data for language models. It processes documents from CommonCrawl snapshots through a three-stage pipeline: artifact creation, quality signal computation, and deduplication. The approach uses the CCNet pipeline for initial processing and applies multiple filtering and weighting techniques including quality classifiers, bag-of-ngram generative models for importance weighting, bad-word filtering, and URL blacklist checking. The toolkit supports multilingual data across English, German, French, Italian, and Spanish.

Organizations building large language models should consider this toolkit if they need to process CommonCrawl data at scale and want reproducible, open-source preparation code. The project is most suitable for teams with infrastructure to run containerized workloads and access to S3 storage, as the pipeline assumes Docker and Apptainer installations. The toolkit provides pre-computed quality signals and deduplication for a substantial portion of its dataset, reducing the computational burden for users who can work with these pre-processed versions rather than running the full pipeline from scratch.

The project maintains active development with regular updates to its codebase and documentation. The pipeline implementation is modular, allowing users to run individual steps independently or skip early stages if they have alternative data sources. Configuration is managed through environment files, and the toolkit includes detailed setup instructions for both containerized and non-containerized execution paths. The developers emphasize reproducibility by requiring consistent hash seed settings across distributed processing steps.