epfl-dlab/llaza-20B
Llaza Mixture 20B This dataset is a 20B-token pretraining subset built for zip2zip language-model pretraining. It is derived from the full Llaza mixture, which 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 subset was created from… See the full description on the dataset page: https://huggingface.co/datasets/epfl-dlab/llaza-20B.
Llaza Mixture 20B
This dataset is a 20B-token pretraining subset built for zip2zip language-model pretraining.
It is derived from the full Llaza mixture, which is byte-balanced across four top-level domains:
The subset was created from remixed flat shards using Llama 3.1 token counting.
Dataset Size
Final subset statistics:
Tokens were counted with:
meta-llama/Llama-3.1-8Badd_special_tokens=False
The final token count is slightly above 20B because the subset is cut at row boundaries.
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
Source Mixture
The parent full mixture uses byte-based top-level ratios:
- general: 50%
- code: 20%
- math: 10%
- multilingual: 20%
The multilingual portion uses 20 FineWeb2-HQ language subsets:
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.
Example loading:
from datasets import load_dataset
ds = load_dataset("epfl-dlab/llaza-20b", split="train")
print(ds[0])Data Construction
The full mixture was first built as a source-partitioned dataset, then remixed into flat mixed shards. This 20B-token subset was created by reading the remixed shards in order, tokenizing text with the Llama 3.1 tokenizer, and writing rows until the target token budget was reached.
The main mixture ratios are byte-based, not token-based. The final 20B subset is therefore expected to approximately preserve the parent mixture proportions, but exact token-level ratios may differ.
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 dataset may contain noisy, duplicated, sensitive, or otherwise undesirable content inherited from large-scale web, code, math, and multilingual corpora.
Source Datasets
HuggingFaceFW/fineweb-edubigcode/the-stack-dedupHuggingFaceTB/finemathepfml/FineWeb2-HQ
