Datasets:
File size: 2,518 Bytes
efcf8aa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | # Composition, measured
Numbers below are **text bytes after cleaning**, not file sizes (JSONL adds
~10 % of metadata). The final mix is produced by `build`, which applies
deduplication and the quotas; the "fetched" column is the pool it draws from.
## Fetched pool
| | EN | RU | total |
|---|---:|---:|---:|
| text | 4.9 GB | 2.4 GB | **7.3 GB** |
| documents | 690k | 105k | **795k** |
At the measured 3.34 bytes/token on the 8K bilingual BPE this is ≈ 2.15B
tokens before dedup and quota selection.
## By domain
| domain | fetched share | notes |
|---|---:|---|
| mathematics | 26 % | OpenWebMath is the bulk; Wikipedia math adds definitions |
| science | 22 % | arXiv full text dominates; cosmology curated separately |
| encyclopedic | 16 % | Wikipedia EN/RU |
| code | 14 % | CodeParrot Clean + CPython stdlib |
| literature | 11 % | Gutenberg novels, Russian classics from Wikisource |
| ML | 5 % | arXiv abstracts, textbooks, framework docs |
| logic | 2 % | Lean mathlib proofs + Wikipedia logic |
| CS / engineering | 3 % | curated Wikipedia categories (chips, VLSI, XP, agile) |
| humour | <1 % | Gutenberg satire, transcripts |
| identity | <0.1 % | synthetic, 800 plain + 850 pastiche per language, no numeric facts |
## Language ratio
60/40 **by bytes** is the contract. Because Cyrillic costs ~1.8× more bytes per
character, the same split is ≈ 55/45 by bytes but only ≈ 33 % Russian by
tokens with the 8K BPE. Both numbers are reported in `tokenizer_meta.json`;
the byte contract is the stable one, the token share depends on the tokenizer.
## Shortfalls (kept visible)
* **logic** — 10 % quota, ~2 % realised. Formal proofs exist (mathlib), but
general logic prose is thin.
* **ML** — 12 % quota, ~5 % realised. arXiv abstracts are high quality but
short; textbooks are paywalled.
* **humour** — 1 % quota, ~1.5 MB realised. Public-domain satire and dialogue
are small by nature.
* **Russian code** — the code quota is filled with English source; Russian
code comments are not a coherent corpus of their own.
The mixer emits these as `shortfalls` in `corpus_report.json` rather than
padding the quota with mislabelled text.
## Dedup and held-out
* MinHash, 64 permutations, 5-shingles, Jaccard threshold 0.8.
* Held-out: 2 % of each (language, domain) bucket, at most one document
boundary of overshoot.
* Buckets under 5 MB (identity, rare slices) are **not** split, so they stay in
training in full.
|