CoolFace
Datasetpublic

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.

sourceHugging Faceotherupdated 5mo agoView on Hugging Face
0likes152downloads
Dataset Card

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:

DomainSourceTarget byte ratio
GeneralHuggingFaceFW/fineweb-edu, sample-100BT50%
Codebigcode/the-stack-dedup20%
MathHuggingFaceTB/finemath, finemath-3plus10%
Multilingualepfml/FineWeb2-HQ, 20 language subsets20%

The subset was created from remixed flat shards using Llama 3.1 token counting.

Dataset Size

Final subset statistics:

MetricValue
Tokens20,000,000,613
Rows18,808,438
Text bytes81.15 GiB

Tokens were counted with:

  • meta-llama/Llama-3.1-8B
  • add_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:

python
{
    "text": str,
    "source": str
}

The source field preserves source detail, for example:

  • fineweb-edu::sample-100BT
  • the-stack-dedup
  • finemath::finemath-3plus
  • fineweb2-hq::deu_Latn
  • fineweb2-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_Arab
  • ces_Latn
  • cmn_Hani
  • dan_Latn
  • deu_Latn
  • ell_Grek
  • fas_Arab
  • fra_Latn
  • hun_Latn
  • ind_Latn
  • ita_Latn
  • jpn_Jpan
  • nld_Latn
  • pol_Latn
  • por_Latn
  • rus_Cyrl
  • spa_Latn
  • swe_Latn
  • tur_Latn
  • vie_Latn

Intended Use

This dataset is intended for research on language-model pretraining and zip2zip-style training pipelines.

Example loading:

python
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-edu
  • bigcode/the-stack-dedup
  • HuggingFaceTB/finemath
  • epfml/FineWeb2-HQ