Skip to main content

Models · Data · Synthetic data

Cosmopedia

Synthetic textbooks, stories and Q&A with clear structure, useful for small-model pretraining experiments.

SourceHugging Face
SizeAbout 30M documents / 25B tokens
LanguagesEnglish
FormatParquet / JSONL
LicenceApache-2.0 (see dataset card)
Commercial useAllowed with notice
AccessHugging Face direct download
Task fitSynthetic pretraining / Small-model training / Educational content
Verified2026-11-19

Quality and bias

Synthetic textbooks, stories and Q&A with clear structure, useful for small-model pretraining experiments.

Use boundaries

Synthetic text amplifies the generator’s biases and factual errors; it cannot replace real web corpora.

First use

Sample 1,000 articles for fact and duplication checks, then mix a small share into real corpora.

Common pitfalls

Treating synthetic data as real-world knowledge; ignoring the generator’s licence and style.

Cost

Low to medium; text training cost is manageable.

Not for

Not for pretraining that needs current facts or long-tail real knowledge.

Compare and alternatives

More pretraining long-form than UltraChat / OpenHermes; not conversational SFT.

How to verify

Check version, token count and generator; sample 50 articles for facts and duplication.

Next steps

  • Open the source page, download the dataset card and licence, and confirm the version and access terms.
  • Sample 100–500 records for quality, language and sensitive content before adding it to a training pipeline.
  • For RAG or SFT, first read how to choose a RAG corpus and how to mix SFT data.
Source:https://huggingface.co/datasets/HuggingFaceTB/cosmopedia · Verified 2026-11-19 · Licence terms follow the source page