mariner-data / README.md
dbuddha's picture
Mirror Calvin-Xu/mariner-data@836a894770 (Apache-2.0, upstream attribution preserved)
e98087c verified
|
Raw History Blame Contribute Delete
22.9 kB
---
license: apache-2.0
task_categories:
- other
language:
- en
pretty_name: MARINER Data
size_categories:
- 1M<n<10M
tags:
- data-mixing
- language-models
- pretraining
- mixture-optimization
configs:
- config_name: partition
data_files:
- split: train
path: data/partition/partition.csv
- config_name: tasks
data_files:
- split: train
path: data/tasks/tasks.csv
- config_name: swarm_qwen3_360m_1p6b
data_files:
- split: train
path: data/swarm_qwen3_360m_1p6b/swarm_qwen3_360m_1p6b.csv
- config_name: swarm_llama_160m_1p2b
data_files:
- split: train
path: data/swarm_llama_160m_1p2b/swarm_llama_160m_1p2b.csv
- config_name: swarm_llama_200m_6b
data_files:
- split: train
path: data/swarm_llama_200m_6b/swarm_llama_200m_6b.csv
- config_name: heldout
data_files:
- split: train
path: data/heldout/heldout.csv
- config_name: validation_3e18
data_files:
- split: train
path: data/validation_3e18/validation_3e18.csv
- config_name: ladder
data_files:
- split: train
path: data/ladder/ladder.csv
- config_name: ladder_accuracy
data_files:
- split: train
path: data/ladder_accuracy/ladder_accuracy.csv
- config_name: ladder_compute_equivalence
data_files:
- split: train
path: data/ladder_compute_equivalence/ladder_compute_equivalence.csv
- config_name: ladder_unimax_cap_sweep
data_files:
- split: train
path: data/ladder_unimax_cap_sweep/ladder_unimax_cap_sweep.csv
- config_name: starcoder_observations
data_files:
- split: train
path: data/starcoder/starcoder_observations.csv
- config_name: starcoder_curve_membership
data_files:
- split: train
path: data/starcoder/starcoder_curve_membership.csv
- config_name: starcoder_curves
data_files:
- split: train
path: data/starcoder/starcoder_curves.csv
- config_name: starcoder_fit_parameters
data_files:
- split: train
path: data/starcoder/starcoder_fit_parameters.csv
- config_name: starcoder_diagonal
data_files:
- split: train
path: data/starcoder/starcoder_diagonal.csv
- config_name: starcoder_epoch_matching
data_files:
- split: train
path: data/starcoder/starcoder_epoch_matching.csv
- config_name: starcoder_epoch_matching_grid
data_files:
- split: train
path: data/starcoder/starcoder_epoch_matching_grid.csv
- config_name: starcoder_curricula
data_files:
- split: train
path: data/starcoder/starcoder_curricula.csv
- config_name: starcoder_curricula_matched_nd
data_files:
- split: train
path: data/starcoder/starcoder_curricula_matched_nd.csv
- config_name: starcoder_curricula_matched_nd_confirmation
data_files:
- split: train
path: data/starcoder/starcoder_curricula_matched_nd_confirmation.csv
- config_name: starcoder_transition
data_files:
- split: train
path: data/starcoder/starcoder_transition.csv
- config_name: starcoder_ramp_designs
data_files:
- split: train
path: data/starcoder/starcoder_ramp_designs.csv
- config_name: starcoder_repeat_noise
data_files:
- split: train
path: data/starcoder/starcoder_repeat_noise.csv
- config_name: domain_sweeps
data_files:
- split: train
path: data/domain_sweeps/domain_sweeps.csv
- config_name: domain_sweeps_olmix_fits
data_files:
- split: train
path: data/domain_sweeps/domain_sweeps_olmix_fits.csv
- config_name: run_sets
data_files:
- split: train
path: data/run_sets/run_sets.csv
---
# MARINER Data
This repository contains the training runs and fits behind **[MARINER](https://arxiv.org/abs/XXXX.XXXXX)**, a parametric surrogate for data mixing that models both the saturating benefit of each data bucket and the growing harm of repeating it. Most runs train models on mixtures of **39 data buckets** and record their bits per byte (BPB) on **58 evaluation tasks** from Uncheatable Eval (7 corpora) and OlmoBaseEval Easy (51 tasks). The main swarm trains **360M-parameter Qwen3 models on 1.6B tokens**. The dataset also contains the two-bucket StarCoder experiments, the domain sweeps, and MARINER's fits. We trained all models with [Marin](https://github.com/marin-community/marin) and logged them to its public [W&B project](https://wandb.ai/marin-community/marin).
For more details, see our paper: [*MARINER: Measuring and Modeling Repetition Harm for Multi-Epoch Data Mixing*](https://arxiv.org/abs/XXXX.XXXXX)
## Tables
The dataset contains **38 tables**. Each table is one file, `data/<config>/<table>.csv` or `data/<config>/<table>.parquet`.
```
data/
├── partition/ # The 39 data buckets
├── tasks/ # The 58 evaluation tasks
├── swarm_qwen3_360m_1p6b/ # Main swarm (290 runs)
├── swarm_llama_160m_1p2b/ # Archived swarm (291 runs)
├── swarm_llama_200m_6b/ # Archived swarm (290 runs)
├── heldout/ # Held-out runs of the three swarms (937 runs)
├── validation_3e18/ # Trained proposals and baselines (218 runs)
├── ladder/ # Scaling ladder (44 runs)
├── ladder_accuracy/ # Accuracy of four runs at 1e21 FLOPs
├── ladder_compute_equivalence/ # Baseline compute to match MARINER
├── ladder_unimax_cap_sweep/ # UniMax epoch caps (3 runs)
├── starcoder/ # Two-bucket experiments (15 tables)
├── domain_sweeps/ # Single-domain sweeps (2 tables)
├── fits/ # MARINER's fits and diagnostics (9 tables)
└── run_sets/ # Named sets of runs
```
- **`partition/`**: The 39 buckets, with their names in the paper, source pools and licenses, quality tiers, pool sizes in tokens, and epochs per unit weight.
- **`tasks/`**: The 58 tasks, with their objectives, families, source datasets, revisions and splits, tokenizers, BPB definitions, citation keys, licenses, and aggregate weights.
- **Swarms** (3 tables): Each swarm has 238 designs, 3 baselines, and 39 single-bucket removals as fit runs, and 10 repeats of the proportional mixture. The Llama 160M/1.2B swarm has a fourth baseline.
- `swarm_qwen3_360m_1p6b`: The main swarm, at Qwen3 360M/1.6B.
- `swarm_llama_160m_1p2b` and `swarm_llama_200m_6b`: Archived swarms of Llama models at 160M/1.2B and 200M/6B, with each run's model and training settings.
- **`heldout/`**: The held-out runs of the three swarms, 621 at Qwen3 360M/1.6B, 178 at Llama 160M/1.2B, and 138 at Llama 200M/6B. The Qwen3 runs are the 505 runs of the frozen held-out set and 116 runs added from the validation launches. Eight Llama runs train MARINER's, Olmix's, and tuned and released RegMix's Uncheatable proposals from the main swarm at both Llama settings (Figure 14). Their `proposal_method` is the proposal's `variant` in `validation_3e18`.
- **`validation_3e18/`**: Proposals and baselines from 25 launches, trained at 3e18 FLOPs with the main swarm's model size and token budget.
- **Ladder** (4 tables):
- `ladder`: The proportional and UniMax-8 mixtures and MARINER's and Olmix's proposals for each objective at 3e18, 2e19, 3e20, and 1e21 FLOPs, with each run's parameter counts, tokens, and tokens per parameter.
- `ladder_accuracy`: Accuracy, BPB, and example counts on the 51 OlmoBaseEval Easy tasks for the four 1e21 runs that the paper scores. MT-MBPP accuracy is executable pass@1.
- `ladder_compute_equivalence`: Power laws fitted to each baseline's losses on the ladder, and the compute at which each law reaches MARINER's loss at each compute scale.
- `ladder_unimax_cap_sweep`: UniMax with epoch caps of 1, 4, and 12 at 3e18 FLOPs.
- **`starcoder/`** (15 tables): Two-bucket experiments that mix Nemotron-CC web text with StarCoder code and measure BPB on the programming-languages subset of Paloma.
- *Atlas*: `starcoder_observations` holds 954 runs that vary the model size, tokens, StarCoder subset, and StarCoder weight. `starcoder_curves` groups them into 45 curves in four families, with the training FLOPs of each curve's runs, and `starcoder_curve_membership` lists each curve's runs. `starcoder_fit_parameters` and `starcoder_dense_grid` give three fitted curve forms and their predictions at 1,001 weights per curve.
- *Matched compute*: `starcoder_diagonal` holds runs at five tokens per parameter, with 15 StarCoder weights in each of four cells of matched compute.
- *Epoch matching*: `starcoder_epoch_matching` holds the 103 runs of Figure 2, at ten tokens per parameter. A target model and proxies with and without simulated epoching train at 12 StarCoder weights. One more target run trains the mixture that the proxies with simulated epoching select. `starcoder_epoch_matching_grid` gives the StarCoder share that the data sampler realized at each of the design's 21 weights, for each arm. Figure 1 places the weights at these shares.
- *Two-phase schedules*: `starcoder_curricula` gives the gains of two-phase schedules over single-phase mixtures. `starcoder_curricula_matched_nd` gives the best schedules in 10 cells of matched model size and token budget, and `starcoder_curricula_matched_nd_confirmation` tests the largest cell's selected schedule with eight pairs of runs with fresh seeds. `starcoder_repeat_noise` holds ten two-phase mixtures, each trained with five data seeds.
- *Mixture switches*: `starcoder_transition` holds ramped and abrupt switches, their gains, and evaluations around the switch, in sub-tables named by its `table` column. `starcoder_ramp_designs` gives the schedules of the 30 switch runs and the StarCoder sequences that the data loader drew in each stage, and `starcoder_trajectories` the training loss at every logged step of 50 runs.
- **`domain_sweeps/`** (2 tables): Sweeps that mix one of four domains (instruction data, rcQA, arXiv, and FineMath) with web text at ten tokens per parameter, at proxy and target scale, and Olmix's fits to the two matched-proxy curves that the paper plots.
- **`fits/`** (9 tables):
- `fits_task_parameters`: MARINER's fitted parameters for each swarm, objective, and task.
- `fits_swarm_predictions`: The reference fit's in-sample predictions at the 280 fit runs of the main swarm.
- `fits_heldout_predictions`: The reference fit's predictions at the held-out Qwen3 360M/1.6B mixtures that the paper's held-out analysis scores.
- `fits_reliability`: Each task's signal-to-noise ratio, and the out-of-fold fit quality of MARINER, Olmix, and tuned RegMix.
- `fits_learning_curves`: Out-of-fold metrics of every surrogate at each swarm size, for each draw of three learning-curve studies.
- `fits_proposal_predictions`: The predictions that the validation launches recorded for their trained proposals, and all four models' predictions of the four proposals that Figure 7 compares.
- `fits_path_predictions`: MARINER's and each baseline's predictions along the paths from MARINER's proposal to five baselines' proposals that Figure 20 plots. Each path names its two proposals and its trained midpoint by their `mixture_id` in `validation_3e18`.
- `fits_olmix_task_laws`: Olmix's per-task laws fitted to the main swarm.
- `fits_surrogate_benchmark`: Out-of-fold metrics of 28 surrogate models on each swarm and objective.
- **`run_sets/`**: The named sets of runs, described below.
## Data Format
### Mixture runs
The swarm tables, `heldout`, `validation_3e18`, and `ladder` have one row per training run:
- `observation_id`: The run's W&B run id, which is the same in every table that contains the run. The run's training curves and configuration are at `wandb.ai/marin-community/marin/runs/<observation_id>`. When a run's W&B logging stopped before training ended, the tables hold the final evaluation that the run saved.
- `w__<bucket>` (39 columns): The run's mixture weight on each bucket of `partition`, for example `w__cc/art_and_design_high`. The weights sum to 1.
- `pf__<bucket>` (39 columns): The fraction of each bucket's pool that the run drew from. A bucket's epochs are its weight times its `epochs_per_unit_weight` in `partition`, divided by its pool fraction.
- `bpb__<task>` (58 columns): The run's BPB on each task of `tasks`, for example `bpb__uncheatable/ao3_english` or `bpb__arc_easy`. Lower is better.
- `bpb__uncheatable` and `bpb__obe_easy`: The paper's two objectives. `bpb__uncheatable` weights the seven Uncheatable corpora by their shares of the snapshot's bytes (`aggregate_weight` in `tasks`), and `bpb__obe_easy` is the mean of the 51 OlmoBaseEval Easy tasks. Each is computed from the run's task values when it has all of that objective's tasks, and is otherwise the aggregate recorded for the run under the same weights, or null.
- `components_available`: Whether the run has all 58 task values.
- `mixture_id` and `exposure_id`: Hashes of the run's weights, and of its weights, pool fractions, and partition revision. Runs with the same `exposure_id` saw each bucket for the same number of epochs.
- `fit_inclusion`, `design_kind`, and `run_label` (swarm tables): Whether the paper's fits use the run, its kind of design, and its name in the swarm: `run_00002` through `run_00239` for sampled mixtures, `baseline_<name>`, `deletion_<bucket>` with the bucket id's `/` written `_`, and `proportional_repeat_00` through `proportional_repeat_09`.
- `data_seed` and `trainer_seed`: The run's seeds.
### StarCoder runs
`starcoder_epoch_matching` has one row per training run:
- `arm`: `target`, `unmatched` (a proxy that draws StarCoder from the whole pool), or `matched` (a proxy with simulated epoching, which draws StarCoder from the subset in `subset_seed`). The two `unmatched` runs at StarCoder weight 0 are also the weight-0 points of the `matched` curves.
- `starcoder_weight` and `starcoder_epochs`: The run's StarCoder fraction, and the epochs of its StarCoder pool that it trained on.
- `web_pool_tokens`: The tokens of the Nemotron-CC pool that the run drew its web text from, the same pool for every run. The run's web epochs are its web fraction, 1 minus `starcoder_weight`, times `train_tokens`, divided by `web_pool_tokens`. Figure 1's surrogate panel places Nemotron-CC at these epochs.
- `programming_languages_bpb`: The run's final BPB on the programming-languages subset of Paloma, which Figure 2 plots. It is the total loss in bits over the total scored bytes. `programming_languages_loss` is the mean loss per scored token, in nats.
- `compute_flops`: The run's training FLOPs, three times its model's forward FLOPs per token times its tokens. `starcoder_curves` and `starcoder_diagonal` give the same count for the runs of each curve and cell.
`starcoder_epoch_matching_grid` has one row per arm and StarCoder weight of the sweep's design grid, from 0 to 1 in steps of 0.05. The sweep trained 12 of these 21 weights. `starcoder_sequences` and `web_sequences` are the sequences that the data sampler draws from StarCoder and from Nemotron-CC, and `realized_starcoder_fraction` is StarCoder's share of them. The two proxies share one allocation.
`starcoder_ramp_designs` has one row per stage of each switch run. `starcoder_block_sequences` is the number of StarCoder sequences that the data loader puts in each 2,048-sequence block of the stage, which Figure 27 plots as a share, and `starcoder_stage_sequences` is the number in the whole stage. Every run's stages sum to the same StarCoder total as the abrupt switch with its data seed.
### Labels
`proposal_objective` names the objective that a run's mixture was proposed for, and `objective` (`target` in `fits_learning_curves`) names the objective that a value belongs to:
- `uncheatable` and `obe_easy`: The Uncheatable aggregate and the OlmoBaseEval Easy mean.
- `obe_easy_snr2`, `obe_easy_snr5`, and `obe_easy_snr8`: The OlmoBaseEval Easy tasks whose signal-to-noise ratio in `fits_reliability` is at least 2, 5, or 8 (49, 32, and 17 tasks).
- `obe_easy_qa15`: The 15 question-answering tasks other than MMLU and Basic Skills. `obe_easy_qa19` adds the four MMLU groups.
- `uncheatable_worsened`: The byte-weighted aggregate of the three Uncheatable corpora of general English text (AO3, BBC News, and Wikipedia).
- `uncheatable_and_obe_easy`, `other`, and `none`: Held-out designs built for both objectives, held-out runs whose source names no objective, and the proportional and UniMax-8 baselines.
`method` (in `validation_3e18` and `ladder`), `baseline` (in `ladder_compute_equivalence`), `predictor` (in `fits_proposal_predictions` and `fits_path_predictions`), `path` (the baseline at a path's end, in `fits_path_predictions`), and `model` (in `fits_learning_curves`) name methods:
- `mariner` and `olmix`: MARINER and Olmix, fitted to the same swarm.
- `regmix`: RegMix's tuned and released proposals. As a `predictor` or `model`, `regmix` is the tuned LightGBM model, `regmix_official` the released recipe, and `regmix_official_components` that recipe's per-component diagnostic.
- `mariner_mk1`, `mariner_cvx`, `mariner_add`, and `mariner_pbt`: MARINER with an exponential benefit (Weibull power 1), a fully convex objective, an additive response, and per-bucket thresholds.
- `quadratic`, `spline`, and `krr`: The other surrogate baselines.
- `unimax8` and `proportional`: UniMax with an eight-epoch cap, and sampling each bucket in proportion to its pool.
- `mariner_variant`, `subset`, `factorial`, `path_midpoint`, and `best_swarm_run` (in `validation_3e18`): Development variants of MARINER (named in `variant`), MARINER's proposals for the subset objectives, a fractional factorial design around a low-loss mixture, mixtures halfway between MARINER's proposal and a baseline's, and retrainings of the main swarm's best run.
The other `predictor` values, `variant` in `validation_3e18`, and `proposal_method` in `heldout` are our internal names for development models, candidates, and designs.
### run_sets
`run_sets` pairs each `observation_id` with the named sets that the run belongs to:
- `fit_swarm_<swarm>` and `proportional_repeats_<swarm>`: The fit runs and the proportional repeats of each swarm.
- `unfitted_swarm_llama_160m_1p2b`: The Llama 160M/1.2B swarm's 39 single-bucket deletions. The paper's fits to that swarm leave them out, and they are also frozen held-out runs.
- `heldout_frozen`, `heldout_expanded`, and `heldout_scale_transfer`: The frozen held-out runs of the three swarms, the 116 Qwen3 runs added from the validation launches, and the eight runs of the four proposals at the Llama settings.
- `validation/<launch>`: The runs of each validation launch.
- `ladder`, `starcoder`, and `domain_sweeps`: The runs of those tables.
### MANIFEST.json and figures_tables.csv
- `MANIFEST.json`: Each table's rows, columns, and SHA-256 digest, and the commit of the code that built the tables.
- `figures_tables.csv`: The paper's 27 figures and 20 tables, with the configs that each one reads. `constant` marks configuration constants typed into the paper, and `deferred` marks the two-phase swarms, which this release omits.
## Usage
The mixture-run tables, with `partition` and `tasks`, are enough to fit MARINER or another surrogate to any of the three swarms. Load each of the 27 CSV tables by its name:
```python
from datasets import load_dataset
swarm = load_dataset("Calvin-Xu/mariner-data", "swarm_qwen3_360m_1p6b", split="train").to_pandas()
fit_runs = swarm[swarm.fit_inclusion]
```
Read the 11 Parquet tables, `starcoder_dense_grid`, `starcoder_trajectories`, and the nine `fits_*` tables, as files:
```python
import pandas as pd
from huggingface_hub import hf_hub_download
path = hf_hub_download("Calvin-Xu/mariner-data", "data/fits/fits_task_parameters.parquet", repo_type="dataset")
fits_task_parameters = pd.read_parquet(path)
```
## Checkpoints
The final checkpoint of every run in the three swarm tables is in a model repository, one per swarm:
- [Calvin-Xu/mariner-swarm-qwen3-360m-1p6b](https://huggingface.co/Calvin-Xu/mariner-swarm-qwen3-360m-1p6b): the 290 runs of `swarm_qwen3_360m_1p6b`.
- [Calvin-Xu/mariner-swarm-llama-160m-1p2b](https://huggingface.co/Calvin-Xu/mariner-swarm-llama-160m-1p2b): the 291 runs of `swarm_llama_160m_1p2b`.
- [Calvin-Xu/mariner-swarm-llama-200m-6b](https://huggingface.co/Calvin-Xu/mariner-swarm-llama-200m-6b): the 290 runs of `swarm_llama_200m_6b`.
A run's checkpoint is the folder named by its `run_label`, which holds the model's weights in fp32 and its tokenizer. Each repository's `runs.csv` gives the `observation_id`, `design_kind`, and `fit_inclusion` of every folder.
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "Calvin-Xu/mariner-swarm-qwen3-360m-1p6b"
model = AutoModelForCausalLM.from_pretrained(repo, subfolder="run_00002")
tokenizer = AutoTokenizer.from_pretrained(repo, subfolder="run_00002")
```
## Sources
- The seven Uncheatable Eval corpora ([Tan et al., 2026](https://arxiv.org/abs/2609.27510)) come from its snapshot of 1 to 14 September 2025 ([ziqing-huang/uncheatable_eval](https://github.com/ziqing-huang/uncheatable_eval)).
- The 51 OlmoBaseEval Easy tasks are those of Olmo 3 ([Team Olmo, 2025](https://arxiv.org/abs/2512.13961)).
- The 39 buckets come from the pretraining and midtraining pools of Olmo 3. Thirty come from Dolma 3 ([allenai/dolma3_pool](https://huggingface.co/datasets/allenai/dolma3_pool)). They are 13 Common Crawl topics at two quality tiers and Dolma 3's code, math, arXiv, and Wikipedia sources. The other nine come from Dolma 3 Dolmino ([allenai/dolma3_dolmino_pool](https://huggingface.co/datasets/allenai/dolma3_dolmino_pool)).
- The two-bucket experiments use Nemotron-CC ([Su et al., 2025](https://arxiv.org/abs/2412.02595)) and StarCoder ([Li et al., 2023](https://arxiv.org/abs/2305.06161)).
The `license` and `citation_key` columns of `tasks` and the `pool_license` and `pool_citation_key` columns of `partition` record each source's license, or `unknown`, and its citation key.
## Resources
- **Paper**: [arXiv:XXXX.XXXXX](https://arxiv.org/abs/XXXX.XXXXX)
- **Checkpoints**: [Qwen3 360M/1.6B](https://huggingface.co/Calvin-Xu/mariner-swarm-qwen3-360m-1p6b), [Llama 160M/1.2B](https://huggingface.co/Calvin-Xu/mariner-swarm-llama-160m-1p2b), and [Llama 200M/6B](https://huggingface.co/Calvin-Xu/mariner-swarm-llama-200m-6b)
- **Marin**: [marin-community/marin](https://github.com/marin-community/marin)
- **W&B**: [marin-community/marin](https://wandb.ai/marin-community/marin)
## Citation
If you use this dataset in your research, please cite:
```bibtex
@article{xu2026mariner,
title={MARINER: Measuring and Modeling Repetition Harm for Multi-Epoch Data Mixing},
author={Xu, Pinlin and Kotha, Suhas and Wen, Kaiyue and Held, William and Liang, Percy},
journal={arXiv preprint arXiv:XXXX.XXXXX},
year={2026}
}
```
## License
This dataset is released under the Apache 2.0 License. It contains no text from the evaluation datasets or pretraining pools, which keep their own licenses.