Datasets:
subset int64 0 99 | query int64 0 480 | diff float64 -0.21 0.12 | score_sum float64 -33,011.3 12.7k |
|---|---|---|---|
0 | 0 | -0.045426 | -17,237.533203 |
0 | 1 | -0.066616 | -19,710.792969 |
0 | 2 | -0.019779 | -13,671.527344 |
0 | 3 | -0.043568 | -21,364.289063 |
0 | 4 | -0.048579 | -9,462.984375 |
0 | 5 | -0.013237 | -12,158.783203 |
0 | 6 | -0.006949 | -526.726501 |
0 | 7 | -0.006016 | -2,208.2146 |
0 | 8 | -0.007383 | -10,367.705078 |
0 | 9 | -0.024359 | -9,421.757813 |
0 | 10 | -0.086241 | -16,916.962891 |
0 | 11 | -0.107453 | -16,338.78125 |
0 | 12 | -0.029638 | -17,755.029297 |
0 | 13 | -0.022122 | -14,711.158203 |
0 | 14 | 0.081835 | -7,058.023926 |
0 | 15 | 0.014992 | -8,574.177734 |
0 | 16 | -0.013099 | -7,601.38916 |
0 | 17 | -0.013399 | -7,210.953613 |
0 | 18 | -0.023706 | -14,409.179688 |
0 | 19 | -0.044755 | -5,576.717285 |
0 | 20 | 0.036502 | -3,356.408447 |
0 | 21 | -0.062353 | -9,665.774414 |
0 | 22 | 0.021002 | -6,408.241699 |
0 | 23 | 0.012334 | -11,011.878906 |
0 | 24 | 0.021586 | -18,484.355469 |
0 | 25 | -0.016654 | -14,509.848633 |
0 | 26 | -0.058581 | -9,082.887695 |
0 | 27 | -0.118347 | -12,954.985352 |
0 | 28 | -0.047129 | -10,605.583008 |
0 | 29 | 0.024262 | -12,878.173828 |
0 | 30 | -0.065549 | -3,189.630127 |
0 | 31 | -0.029789 | -8,832.912109 |
0 | 32 | -0.032694 | -1,745.833374 |
0 | 33 | -0.07324 | -12,272.453125 |
0 | 34 | 0.007849 | -9,672.444336 |
0 | 35 | 0.0065 | -14,209.892578 |
0 | 36 | 0.004381 | -9,618.426758 |
0 | 37 | -0.033982 | -11,228.344727 |
0 | 38 | -0.021767 | -10,767.666992 |
0 | 39 | 0.01849 | -12,017.126953 |
0 | 40 | -0.030947 | -5,010.505371 |
0 | 41 | 0.032796 | -14,670.912109 |
0 | 42 | -0.036773 | -20,324.298828 |
0 | 43 | -0.077732 | -10,325.773438 |
0 | 44 | -0.038712 | -17,477.476563 |
0 | 45 | 0.003048 | -8,833.87207 |
0 | 46 | -0.009964 | -6,889.941406 |
0 | 47 | -0.048884 | -6,714.418945 |
0 | 48 | -0.023455 | -13,664.641602 |
0 | 49 | -0.070128 | -9,374.228516 |
0 | 50 | -0.022841 | -10,676.242188 |
0 | 51 | 0.002046 | -5,874.110352 |
0 | 52 | -0.079449 | -4,911.479492 |
0 | 53 | -0.040245 | -2,179.713623 |
0 | 54 | 0.024796 | -10,226.857422 |
0 | 55 | -0.007118 | -10,825.450195 |
0 | 56 | -0.115459 | -8,235.90918 |
0 | 57 | 0.011549 | -18,131.105469 |
0 | 58 | -0.004054 | -10,704.893555 |
0 | 59 | -0.077216 | -3,144.474609 |
0 | 60 | -0.072398 | -10,449.414063 |
0 | 61 | -0.042034 | -15,226.907227 |
0 | 62 | -0.069605 | -8,118.538086 |
0 | 63 | 0.029516 | -19,446.882813 |
0 | 64 | -0.02749 | -13,558.907227 |
0 | 65 | -0.058347 | -15,432.245117 |
0 | 66 | -0.01892 | -11,531.496094 |
0 | 67 | -0.030988 | -18,498.121094 |
0 | 68 | -0.010167 | -15,035.467773 |
0 | 69 | -0.023485 | -10,371.230469 |
0 | 70 | -0.078463 | -14,880.246094 |
0 | 71 | 0.022132 | -12,173.620117 |
0 | 72 | 0.003866 | -15,633.450195 |
0 | 73 | 0.002358 | -11,539.646484 |
0 | 74 | -0.022808 | -2,204.714111 |
0 | 75 | 0.024608 | -10,337.818359 |
0 | 76 | -0.056155 | -22,956.423828 |
0 | 77 | -0.057803 | 3,929.535889 |
0 | 78 | -0.050712 | -1,920.758545 |
0 | 79 | -0.031158 | -15,356.863281 |
0 | 80 | -0.051867 | -13,383.056641 |
0 | 81 | -0.000516 | -10,941.054688 |
0 | 82 | -0.101231 | 2,501.763672 |
0 | 83 | -0.093163 | -7,542.039551 |
0 | 84 | -0.04494 | -5,962.686035 |
0 | 85 | -0.092538 | -17,821.203125 |
0 | 86 | -0.065889 | -18,178.478516 |
0 | 87 | -0.055275 | -9,229.135742 |
0 | 88 | -0.024063 | -4,415.818848 |
0 | 89 | -0.094119 | -9,686.139648 |
0 | 90 | -0.109394 | -10,315.724609 |
0 | 91 | -0.026147 | -17,927.611328 |
0 | 92 | -0.013698 | -15,449.65918 |
0 | 93 | -0.089744 | -10,704.6875 |
0 | 94 | -0.03638 | -17,068.677734 |
0 | 95 | -0.01144 | -13,690.272461 |
0 | 96 | 0.025838 | -19,643.072266 |
0 | 97 | 0.017996 | -7,733.761719 |
0 | 98 | -0.072086 | -3,028.429443 |
0 | 99 | -0.010312 | -3,128.391602 |
Retrain bank: WikiText-2 / GPT-2, random halves, seed 1006
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-seed1006", 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, seed1006 - 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
- 27