Datasets:
subset int64 0 99 | query int64 0 480 | diff float64 -0.22 0.13 | score_sum float64 -33,011.3 12.7k |
|---|---|---|---|
0 | 0 | -0.100067 | -17,237.533203 |
0 | 1 | -0.123798 | -19,710.792969 |
0 | 2 | -0.017751 | -13,671.527344 |
0 | 3 | -0.008218 | -21,364.289063 |
0 | 4 | -0.089097 | -9,462.984375 |
0 | 5 | -0.055367 | -12,158.783203 |
0 | 6 | -0.045868 | -526.726501 |
0 | 7 | 0.01682 | -2,208.2146 |
0 | 8 | -0.074227 | -10,367.705078 |
0 | 9 | 0.027718 | -9,421.757813 |
0 | 10 | -0.094017 | -16,916.962891 |
0 | 11 | -0.001821 | -16,338.78125 |
0 | 12 | -0.074623 | -17,755.029297 |
0 | 13 | 0.016953 | -14,711.158203 |
0 | 14 | -0.041591 | -7,058.023926 |
0 | 15 | -0.043765 | -8,574.177734 |
0 | 16 | -0.053681 | -7,601.38916 |
0 | 17 | -0.017498 | -7,210.953613 |
0 | 18 | -0.042888 | -14,409.179688 |
0 | 19 | 0.005918 | -5,576.717285 |
0 | 20 | -0.003206 | -3,356.408447 |
0 | 21 | -0.001654 | -9,665.774414 |
0 | 22 | -0.030792 | -6,408.241699 |
0 | 23 | 0.006796 | -11,011.878906 |
0 | 24 | 0.02246 | -18,484.355469 |
0 | 25 | -0.016266 | -14,509.848633 |
0 | 26 | -0.019751 | -9,082.887695 |
0 | 27 | -0.027336 | -12,954.985352 |
0 | 28 | -0.060877 | -10,605.583008 |
0 | 29 | -0.029922 | -12,878.173828 |
0 | 30 | -0.029003 | -3,189.630127 |
0 | 31 | -0.092382 | -8,832.912109 |
0 | 32 | -0.078635 | -1,745.833374 |
0 | 33 | -0.001629 | -12,272.453125 |
0 | 34 | 0.040362 | -9,672.444336 |
0 | 35 | -0.054292 | -14,209.892578 |
0 | 36 | -0.023456 | -9,618.426758 |
0 | 37 | -0.096849 | -11,228.344727 |
0 | 38 | -0.004977 | -10,767.666992 |
0 | 39 | -0.025357 | -12,017.126953 |
0 | 40 | -0.072232 | -5,010.505371 |
0 | 41 | -0.012394 | -14,670.912109 |
0 | 42 | -0.043933 | -20,324.298828 |
0 | 43 | -0.055635 | -10,325.773438 |
0 | 44 | 0.000344 | -17,477.476563 |
0 | 45 | -0.025657 | -8,833.87207 |
0 | 46 | -0.031396 | -6,889.941406 |
0 | 47 | -0.04532 | -6,714.418945 |
0 | 48 | 0.042423 | -13,664.641602 |
0 | 49 | -0.026012 | -9,374.228516 |
0 | 50 | -0.002352 | -10,676.242188 |
0 | 51 | -0.019513 | -5,874.110352 |
0 | 52 | -0.01728 | -4,911.479492 |
0 | 53 | -0.036439 | -2,179.713623 |
0 | 54 | -0.006958 | -10,226.857422 |
0 | 55 | -0.081231 | -10,825.450195 |
0 | 56 | -0.044045 | -8,235.90918 |
0 | 57 | -0.009856 | -18,131.105469 |
0 | 58 | -0.021942 | -10,704.893555 |
0 | 59 | -0.066707 | -3,144.474609 |
0 | 60 | -0.071581 | -10,449.414063 |
0 | 61 | -0.066796 | -15,226.907227 |
0 | 62 | -0.040596 | -8,118.538086 |
0 | 63 | 0.028137 | -19,446.882813 |
0 | 64 | -0.043999 | -13,558.907227 |
0 | 65 | -0.038179 | -15,432.245117 |
0 | 66 | -0.079212 | -11,531.496094 |
0 | 67 | -0.014549 | -18,498.121094 |
0 | 68 | 0.008203 | -15,035.467773 |
0 | 69 | -0.026581 | -10,371.230469 |
0 | 70 | -0.013741 | -14,880.246094 |
0 | 71 | -0.068132 | -12,173.620117 |
0 | 72 | 0.010743 | -15,633.450195 |
0 | 73 | -0.030101 | -11,539.646484 |
0 | 74 | 0.023849 | -2,204.714111 |
0 | 75 | -0.102259 | -10,337.818359 |
0 | 76 | -0.057807 | -22,956.423828 |
0 | 77 | -0.014656 | 3,929.535889 |
0 | 78 | 0.022231 | -1,920.758545 |
0 | 79 | -0.011841 | -15,356.863281 |
0 | 80 | -0.07295 | -13,383.056641 |
0 | 81 | 0.019969 | -10,941.054688 |
0 | 82 | -0.008879 | 2,501.763672 |
0 | 83 | -0.058645 | -7,542.039551 |
0 | 84 | -0.047815 | -5,962.686035 |
0 | 85 | -0.051415 | -17,821.203125 |
0 | 86 | -0.067196 | -18,178.478516 |
0 | 87 | -0.066534 | -9,229.135742 |
0 | 88 | -0.03549 | -4,415.818848 |
0 | 89 | -0.040689 | -9,686.139648 |
0 | 90 | -0.091002 | -10,315.724609 |
0 | 91 | -0.113561 | -17,927.611328 |
0 | 92 | -0.079838 | -15,449.65918 |
0 | 93 | -0.098996 | -10,704.6875 |
0 | 94 | -0.061191 | -17,068.677734 |
0 | 95 | -0.118645 | -13,690.272461 |
0 | 96 | -0.027597 | -19,643.072266 |
0 | 97 | 0.033511 | -7,733.761719 |
0 | 98 | -0.039979 | -3,028.429443 |
0 | 99 | -0.033547 | -3,128.391602 |
Retrain bank: WikiText-2 / GPT-2, random halves, seed 1004
This repository contains 100 fully retrained language models, not just scores.
Each model is GPT-2 (gpt2) fine-tuned on a different random 50% (2,328 documents)
of the 4,656-document WikiText-2 training set from
EleutherAI/bergson-wikitext-2-4656-chunks,
following the recipe of Bae et al. 2024, Training Data Attribution via Approximate
Unrolled Differentiation (App. B.1). retrained/base is trained on the full set with
the same seed.
Five banks share the same 100 subsets (subsets.json) and differ only in training seed:
1004, 1005, 1006, 1007, 1008. Averaging query losses over the five seeds gives the ground truth used in
the bergson replication.
What is here
| path | what it is |
|---|---|
retrained/base/ |
the model fine-tuned on the full training set |
retrained/subset_*/ |
100 models, each trained on a different random half |
validation.csv |
the ground truth: per (subset, query) change in loss for the 481 validation queries, plus the EK-FAC influence sum over the removed documents |
subsets.json |
which document ids each subset removed |
config.yaml |
the exact training configuration |
summary*.csv |
per-query EK-FAC LDS |
Using it
from huggingface_hub import snapshot_download
import pandas as pd
path = snapshot_download("EleutherAI/LDS-retrain-bank-adamw-wikitext2-N4656-bs8-seed1004", repo_type="dataset")
# ground truth: what training on each half did to each query's loss
truth = pd.read_csv(f"{path}/validation.csv")
# score your own method, then correlate its predicted influence against `diff`
# LDS = mean over queries of Spearman(predicted subset sums, measured diff)
The directory also drops straight into a bergson validate step as retrained_dir.
Measured on the five-seed ground truth
| method | LDS (mean Spearman over 481 queries, 95% CI) |
|---|---|
| EK-FAC IF | 0.468 ± 0.015 |
| SOURCE | 0.476 ± 0.015 |
Scores were computed on the fine-tuning run in
EleutherAI/bergson-wikitext-2-gpt2.
Provenance
- optimizer
adamw(β=(0.9, 0.999), ε=1e-8), lr3e-5constant, weight decay0.01, batch size8,3epochs, fp32, dropout on, seed1004 - corpus: WikiText-2, 4,656 training documents; 481 validation queries
Produced by bergson
(examples/replicate_bae_approx_unrolling_source/wikitext_gpt2_retrain.yaml).
- Downloads last month
- 15