# Dolma

- **ID:** 28
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/allenai/dolma
- **Authors:** allenai
- **Venue:** allenai
- **Published:** 2023
- **Source:** huggingface
- **Language:** en
- **Access:** free
- **License:** odc-by
- **License family:** Permissive (auto-classified)
- **Tags:** hf-dataset-language-modeling-casual-lm-llm-has-paper
- **Topics:** Language Modeling
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/28

## Summary

Dolma is a dataset of 3 trillion tokens from a diverse mix of web content, academic publications, code, books, and encyclopedic materials.

## Attributes

- **Purpose:** Language Modeling
- **Scale:** n>1T
- **Used for:** arXiv: 2402.00159, 2301.13688
- **Time period:** created 2023-06-30; updated 2024-04-17
- **Author type:** unknown

## From the source (fetched 2026-10-03)

- **Repository:** allenai/dolma (Hugging Face)
- **Created:** Jun 30, 2023 (Hugging Face)
- **Last updated:** Apr 17, 2024 (Hugging Face)
- **Downloads (last month):** 3,800 (Hugging Face)
- **Likes:** 1,089 (Hugging Face)
- **Size:** over 1T rows (Hugging Face)
- **Modalities:** code, text (Hugging Face)
- **Tasks:** text-generation (Hugging Face)

## 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

## Links

- Dataset: https://huggingface.co/datasets/allenai/dolma
- Related: https://arxiv.org/abs/2402.00159
- Related: https://huggingface.co/datasets/allenai/dolma
- Related: https://github.com/allenai/dolma
- Related: https://allenai.github.io/dolma/
- Related: https://allenai.org/blog/making-a-switch-dolma-moves-to-odc-by-8f0e73852f44

## 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

- [Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making](https://papers.projxon.ai/entries/1018) (model, #1018)
- [How Depth Growth and Looping Shape In-Context Learning in Language Models](https://papers.projxon.ai/entries/1464) (paper, #1464)
- [Introducing OUI-1: world's first model for Generative UI](https://papers.projxon.ai/entries/703) (post, #703)
- [Reinforcing Recursive Language Models](https://papers.projxon.ai/entries/1100) (post, #1100)
- [Discussion thread on diffusion language models (Sean Welleck)](https://papers.projxon.ai/entries/757) (thread, #757)
- [Learning to Learn a Language](https://papers.projxon.ai/entries/1288) (paper, #1288)
