Datasets:
doc_id stringlengths 11 11 | sample_index int64 0 1,000k | context stringlengths 174 626k | skills listlengths 0 228 ⌀ | status stringclasses 2
values | input_tokens int64 669 139k | source_global_row int64 0 9.67M | url stringlengths 14 2.11k | prompt_sha256 stringlengths 64 64 | prompt_package_sha256 stringclasses 1
value | input_chat_sha256 stringlengths 64 64 | example_ids listlengths 3 3 | example_seed int64 42 42 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
FW1M0006920 | 6,920 | "Universal Natural History\nand Theory of the Heavens\nAn Essay on the Constitution and the Mechanic(...TRUNCATED) | ["Cosmological Theory","Mechanical Cosmogony","Newtonian Physics","Planetary System Dynamics","Astro(...TRUNCATED) | successful | 65,056 | 66,900 | http://www.ignaciodarnaude.com/textos_diversos/Kant,Theory%20of%20the%20Heavens,origin%20structure%20universe.htm | 1d3dbfa75c24cf1e9492c07daeedfb2992f5856a5d78f53a52fc98fbdae5d73f | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | aa70aff1098f4c4259c883ee60aba0f49c89ab171d1f0cb783cd0974c2430573 | [
"B04",
"A02",
"M06"
] | 42 |
FW1M0055140 | 55,140 | "Some Buddhists might say that to write a biography of Siddhatta Gotama is a very un-Buddhist thing (...TRUNCATED) | ["Buddhism Knowledge","Historical Analysis","Religious Text Interpretation","Philosophy Knowledge","(...TRUNCATED) | successful | 76,685 | 534,057 | https://www.you-books.com/book/K-Armstrong/Buddha | ddbb2369fa4002d3a2760e66023d743032a09863cee3f1424f708439ec4f0def | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | a0e3367fefb97bbd71bc0a15a6fdae973b18038e6673579497251897241b051b | [
"B06",
"M02",
"K05"
] | 42 |
FW1M0111230 | 111,230 | "The history of Christianity\nThe primitive church\nThe relation of the early church to late Judaism(...TRUNCATED) | null | generation_failed | 74,415 | 1,072,139 | https://www.britannica.com/topic/Christianity | b7dae08e2bc97f269b0d786d0dc13acdbe2f2404e4f13ae8ec134ba7a4da2b2b | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | 7436766a34fcb6f6261b30758532b6b6e25716a68d9bf6b7357aa3313683c682 | [
"M05",
"B04",
"K02"
] | 42 |
FW1M0125419 | 125,419 | "An Epic Poem\nTable of Contents\nExplanatory and Reference Material\nACT I : The Origins of the War(...TRUNCATED) | ["Epic Poetry Knowledge","Science Fiction Knowledge","Ecology Knowledge","Philosophy Knowledge","Bio(...TRUNCATED) | successful | 118,004 | 1,208,579 | http://frederickturnerpoet.com/?page_id=166 | e3ce1282bcadad14ff7b69176a23c758b3bf8e8591b7c749153992b0fffc9238 | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | c0ba9ad945051d52148f89b22d0094b4ca9009db828d7fa5d7a4fa3f02bac55c | [
"K03",
"A04",
"M01"
] | 42 |
FW1M0131614 | 131,614 | "Found 589 Resources containing: Landscape time night\nAfter the Civil War, the Industrial Revolutio(...TRUNCATED) | null | generation_failed | 66,604 | 1,269,997 | https://learninglab.si.edu/search?page=25&st=Landscape+time+night | 565bac7f54d1485622542e5263579ba357f65d2ce57d4b37ea5d17d3900b1644 | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | 93c0e6f22b1666c1bdc75eaed4d89acda761ab097e5bc86a93e2c1e0f83ee032 | [
"B01",
"M04",
"A02"
] | 42 |
FW1M0147326 | 147,326 | "02/28/06 - New Motor power saver uses wasted electricity\nThe Utilisaver is one of a number of powe(...TRUNCATED) | null | generation_failed | 67,083 | 1,422,851 | http://www.keelynet.com/indexfeb206.htm | 14174df53733fed5389c6c55dccb41842fec7572a2bc44d5347dbe518ef2e9ba | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | 7e0a54e8bc755dba02cee38777913763f9e327bcae86e7195c37be8c1016530e | [
"M01",
"K01",
"B06"
] | 42 |
FW1M0152823 | 152,823 | "Oral Cancer Basic description Cancer can affect any part of the oral cavity, including the lips, to(...TRUNCATED) | ["Oral Cancer Knowledge","Oral Microbiome Knowledge","Oral Health and Disease Prevention Knowledge",(...TRUNCATED) | successful | 101,705 | 1,475,487 | https://www.science.gov/topicpages/o/oral+transmucosa+cfot.html | 67aee720af8e9ffd1b9e20b9a279b842b23e663466f6a5d5398f00edc0fb4a0e | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | 769eeb438d6c99e7e4960aba6421c3604c47a46b213b091003157c51f5744a62 | [
"A06",
"K05",
"M03"
] | 42 |
FW1M0153391 | 153,391 | "Greer, Kirsten A\nThis paper examines the emergence of colonial ornithology in Upper Canada, 1791-1(...TRUNCATED) | null | generation_failed | 98,825 | 1,480,717 | https://worldwidescience.org/topicpages/a/ancient+imperial+colony.html | b638ba2436c112daec6ef68c6e7a815b90762ccad6347e09b99299bab8cafc05 | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | c2e73ff7434275557f30833ab93b35de2305d21b04ae07aabcf8d120a853a8a0 | [
"K06",
"A01",
"M01"
] | 42 |
FW1M0194165 | 194,165 | "Watch for the Recycle logo to find gems from the back issues!\nFooling Around with OOL\nMay 31, 201(...TRUNCATED) | null | generation_failed | 78,909 | 1,875,254 | http://www.creationsafaris.com/crev201005.htm | bfecee48b7f789e9cb1cd433075d9a4897b33d0eb641c8421fcd8658d50a04bb | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | 1247789b59ea39cd18fcc28b556aea19503ab5a809af71c375b222a1f2bf68a9 | [
"B03",
"M06",
"K06"
] | 42 |
FW1M0215229 | 215,229 | "By Stohl Margaret\nBy Stohl Margaret\nBeautiful Creatures is the first novel in the Caster Chronicl(...TRUNCATED) | ["Literary Analysis Knowledge","Fictional Narrative Knowledge","Character Development Knowledge","Th(...TRUNCATED) | successful | 76,082 | 2,080,359 | http://www.bookcaps.com/glossary/beautiful-creatures/ | 8204ccb81cd9d959491c6372d199e74c3b0a9e88d31ad811df2e7d36a50c16a2 | 38517c06b8ba652f975b6b4ef9a28bd9fe1b43df340af8fb2f52caf977260601 | abe7812115c26f99c87647aa87f58768d86876bc070d17d03fd2e775a0c8135f | [
"K06",
"A01",
"B05"
] | 42 |
Pretraining Skill Annotations: FineWeb-Edu and RedPajama v2
This release contains a lossless aggregation of the finalized Parquet exports of two million-document annotation runs: one million FineWeb-Edu documents and one million RedPajama v2 documents. Each row includes the complete source text in context, an English skills list, annotation status, and provenance fields.
The repository is public, as requested by its owner after initial private preparation. The labels are generated by Qwen3-4B-Instruct-2507 using parent_inclusive revision 4. Engineering validation is complete; independent human semantic accuracy has not been established. Labels are candidate content/skill annotations, not measured training-token exposure or verified learning prerequisites.
Contents and counts
| Configuration | Input rows | Successful, nonempty | Successful, empty | Generation failed | Parquet files |
|---|---|---|---|---|---|
| fineweb_edu | 1,000,000 | 999,579 | 117 | 304 | 10 |
| redpajama_v2 | 1,000,000 | 968,878 | 30,617 | 505 | 10 |
All original input rows are retained. A successful empty list means the annotator returned no qualifying label. A generation failure is separately marked and must not be interpreted as a successful empty annotation.
The split is named train for loading convenience. It does not claim that a leakage-controlled model-training/evaluation split has been established.
Load the data
The repository is public. Select a configuration; authentication is not required:
from datasets import load_dataset
fineweb = load_dataset(
"zykan/pretraining-skill-annotations-2m", "fineweb_edu", split="train", token=False, streaming=True
)
row = next(iter(fineweb))
print(row["context"])
print(row["skills"])
print(row["status"])
redpajama = load_dataset(
"zykan/pretraining-skill-annotations-2m", "redpajama_v2", split="train", token=False, streaming=True
)
# Keep successful rows, including legitimate empty lists:
successful = fineweb.filter(lambda row: row["status"] == "successful")
The text field is named context, not text. The original export schema is preserved:
| Field | Type | Meaning |
|---|---|---|
| doc_id | string | Frozen annotation document identifier; FW1M prefix or RPV2 prefix |
| sample_index | int64 | Index within this source's million-document input; not a shared cross-source index |
| context | string | Complete source text; no truncation or segmentation |
| skills | list of strings | Raw model-generated English labels; inspect status before use |
| status | string | successful or generation_failed |
| input_tokens | int64 | Annotation chat input length, including prompt/examples; not pretraining target-token exposure |
| source_global_row | int64 | Row coordinate assigned by the source sampler; interpret within its source |
| url | string | Original webpage URL |
| prompt_sha256 | string | Actual per-document system prompt hash |
| prompt_package_sha256 | string | Frozen preview/package identity; differs from the per-document prompt hash |
| input_chat_sha256 | string | Full rendered annotation chat hash |
| example_ids | list of strings | The three demonstration IDs in their actual order |
| example_seed | int64 | Seed used to choose demonstrations |
Annotation method
The annotator identifies the main knowledge and task skills needed to produce content with equivalent substance/function and accuracy, or solve the problems in the document. Knowledge domains qualify as skills. Reusable medium-grained English labels and clearly supported is-a ancestors are retained together in a flat list. The list does not explicitly encode parent edges.
The annotation model is the local Qwen3-4B-Instruct-2507 checkpoint, using float16, temperature 0, generation seed 20261009 and disabled thinking. The first output allowance is 1,024 tokens; invalid/incomplete outputs are retried on the same input with 2,048 tokens. Context routing uses 16,384 / 32,768 / 65,536 / 147,456 windows, reserving 2,048 output tokens and 256 safety tokens.
Each document receives three demonstrations drawn from distinct groups of a frozen 24-example pool. Selection uses seed 42 and the document ID; exact, contained, and same-source-document examples are excluded. Selected example IDs and actual prompt hashes are retained in each row.
The byte-exact frozen preview, template, example pool and renderer are included in prompts/. The preview is not the actual prompt used for every document. Reconstruct an individual system prompt with the included renderer:
import hashlib
import importlib.util
from pathlib import Path
prompt_dir = Path("prompts") # downloaded from this repository
spec = importlib.util.spec_from_file_location("frozen_prompt", prompt_dir / "render_prompt.py")
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
prompt, selection = module.build_prompt(
row["example_seed"], row["doc_id"], 3,
passage=row["context"], directory=prompt_dir, target_doc_id=row["doc_id"]
)
assert hashlib.sha256(prompt.encode()).hexdigest() == row["prompt_sha256"]
assert selection["example_ids"] == row["example_ids"]
Source sampling
FineWeb-Edu: a uniform, without-replacement seed-42 sample of source rows from sample-10BT, revision 87f09149ef4734204d70ed1d046ddc9ca3f2b8f9, containing 9,672,101 source records. Extra identical text records were retained: 4,559. No sampled document exceeded the complete annotation context.
RedPajama v2: the 2023-06 English head/middle data, with the official listing pinned to aa033f6b6480c445557e9118283993403f069f6a. First, 24 of 5,000 shard IDs were drawn without replacement using seed 42; their head and middle files form 48 complete text files. Official duplicate IDs were excluded. One million documents were then chosen by SHA256("42:"+official_doc_id) priority from 1,514,025 eligible candidates. Fifty-six over-context candidates were recorded and replaced by later-priority candidates before the input was frozen. Extra identical text records were retained: 2,734.
The RedPajama selection is a two-stage sample, not a uniform document sample over all RedPajama v2. Neither configuration is described as one million deduplicated unique texts. Generation failures were not replaced by different documents.
Provenance and validation
manifest.json lists every uploaded Parquet file, its SHA256, byte size and row count, plus sampling/model/prompt metadata and original batch-manifest hashes. The release aggregates the 4,004 original export files into 20 larger Parquet shards, ten per source (about 200 MB per shard on average). All row values and columns are preserved. The original export inventory and checksums are included in provenance/original_export_manifest.json; the new manifest maps each aggregate shard to its original files.
Release preparation compares every output row group with its original full Arrow table across all columns, then checks all output hashes, export schemas, row counts, statuses, per-source sample-index coverage and document-ID uniqueness. Prompt reconstruction is checked on a sample from each source. These are engineering checks and do not establish semantic correctness, a power law, a valid semantic tree, or a causal relationship between skill frequency and model loss.
Full raw annotation attempts and operational logs remain in the original local experiment batches. This repository contains the finalized exports and the frozen prompt reconstruction assets.
Source attribution and terms
- FineWeb-Edu identifies its database license as ODC-By. Attribution and upstream conditions are retained.
- RedPajama-Data-V2 refers text-data users to the Common Crawl Terms of Use; its code license must not be confused with a blanket license for all collected text.
- Underlying webpages may carry their own rights and terms. This annotation upload does not replace or broaden the upstream permissions. No single new blanket text license is asserted for the combined repository.
- Downloads last month
- 68