Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
text
stringlengths
3.5k
4.04k
TOPIC: CS - big-O. SPEC: Implement public key crypto with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 53949 RPS prod. TOPIC: History/Econ - Treaty of Versailles. CONTEXT: 1898, competition + tech shift. MODEL: Forcing + feedback -> equilibriu...
TOPIC: Chemistry - ideal gas law. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=1 mol at 275K => V~17L. APPLICATION: Batteries, synthesis. TOPIC: Biology - action potential. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 ...
TOPIC: Math - Fourier transform. PROBLEM: 3*x+335=387. TRACE: Subtract 335 => 3*x=52. Divide 3 => x=17.3333. VERIFY: 3*17.3333+335=387. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - SQL indexing. SPEC: Implement big-O with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty,...
TOPIC: CS - public key crypto. SPEC: Implement Dijkstra with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 15319 RPS prod. TOPIC: History/Econ - Mongol logistics. CONTEXT: 1774, competition + tech shift. MODEL: Forcing + feedback -> equilibrium...
TOPIC: CS - transformer attention. SPEC: Implement SQL indexing with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 23425 RPS prod. TOPIC: History/Econ - Treaty of Versailles. CONTEXT: 1313, competition + tech shift. MODEL: Forcing + feedback ->...
TOPIC: Physics - Newton's laws. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=11968J. EXAMPLE: 1kg at 17m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - Fourier transform. PROBLEM: 13*x+136=224. TRACE: Subtract 136 => 13*x=88. Divide...
TOPIC: Physics - Newton's laws. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=76396J. EXAMPLE: 1kg at 16m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - prime factorization. PROBLEM: 12*x+284=553. TRACE: Subtract 284 => 12*x=269. Div...
TOPIC: Math - prime factorization. PROBLEM: 8*x+166=559. TRACE: Subtract 166 => 8*x=393. Divide 8 => x=49.1250. VERIFY: 8*49.1250+166=559. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - SQL indexing. SPEC: Implement quicksort with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE:...
TOPIC: Physics - quantum superposition. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=95634J. EXAMPLE: 6kg at 2m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - Bayes theorem. PROBLEM: 6*x+253=631. TRACE: Subtract 253 => 6*x=378. Divi...
TOPIC: Math - Pythagorean theorem. PROBLEM: 7*x+468=732. TRACE: Subtract 468 => 7*x=264. Divide 7 => x=37.7143. VERIFY: 7*37.7143+468=732. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - SQL indexing. SPEC: Implement quicksort with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE:...
TOPIC: Math - Fourier transform. PROBLEM: 8*x+406=599. TRACE: Subtract 406 => 8*x=193. Divide 8 => x=24.1250. VERIFY: 8*24.1250+406=599. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - TCP vs UDP. SPEC: Implement quicksort with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: emp...
TOPIC: Physics - relativity. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=76776J. EXAMPLE: 10kg at 18m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - prime factorization. PROBLEM: 6*x+457=625. TRACE: Subtract 457 => 6*x=168. Divide ...
TOPIC: Math - Pythagorean theorem. PROBLEM: 15*x+313=723. TRACE: Subtract 313 => 15*x=410. Divide 15 => x=27.3333. VERIFY: 15*27.3333+313=723. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - quicksort. SPEC: Implement SQL indexing with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. E...
TOPIC: Math - Fourier transform. PROBLEM: 8*x+107=296. TRACE: Subtract 107 => 8*x=189. Divide 8 => x=23.6250. VERIFY: 8*23.6250+107=296. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - public key crypto. SPEC: Implement Dijkstra with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDG...
TOPIC: Math - central limit theorem. PROBLEM: 10*x+121=284. TRACE: Subtract 121 => 10*x=163. Divide 10 => x=16.3000. VERIFY: 10*16.3000+121=284. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - transformer attention. SPEC: Implement hash tables with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time ...
TOPIC: Chemistry - Le Chatelier. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=1 mol at 316K => V~29L. APPLICATION: Batteries, synthesis. TOPIC: Biology - photosynthesis. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 gen...
TOPIC: Math - prime factorization. PROBLEM: 14*x+139=173. TRACE: Subtract 139 => 14*x=34. Divide 14 => x=2.4286. VERIFY: 14*2.4286+139=173. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - quicksort. SPEC: Implement big-O with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty...
TOPIC: Chemistry - redox reactions. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=4 mol at 320K => V~40L. APPLICATION: Batteries, synthesis. TOPIC: Biology - DNA replication. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000...
TOPIC: CS - public key crypto. SPEC: Implement Dijkstra with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 95398 RPS prod. TOPIC: History/Econ - plate tectonics. CONTEXT: 1552, competition + tech shift. MODEL: Forcing + feedback -> equilibrium....
TOPIC: Chemistry - Le Chatelier. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=1 mol at 273K => V~11L. APPLICATION: Batteries, synthesis. TOPIC: Biology - natural selection. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 ...
TOPIC: CS - TCP vs UDP. SPEC: Implement SQL indexing with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 63640 RPS prod. TOPIC: History/Econ - Meiji Restoration. CONTEXT: 1222, competition + tech shift. MODEL: Forcing + feedback -> equilibrium. ...
TOPIC: Chemistry - Le Chatelier. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=2 mol at 349K => V~33L. APPLICATION: Batteries, synthesis. TOPIC: Biology - photosynthesis. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 gen...
TOPIC: CS - quicksort. SPEC: Implement transformer attention with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 72419 RPS prod. TOPIC: History/Econ - Treaty of Versailles. CONTEXT: 1435, competition + tech shift. MODEL: Forcing + feedback -> eq...
TOPIC: Physics - relativity. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=21244J. EXAMPLE: 3kg at 3m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: CS - TCP vs UDP. SPEC: Implement transformer attention with invariant. CODE: def solve(arr)...
TOPIC: CS - big-O. SPEC: Implement quicksort with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 97257 RPS prod. TOPIC: History/Econ - compound interest. CONTEXT: 1470, competition + tech shift. MODEL: Forcing + feedback -> equilibrium. CALC: P=...
TOPIC: Physics - black hole thermodynamics. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=188264J. EXAMPLE: 9kg at 2m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - Fourier transform. PROBLEM: 7*x+466=870. TRACE: Subtract 466 => 7*x=...
TOPIC: CS - TCP vs UDP. SPEC: Implement public key crypto with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 73925 RPS prod. TOPIC: History/Econ - compound interest. CONTEXT: 1808, competition + tech shift. MODEL: Forcing + feedback -> equilibr...
TOPIC: CS - hash tables. SPEC: Implement public key crypto with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 25251 RPS prod. TOPIC: History/Econ - compound interest. CONTEXT: 1584, competition + tech shift. MODEL: Forcing + feedback -> equilib...
TOPIC: CS - SQL indexing. SPEC: Implement big-O with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 36270 RPS prod. TOPIC: History/Econ - Meiji Restoration. CONTEXT: 1593, competition + tech shift. MODEL: Forcing + feedback -> equilibrium. CALC:...
TOPIC: Physics - electromagnetic induction. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=33680J. EXAMPLE: 1kg at 4m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - chain rule. PROBLEM: 3*x+421=501. TRACE: Subtract 421 => 3*x=80. Divi...
TOPIC: Chemistry - catalysis. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=3 mol at 328K => V~19L. APPLICATION: Batteries, synthesis. TOPIC: Biology - action potential. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 gene...
TOPIC: Math - eigenvalues. PROBLEM: 2*x+448=722. TRACE: Subtract 448 => 2*x=274. Divide 2 => x=137.0000. VERIFY: 2*137.0000+448=722. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - Dijkstra. SPEC: Implement Dijkstra with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, sin...
TOPIC: Math - Bayes theorem. PROBLEM: 13*x+39=445. TRACE: Subtract 39 => 13*x=406. Divide 13 => x=31.2308. VERIFY: 13*31.2308+39=445. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - hash tables. SPEC: Implement quicksort with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty...
TOPIC: Physics - black hole thermodynamics. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=1332J. EXAMPLE: 9kg at 11m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: CS - big-O. SPEC: Implement Dijkstra with invariant. CODE: def solve(arr): m...
TOPIC: CS - Dijkstra. SPEC: Implement hash tables with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 49484 RPS prod. TOPIC: History/Econ - Nash equilibrium. CONTEXT: 1313, competition + tech shift. MODEL: Forcing + feedback -> equilibrium. CALC...
TOPIC: Physics - electromagnetic induction. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=18924J. EXAMPLE: 10kg at 9m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - chain rule. PROBLEM: 7*x+114=280. TRACE: Subtract 114 => 7*x=166. Di...
TOPIC: Physics - energy conservation. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=82895J. EXAMPLE: 9kg at 10m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - Bayes theorem. PROBLEM: 8*x+295=576. TRACE: Subtract 295 => 8*x=281. Divid...
TOPIC: CS - big-O. SPEC: Implement quicksort with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 31186 RPS prod. TOPIC: History/Econ - plate tectonics. CONTEXT: 1905, competition + tech shift. MODEL: Forcing + feedback -> equilibrium. CALC: P=33...
TOPIC: Physics - relativity. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=5940J. EXAMPLE: 8kg at 5m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: CS - public key crypto. SPEC: Implement Dijkstra with invariant. CODE: def solve(arr): maint...
TOPIC: Chemistry - Le Chatelier. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=2 mol at 284K => V~28L. APPLICATION: Batteries, synthesis. TOPIC: Biology - DNA replication. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 ge...
TOPIC: Math - prime factorization. PROBLEM: 7*x+275=547. TRACE: Subtract 275 => 7*x=272. Divide 7 => x=38.8571. VERIFY: 7*38.8571+275=547. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - SQL indexing. SPEC: Implement public key crypto with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) spac...
TOPIC: Chemistry - polymerization. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=3 mol at 366K => V~38L. APPLICATION: Batteries, synthesis. TOPIC: Biology - immune memory. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 ge...
TOPIC: CS - TCP vs UDP. SPEC: Implement transformer attention with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 23466 RPS prod. TOPIC: History/Econ - Treaty of Versailles. CONTEXT: 1804, competition + tech shift. MODEL: Forcing + feedback -> e...
TOPIC: Physics - wave-particle duality. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=126600J. EXAMPLE: 10kg at 11m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - Pythagorean theorem. PROBLEM: 4*x+422=722. TRACE: Subtract 422 => 4*x=...
TOPIC: CS - quicksort. SPEC: Implement quicksort with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 81365 RPS prod. TOPIC: History/Econ - Nash equilibrium. CONTEXT: 1814, competition + tech shift. MODEL: Forcing + feedback -> equilibrium. CALC:...
TOPIC: Physics - black hole thermodynamics. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=153176J. EXAMPLE: 1kg at 9m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: Math - prime factorization. PROBLEM: 5*x+467=795. TRACE: Subtract 467 => 5*...
TOPIC: CS - TCP vs UDP. SPEC: Implement SQL indexing with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, single, dupes. USE: 19418 RPS prod. TOPIC: History/Econ - Industrial Revolution. CONTEXT: 1684, competition + tech shift. MODEL: Forcing + feedback -> equilibri...
TOPIC: Math - eigenvalues. PROBLEM: 6*x+391=869. TRACE: Subtract 391 => 6*x=478. Divide 6 => x=79.6667. VERIFY: 6*79.6667+391=869. GENERAL: ax+b=c => x=(c-b)/a. TOPIC: CS - quicksort. SPEC: Implement TCP vs UDP with invariant. CODE: def solve(arr): maintain low<=target<=high, O(n log n) time O(n) space. EDGE: empty, si...
TOPIC: Chemistry - catalysis. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=4 mol at 352K => V~30L. APPLICATION: Batteries, synthesis. TOPIC: Biology - cellular respiration. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 ...
TOPIC: Physics - black hole thermodynamics. DEF: Fundamental law from symmetry/conservation. EXPLANATION: System minimizes action, energy E=77973J. EXAMPLE: 3kg at 20m/s => KE=0.5*m*v^2. IMPLICATION: Used in engineering and astrophysics. TOPIC: CS - public key crypto. SPEC: Implement TCP vs UDP with invariant. CODE: de...
TOPIC: Chemistry - ideal gas law. MECHANISM: Valence electrons achieve octet via sharing/transfer. CALC: PV=nRT with n=5 mol at 388K => V~28L. APPLICATION: Batteries, synthesis. TOPIC: Biology - action potential. PROCESS: Signal binds -> ATP 30.5 kJ/mol drives change -> product released. QUANT: Genome 3.2e9 bp, ~20000 ...
End of preview. Expand in Data Studio

pretrain-60GB

A 60GB, knowledge-dense pretraining corpus built as a clean, superior alternative to TinyStories.

TinyStories teaches grammar. This teaches knowledge, reasoning, and code.

File: pretrain.csv - 60GB, ~15M rows, single column text

Why vs TinyStories?

TinyStories is fiction for kids. This is textbook / encyclopedia / reasoning / code. Every row is 3500-5200 chars packed with 2-3 fused concepts, not a story.

  • Physics, Chem, Bio, Math, CS, History, Geo, Econ
  • Step-by-step math with verification
  • Algorithms with invariants + edge cases
  • Logic puzzles with backtracking traces

All synthetic, original, cleaned. One line per example for fast streaming. No scraped data, no copyrighted text.

Usage

Streaming is recommended for 60GB:

from datasets import load_dataset
from transformers import AutoTokenizer

ds = load_dataset("YOUR_USERNAME/pretrain-60GB", streaming=True, split="train")

for row in ds:
    print(row['text'][:500])
    break

tok = AutoTokenizer.from_pretrained("gpt2")
def tokenize(ex):
    return tok(ex["text"], truncation=True, max_length=1024)

ds_tokenized = ds.map(tokenize)

With PyTorch:

import pandas as pd
for chunk in pd.read_csv("pretrain.csv", chunksize=100000):
    # your training loop
    pass

Stats

  • Size: 64.4 GB on disk (60 GiB target)
  • Rows: ~15-18M
  • Avg length: ~4000 chars / 600-900 tokens
  • Format: CSV, header text, quoted, UTF-8
  • License: Apache 2.0

Limitations

Synthetic data - may contain simplified explanations. Intended as a base pretrain, fine-tune on curated data after.

License

This dataset uses the Open Data Attribution Training Disclosure License (ODATL‑1.0). You may learn more looking at the LICENSE file.

Downloads last month
22