Dataset
Dolma
Open on Hugging FacearXiv · relatedGitHub · relatedallenai.github.io · relatedallenai.org · relatedMarkdown · JSON · BibTeX
Summary
Dolma is a dataset of 3 trillion tokens from a diverse mix of web content, academic publications, code, books, and encyclopedic materials.
- Venue
- allenai
- Source
- huggingface
- Access
- free
- License
- odc-by
- License family
- Permissive
- Language
- en
- Hugging Face
- allenai/dolma
- Author type
- unknown
- Added
- Jul 17, 2026
- Verified
- Jul 17, 2026
- Research status
- done
From the source
- Repository
- allenai/dolma
- Created
- Jun 30, 2023
- Last updated
- Apr 17, 2024
- Downloads (last month)
- 3,800
- Likes
- 1,089
- Size
- over 1T rows
- Modalities
- code, text
- Tasks
- text-generation
Tags
Topics
Language Modeling
Dataset profile
- Scale
- v1.7 default: 4.5 TB gzip; 2,532M documents; 2,308.5B OLMo tokens (1,715.1B after sample proportions used for OLMo-7B-v1.7). v1.6: 5.4 TB gzip; 11,519 GB UTF-8; 4,367M docs; 2,318B Unicode words; 3,059B Llama tokens. v1.5 ~3T tokens / 6.4 TB gzip. v1_6-sample ~10B tokens / 16.4 GB. size_categories n>1T. HF 2,762 downloads / 1,070 likes at check.
- Format
- gzip JSON via URL lists in urls/{version}.txt (not parquet). Toolkit loader: load_dataset('allenai/dolma') after local wget of the URL list. LICENSE.md on the repo.
- Type
- Pretraining corpus / multi-source English mix
- License
- ODC-By 1.0 since 2024-04-15 (was ImpACT). Users also bound by original source terms. Toolkit Apache-2.0.
- Cost
- Free
- Languages
- English 100% (design goal; FastText English score >= 0.5 on the CCNet web pipeline, which dropped 61.7% of CC bytes as non-English).
- Modality
- Text + source code (The Stack / StarCoder). No images.
- Domain
- English mixed pretraining: web, code, papers, books, social media, encyclopedic, math, instruction
- Time period
- Source cutoffs mostly Mar 2023 (v1.7 table): Common Crawl via Dolma v1.6 to Mar 2023; C4 to Apr 2019; Reddit to Mar 2023; StarCoder to May 2023; Algebraic Stack to Oct 2023. v1.7 released 2024-04-15; v1.6 2024-01-31; v1.5 2023-10-31; v1 2023-08-18. HF lastModified 2024-04-17.
- Purpose
- Open 3T-token English pretraining corpus for OLMo and for studying data-curation ablations; toolkit released for reproduction
- Used for
- OLMo-1B (Dolma v1.5); OLMo-7B (v1.5-sample ~1.9T); OLMo-7B-v1.7 (v1.7, 1.715T after source sampling). OLMo 2 / OLMoE keep Dolma 1.7 subsets (peS2o, Wikipedia, plus v1.7-bundled arXiv/OpenWebMath/Algebraic Stack) inside OLMo-mix-1124 rather than the full Dolma web mix. Later Dolma 3 trains OLMo 3 and is a different dataset.
- Authors
- Common Crawl / C4 web authors; GitHub/StarCoder code authors; Reddit users; Semantic Scholar / arXiv paper authors; Project Gutenberg public-domain books; Wikipedia/Wikibooks editors; Flan instruction authors. AI2 Dolma team curated.
- Bias
- English-only by design. v1.6 Llama-token mix is web-heavy (CC 74.6%; The Stack 13.4%; C4 6.5%; Reddit 2.9%; peS2o 2.3%; Gutenberg 0.2%; Wiki 0.1%). v1.7 full OLMo-token mix: Dolma-CC 51.8%; RefinedWeb 19.8%; StarCoder 11.4%; C4 6.0%; Reddit 3.5%; peS2o 2.5%; arXiv 1.2%; remaining specialized sources <1% each. Gopher/C4-style quality and Jigsaw hate/NSFW sentence filters; PII filtering. Avoided Books3.
- Text quality
- Source-specific pipelines (CCNet + Gopher All + C4 NoPunc on web; Bloom-filter dedup). Ablations on 1.2B OLMo-family models. Mixed quality: cleaned web plus high-quality papers/wiki/books and noisier Reddit/code. Not as uniformly filtered as FineWeb's web-only recipe (FineWeb paper compared against Dolma-v1.6 CC and won on their aggregate).
- Sample size
- Configs/versions: v1_7 (default), v1_6, v1_6-sample (~10B), v1_5, v1_5-sample (~1.9T, OLMo-7B), v1. v1.7 source sampling for OLMo-7B-v1.7: Dolma-CC and C4 at 50%; Wikipedia at 200%; other sources 100%.
- Long context
- Mixed (web/Reddit/code mostly short-to-medium; Gutenberg books and papers can be long-document).
- Intermediate steps
- Yes (Dolma toolkit: language/quality/toxicity/PII filters; Bloom-filter mixing/dedup/decontamination). Web: CCNet LID+paragraph-dedup, then Gopher+C4-NoPunc, FastText hate/NSFW sentence filters. Code from The Stack / StarCoder; papers peS2o; books Gutenberg; wiki Wikimedia dumps.
- Idea quality
- High
- Novelty
- High
- Text conversion
- Ready gzip JSON after parallel wget of urls/v1_7.txt (or other version). Viewer disabled on the card. Not a single parquet snapshot.
- Collection method
- Download
- Static
- Unknown (HF lastModified 2024-04-17; v1.7 is the last version on this repo. Dolma 3 is a separate later corpus.)
- Processed
- Unknown
Research notes
- downloads=3753; likes=1057
- Manuscript prepared for v1.6; v1.7 is the OLMo-7B-v1.7 mix and the HF default. PII takedown form on the card. Discord posted only the HF URL. Do not confuse with allenai/dolma3_* mixes used for OLMo 3.
Similar entries
- Model Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making
- Paper How Depth Growth and Looping Shape In-Context Learning in Language Models
- Post Introducing OUI-1: world's first model for Generative UI
- Post Reinforcing Recursive Language Models
- Thread Discussion thread on diffusion language models (Sean Welleck)
- Paper Learning to Learn a Language