textHuggingFaceTB/smollm-corpuspretrainingllmsynthetic-dataeducationcosmopediafinewebenglishparquet

SmolLM Corpus Pretraining Data

Free

Open dataset

Sample structure: 100 / 100
4 download links issued
Seller: DataBazaar
Sign up to download

Already have an account? Log in

Agent? Connect your account →

Category
Text
Records
236,980,453 rows
Format
PARQUET
Update Frequency
Not documented
Collection Method
auto_imported_huggingface_federated
PII
No flagged field names; not a privacy audit
File Size
~641893.69 MB
Download links issued
4

Source, license and coverage

Supplier documentation. These claims are separate from the automated sample score. A listing edit date is not a data freshness date.

License
odc-by
Source / creator
HuggingFaceTB/smollm-corpus
Collection method
Cosmopedia v2 was synthetically generated by prompting Mixtral-8x7B-Instruct with curated seed topics drawn from web data and educational resources, producing ~39M textbook/blog/story-style documents across many audiences and formats. FineWeb-Edu-dedup was produced by running an educational-quality classifier over FineWeb (a CommonCrawl-derived web corpus) and keeping the high-scoring subset, then deduplicating. Python-Edu was filtered from The Stack using an educational-code classifier. The publisher applied quality filtering, deduplication, and language identification before release.
Coverage start
Not documented
Coverage end
Not documented
Data last updated
Not documented
Update schedule
Not documented

Source documentation ↗

License terms ↗

- English-only; not suitable for multilingual model training. - Cosmopedia v2 is fully synthetic — it inherits any factual errors, hallucinations, or stylistic biases of Mixtral-8x7B-Instruct, and is not a substitute for ground-truth knowledge sources. - FineWeb-Edu subset inherits the biases of CommonCrawl (overrepresentation of certain web demographics and topics) and of the educational-quality classifier. - Not deduplicated against standard LLM evaluation suites — leakage risk if used for benchmark training. - Source does not document demographic/topical balance audits beyond classifier scores; buyers should validate empirically for their use case. The supplier describes synthetic or modeled records. These should not be treated as verified real-world observations.

Sample structure score: 100 / 100

This automated check describes the inspected sample, not factual accuracy, legal rights, representativeness, or the quality of the entire dataset. It is not a customer rating.

Assessed 10 sample records (JSON) on 2026-10-09. All records in the provided sample were checked.

CheckPointsEvidence
Populated cells50 / 5060 of 60 top-level cells contain a value. Null, absent and blank values count as missing; zero and false count as populated.
Consistent value types30 / 3060 of 60 populated cells match their column's most common observed type. Types are inferred, not checked against real-world truth.
Consistent record shape20 / 2010 of 10 records have the expected fields. CSV/TSV use the header width; JSON uses the union of observed keys.
Field-level findings and improvements

Check missing cells and mixed types below. Document intentional missing values or mixed types in your field descriptions. Do not fill legitimate unknowns with invented values just to increase this score.

FieldMissing cellsMost common typeOther populated types
blob_id0 / 10string0 / 10
repo_name0 / 10string0 / 10
path0 / 10string0 / 10
length_bytes0 / 10number0 / 10
score0 / 10number0 / 10
int_score0 / 10number0 / 10
How the score is calculated, its limitations, and how to correct an assessment →

About this data

Educational and synthetic pretraining corpus combining Cosmopedia v2 synthetic textbooks and stories with Python-Edu and deduplicated FineWeb-Edu subsets, curated for small language model training.

Retrieve with your agent or Python

Create an account and configure DATABAZAAR_API_KEY. This example retrieves free or already purchased data; it never makes a purchase. For a multi-file dataset, choose a file index from the manifest.

Download the Python example
python3 retrieve-dataset.py 61901d41-9eaf-4463-8dbf-79684b69fc7d --output dataset.bin
Full supplier documentation
## Overview SmolLM-Corpus is a curated collection of high-quality educational and synthetic text data assembled by the HuggingFaceTB team to pretrain the SmolLM family of small language models. The dataset is English-language, distributed as Parquet, and falls in the 100M–1B row size bucket. It bundles three major subsets: Cosmopedia v2 (synthetic textbooks/blog posts/stories), Python-Edu (educational Python code), and FineWeb-Edu (deduplicated educational web text). It was published in 2024 and last updated September 2024. ## Schema Schema varies by subset, but core fields across subsets include: - `text` — string — the document/sample text content - `prompt` — string — (Cosmopedia v2) generation prompt used to synthesize the document - `token_count` — int — approximate token count of the text - `audience` — string — (Cosmopedia v2) target audience tag (e.g., college students, young children) - `format` — string — (Cosmopedia v2) document format (textbook, blog post, story, etc.) - `seed_data` — string — (Cosmopedia v2) source seed used for synthesis - `url` — string — (FineWeb-Edu subset) original source URL - `language` — string — language code (en) - `score` — float — (FineWeb-Edu) educational quality classifier score - `dump` — string — (FineWeb-Edu) CommonCrawl dump identifier ## Sources - HuggingFaceTB/smollm-corpus on Hugging Face — https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus — license: ODC-By 1.0 - Underlying components: Cosmopedia v2 (synthetic, generated with Mixtral-8x7B-Instruct), FineWeb-Edu-dedup (filtered CommonCrawl), Python-Edu (filtered from The Stack) ## Methodology Cosmopedia v2 was synthetically generated by prompting Mixtral-8x7B-Instruct with curated seed topics drawn from web data and educational resources, producing ~39M textbook/blog/story-style documents across many audiences and formats. FineWeb-Edu-dedup was produced by running an educational-quality classifier over FineWeb (a CommonCrawl-derived web corpus) and keeping the high-scoring subset, then deduplicating. Python-Edu was filtered from The Stack using an educational-code classifier. The publisher applied quality filtering, deduplication, and language identification before release. ## Known gaps & limitations - English-only; not suitable for multilingual model training. - Cosmopedia v2 is fully synthetic — it inherits any factual errors, hallucinations, or stylistic biases of Mixtral-8x7B-Instruct, and is not a substitute for ground-truth knowledge sources. - FineWeb-Edu subset inherits the biases of CommonCrawl (overrepresentation of certain web demographics and topics) and of the educational-quality classifier. - Not deduplicated against standard LLM evaluation suites — leakage risk if used for benchmark training. - Source does not document demographic/topical balance audits beyond classifier scores; buyers should validate empirically for their use case. ## Intended use & out-of-scope - Intended: pretraining and continued pretraining of small/efficient language models, ablation studies on synthetic-vs-web data mixes, RAG corpora for educational domains, data-mixture research. - Out-of-scope: factual knowledge bases (synthetic content is not fact-checked), multilingual training, eval/benchmark construction without leakage checks, downstream tasks requiring private or personally identifiable data. _Federated dataset: 340 parquet shards, 626.85 GB total. Queries and downloads stream through the DataBazaar API._ Original supplier listing: SmolLM Corpus — Curated Pretraining Data for Small Language Models High-quality educational and synthetic pretraining corpus from HuggingFaceTB. Includes Cosmopedia v2 (39M+ synthetic textbooks/stories), Python-Edu, and FineWeb-Edu deduplicated subsets. Parquet, 100M-1B rows, ODC-By licensed.

Schema

NameTypeDescription
blob_idVARCHARSHA-1 hash uniquely identifying the code file
repo_nameVARCHARGitHub repository name containing the source code file
pathVARCHARFile path within the repository
length_bytesBIGINTFile size in bytes
scoreDOUBLEQuality score (0–5 range, float) for educational value
int_scoreBIGINTQuality score rounded to nearest integer (1–5)

Sample Data

Preview a sample of the data before downloading.

Public sample only. Sign in to retrieve the full dataset, including free datasets.

For AI Agents

Via MCP Server
# 1. Add to your agent's MCP config (claude_desktop_config.json or similar):
{
  "mcpServers": {
    "databazaar": { "command": "npx", "args": ["databazaar-mcp"] }
  }
}

# 2. Your agent can then call:
search_datasets({ query: "SmolLM Corpus Pretraining Data" })
// Found: 61901d41-9eaf-4463-8dbf-79684b69fc7d
get_download_url({ dataset_id: "61901d41-9eaf-4463-8dbf-79684b69fc7d" })  // free — sign in with MCP OAuth first
Via REST API
# Free dataset — sign in or use your account API key:
curl https://api.databazaar.io/datasets/61901d41-9eaf-4463-8dbf-79684b69fc7d/download-url -H "Authorization: Bearer $DATABAZAAR_API_KEY"