mxxsc/zip2zip-plus-mixture-partitioned
Zip2Zip Plus Mixture Partitioned This dataset is a partitioned pretraining-data mixture built for zip2zip language-model pretraining. The mixture is byte-balanced across four top-level domains: Domain Source Target byte ratio General HuggingFaceFW/fineweb-edu, sample-100BT 50% Code bigcode/the-stack-dedup 20% Math HuggingFaceTB/finemath, finemath-3plus 10% Multilingual epfml/FineWeb2-HQ, 20 language subsets 20% The uploaded layout is partitioned by source… See the full description on the dataset page: https://huggingface.co/datasets/mxxsc/zip2zip-plus-mixture-partitioned.
Zip2Zip Plus Mixture Partitioned
This dataset is a partitioned pretraining-data mixture built for zip2zip language-model pretraining.
The mixture is byte-balanced across four top-level domains:
The uploaded layout is partitioned by source domain. It is intended as the full source-partitioned version from which remixed training datasets and token-budget subsets can be derived.
Dataset Structure
Each row has the schema:
{
"text": str,
"source": str
}The source field preserves source detail, for example:
fineweb-edu::sample-100BTthe-stack-dedupfinemath::finemath-3plusfineweb2-hq::deu_Latnfineweb2-hq::cmn_Hani
Multilingual Subsets
The multilingual portion uses 20 FineWeb2-HQ language subsets, sampled according to their row counts:
arb_Arabces_Latncmn_Hanidan_Latndeu_Latnell_Grekfas_Arabfra_Latnhun_Latnind_Latnita_Latnjpn_Jpannld_Latnpol_Latnpor_Latnrus_Cyrlspa_Latnswe_Latntur_Latnvie_Latn
Intended Use
This dataset is intended for research on language-model pretraining and zip2zip-style training pipelines.
Typical workflow:
- Build or download this partitioned mixture.
- Count tokens with the target tokenizer.
- Remix into flat mixed shards.
- Create token-budget subsets, such as a 20B-token subset.
- Use the resulting flat mixed dataset for pretraining.
Loading
from datasets import load_dataset
ds = load_dataset("mxxsc/zip2zip-plus-mixture-partitioned", split="train")
print(ds[0])Data Construction
The mixture was constructed by streaming source datasets and writing incremental compressed JSONL shards. The top-level mixture ratios are byte-based, not token-based.
The multilingual domain is internally allocated according to language subset row counts.
Caveats
This dataset inherits the quality, filtering, licensing, and safety properties of its upstream datasets. Users should consult the original dataset cards before redistribution or downstream deployment.
The mixture ratios are based on written text bytes. Token ratios may differ depending on the tokenizer.
Source Datasets
HuggingFaceFW/fineweb-edubigcode/the-stack-dedupHuggingFaceTB/finemathepfml/FineWeb2-HQ
