Add files using upload-large-folder tool
Browse files- README.md +107 -0
- frac_0.10/checkpoints/index.csv +137 -0
- frac_0.10/checkpoints/last.ckpt +3 -0
- frac_0.10/checkpoints/step_1025000.ckpt +3 -0
- frac_0.10/checkpoints/step_1050000.ckpt +3 -0
- frac_0.10/checkpoints/step_1075000.ckpt +3 -0
- frac_0.10/checkpoints/step_1100000.ckpt +3 -0
- frac_0.10/checkpoints/step_1125000.ckpt +3 -0
- frac_0.10/checkpoints/step_1150000.ckpt +3 -0
- frac_0.10/checkpoints/step_1175000.ckpt +3 -0
- frac_0.10/checkpoints/step_1200000.ckpt +3 -0
- frac_0.10/checkpoints/step_1225000.ckpt +3 -0
- frac_0.10/checkpoints/step_1250000.ckpt +3 -0
- frac_0.10/checkpoints/step_1275000.ckpt +3 -0
- frac_0.10/checkpoints/step_1300000.ckpt +3 -0
- frac_0.10/code_sha +1 -0
- frac_0.10/config_resolved.yaml +204 -0
- frac_0.10/metrics/version_0/metrics.csv +0 -0
- frac_0.10/norms/norms_ema.jsonl +0 -0
- frac_0.10/norms/norms_raw.jsonl +0 -0
- frac_0.10/run_info.json +24 -0
- frac_0.10/segments.jsonl +3 -0
- frac_1.00/checkpoints/index.csv +137 -0
- frac_1.00/checkpoints/last.ckpt +3 -0
- frac_1.00/checkpoints/step_1025000.ckpt +3 -0
- frac_1.00/checkpoints/step_1050000.ckpt +3 -0
- frac_1.00/checkpoints/step_1075000.ckpt +3 -0
- frac_1.00/checkpoints/step_1100000.ckpt +3 -0
- frac_1.00/checkpoints/step_1125000.ckpt +3 -0
- frac_1.00/checkpoints/step_1150000.ckpt +3 -0
- frac_1.00/checkpoints/step_1175000.ckpt +3 -0
- frac_1.00/checkpoints/step_1200000.ckpt +3 -0
- frac_1.00/checkpoints/step_1225000.ckpt +3 -0
- frac_1.00/checkpoints/step_1250000.ckpt +3 -0
- frac_1.00/checkpoints/step_1275000.ckpt +3 -0
- frac_1.00/checkpoints/step_1300000.ckpt +3 -0
- frac_1.00/code_sha +1 -0
- frac_1.00/config_resolved.yaml +204 -0
- frac_1.00/metrics/version_0/metrics.csv +0 -0
- frac_1.00/norms/norms_ema.jsonl +0 -0
- frac_1.00/norms/norms_raw.jsonl +0 -0
- frac_1.00/run_info.json +24 -0
- frac_1.00/segments.jsonl +3 -0
- subsets/owt_train_perm_s20250927.json +9 -0
- subsets/owt_train_perm_s20250927.npy +3 -0
README.md
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
datasets:
|
| 5 |
+
- Skylion007/openwebtext
|
| 6 |
+
tags:
|
| 7 |
+
- discrete-diffusion
|
| 8 |
+
- uniform-state-diffusion
|
| 9 |
+
- duo
|
| 10 |
+
- scaling-laws
|
| 11 |
+
- checkpoints
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Duo data-fraction scaling study: `tiny` models continued to 2M steps
|
| 15 |
+
|
| 16 |
+
2 uniform-state discrete diffusion language models (Duo, `duo_base`), identical
|
| 17 |
+
except for the size of their training set: nested subsets of OpenWebText holding
|
| 18 |
+
10% and 100% of the training blocks. These runs **continue** `frac_0.10` and `frac_1.00` of
|
| 19 |
+
[`duo-scaling-tiny`](https://huggingface.co/lemoncmd/duo-scaling-tiny) from step 1,000,000
|
| 20 |
+
toward 2,000,000 with only the step budget changed. They were stopped before 2M
|
| 21 |
+
(the study ended): this repository holds the grid checkpoints from 1,025,000 on and,
|
| 22 |
+
per run, `checkpoints/last.ckpt`, the exact state where training stopped. Steps
|
| 23 |
+
0-1,000,000 (and their checkpoints) are in `duo-scaling-tiny`.
|
| 24 |
+
Each folder holds **full checkpoints** on a fixed step grid (40 at 2M), so the whole
|
| 25 |
+
training trajectory can be analysed (e.g. test loss against weight norm, in the
|
| 26 |
+
spirit of D'Amico, Bocchi & Negri, *Implicit bias produces neural scaling laws in
|
| 27 |
+
learning curves*).
|
| 28 |
+
|
| 29 |
+
## Models
|
| 30 |
+
|
| 31 |
+
| fraction | training blocks (1,024 tokens) | step | epochs | val NELBO at that step (nats/token) | training hours | `last.ckpt` step |
|
| 32 |
+
|---|---|---|---|---|---|---|
|
| 33 |
+
| 0.1 | 873,094 | 1,300,000 | 762 | 3.9652 | 200 | 1,309,080 |
|
| 34 |
+
| 1.0 | 8,730,942 | 1,300,000 | 76 | 3.9849 | 197 | 1,309,800 |
|
| 35 |
+
|
| 36 |
+
Validation NELBO is computed with the EMA weights on the full OpenWebText validation split
|
| 37 |
+
(110,464 blocks), with fixed noise, every 5,000 steps (`val/nll` in the metrics files).
|
| 38 |
+
|
| 39 |
+
## Training setup (same for every model)
|
| 40 |
+
|
| 41 |
+
- **Model:** DiT backbone, config `tiny` (33,789,010 parameters in the backbone),
|
| 42 |
+
context length 1,024, GPT-2 tokenizer (vocabulary 50,258), untied embeddings.
|
| 43 |
+
- **Algorithm:** `duo_base`: uniform-state discrete diffusion trained on the exact NELBO,
|
| 44 |
+
log-linear noise schedule (no curriculum or distillation).
|
| 45 |
+
- **Optimisation:** AdamW, learning rate 3e-4, constant after 2,500 warm-up steps,
|
| 46 |
+
**weight decay 0**, gradient clipping 1.0, EMA decay 0.9999, bf16 mixed precision,
|
| 47 |
+
global batch 512 sequences x 1,024 tokens, 2,000,000 steps (target; continued from the 1,000,000-step runs), seed 1.
|
| 48 |
+
- **Data:** OpenWebText (`Skylion007/openwebtext`, revision `79d93d7`), GPT-2 tokenized and
|
| 49 |
+
wrapped into 1,024-token blocks: 8,730,942 training blocks; the last 100,000
|
| 50 |
+
documents form the validation split. Fraction *f* uses the first floor(f x N + 0.5)
|
| 51 |
+
blocks of one fixed permutation (seed 20250927, sha256 in `run_info.json`), so the
|
| 52 |
+
subsets are nested (0.1 is contained in 0.2, and so on). The data order depends only on
|
| 53 |
+
the optimizer step, not on the GPU layout.
|
| 54 |
+
- **Code:** a modified version of [s-sahoo/duo](https://github.com/s-sahoo/duo)
|
| 55 |
+
(scaling-study branch, commit `7c9e7d04d4a4`, recorded in `code_sha`).
|
| 56 |
+
|
| 57 |
+
## Files
|
| 58 |
+
|
| 59 |
+
```
|
| 60 |
+
frac_0.10/ ... frac_1.00/
|
| 61 |
+
checkpoints/step_*.ckpt PyTorch Lightning checkpoints (40 at 2M)
|
| 62 |
+
checkpoints/index.csv step, wall-clock training hours, tokens and epochs per checkpoint
|
| 63 |
+
checkpoints/last.ckpt state where training stopped (resume point)
|
| 64 |
+
metrics/version_*/metrics.csv training/validation metrics (one file per job segment)
|
| 65 |
+
norms/norms_raw.jsonl, norms_ema.jsonl weight norms every 500 steps, raw and EMA weights
|
| 66 |
+
run_info.json, config_resolved.yaml, code_sha, segments.jsonl
|
| 67 |
+
subsets/owt_train_perm_s20250927.npy, .json the permutation of the training blocks that defines
|
| 68 |
+
the nested subsets (fraction f = its first floor(f x N + 0.5) entries)
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
Checkpoint steps: every 25k from 1,025k (the grid of the 1M study continued).
|
| 72 |
+
|
| 73 |
+
Each checkpoint has the raw weights, the EMA weights, the optimizer state and the
|
| 74 |
+
loop/sampler state, so training can be resumed exactly. Step 0 is about half the size
|
| 75 |
+
(no optimizer state yet).
|
| 76 |
+
|
| 77 |
+
```python
|
| 78 |
+
import torch
|
| 79 |
+
|
| 80 |
+
ck = torch.load("frac_0.10/checkpoints/step_1300000.ckpt", map_location="cpu", weights_only=False)
|
| 81 |
+
raw = {k: v for k, v in ck["state_dict"].items() if k.startswith("backbone.")}
|
| 82 |
+
# EMA tensors follow the backbone's trainable parameters in order (all of the
|
| 83 |
+
# state_dict except the rotary-embedding buffer).
|
| 84 |
+
names = [k for k in raw if not k.endswith("rotary_emb.inv_freq")]
|
| 85 |
+
ema = dict(zip(names, ck["ema"]["shadow_params"]))
|
| 86 |
+
print(ck["global_step"], ck["scaling_meta"]["clock"]["train_s"] / 3600, "training hours")
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
**Norms** (`norms/*.jsonl`): per record the step, aggregate norms of the token-path matrices
|
| 90 |
+
(embedding, per-block Q/K/V, attention output, MLP, output layer) and, separately, of the
|
| 91 |
+
timestep-conditioning path, plus per-matrix statistics (spectral norm, Frobenius, L1,
|
| 92 |
+
row and column (2,1)-norms) in float64. `log_R` is the Bartlett spectral complexity:
|
| 93 |
+
`sum log||W||_sigma + 1.5 log sum (||W^T||_2,1^(2/3) / ||W||_sigma^(2/3))`. It is null at
|
| 94 |
+
step 0 because the output layer starts at zero.
|
| 95 |
+
|
| 96 |
+
## Caveats
|
| 97 |
+
|
| 98 |
+
- **Wall-clock time** (`train_hours`) mixes H100 and H200 segments (the GPU of every
|
| 99 |
+
segment is in `segments.jsonl`). For time-based comparisons, use steps or normalise
|
| 100 |
+
per GPU type.
|
| 101 |
+
- `trainer/loss` in the metrics is one micro-batch on one GPU and depends on the GPU
|
| 102 |
+
layout; compare runs with `val/nll`.
|
| 103 |
+
- **Seed checkpoint:** each run resumed from `step_1000000.ckpt` of the 1M run with one loop
|
| 104 |
+
flag changed (`epoch_loop.batch_progress.is_last_batch` True -> False), which is the state a
|
| 105 |
+
2M run has at step 1M. Data order (indexed by step), noise, seed, layout and the constant
|
| 106 |
+
learning rate are unchanged, so steps 1M-2M equal those of a 2M run from scratch. Records
|
| 107 |
+
(metrics, norms, `train_hours`) continue from the 1M run's values.
|
frac_0.10/checkpoints/index.csv
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,kind,file,unix_time,save_s,train_hours,gpu_hours,samples,tokens,epochs,job_id
|
| 2 |
+
1002500,last,last.ckpt,1794993757.040,1.149,153.70010769992498,307.40021539984997,513280000,525598720000,587.8862986116043,200504
|
| 3 |
+
1005000,last,last.ckpt,1794995107.221,1.127,154.0751581848189,308.1503163696378,514560000,526909440000,589.3523492315833,200504
|
| 4 |
+
1007500,last,last.ckpt,1794996491.246,1.152,154.45960955604167,308.91921911208334,515840000,528220160000,590.8183998515624,200504
|
| 5 |
+
1010000,last,last.ckpt,1794997840.033,1.107,154.834272575703,309.668545151406,517120000,529530880000,592.2844504715414,200504
|
| 6 |
+
1012500,last,last.ckpt,1794999223.697,1.110,155.21862364954023,310.43724729908047,518400000,530841600000,593.7505010915205,200504
|
| 7 |
+
1015000,last,last.ckpt,1795000573.496,1.171,155.59356777516388,311.18713555032775,519680000,532152320000,595.2165517114996,200504
|
| 8 |
+
1017500,last,last.ckpt,1795001958.597,1.143,155.97831797411195,311.9566359482239,520960000,533463040000,596.6826023314786,200504
|
| 9 |
+
1020000,last,last.ckpt,1795003308.753,1.121,156.35336128756612,312.70672257513223,522240000,534773760000,598.1486529514577,200504
|
| 10 |
+
1022500,last,last.ckpt,1795004694.628,1.127,156.73832674744165,313.4766534948833,523520000,536084480000,599.6147035714367,200504
|
| 11 |
+
1025000,grid,step_1025000.ckpt,1795006045.202,1.088,157.11348613986473,314.22697227972947,524800000,537395200000,601.0807541914158,200504
|
| 12 |
+
1025000,last,last.ckpt,1795006046.382,1.175,157.11381400784109,314.22762801568217,524800000,537395200000,601.0807541914158,200504
|
| 13 |
+
1027500,last,last.ckpt,1795007431.851,1.146,157.498666499935,314.99733299987,526080000,538705920000,602.5468048113948,200504
|
| 14 |
+
1030000,last,last.ckpt,1795008781.454,1.160,157.87355606485502,315.74711212971005,527360000,540016640000,604.012855431374,200504
|
| 15 |
+
1032500,last,last.ckpt,1795010165.461,1.185,158.25800260291803,316.51600520583605,528640000,541327360000,605.478906051353,200504
|
| 16 |
+
1035000,last,last.ckpt,1795011514.971,1.151,158.63286648000332,317.26573296000663,529920000,542638080000,606.9449566713321,200504
|
| 17 |
+
1037500,last,last.ckpt,1795012899.788,1.109,159.0175378231408,318.0350756462816,531200000,543948800000,608.4110072913111,200504
|
| 18 |
+
1040000,last,last.ckpt,1795014250.452,1.146,159.3927221082614,318.7854442165228,532480000,545259520000,609.8770579112902,200504
|
| 19 |
+
1042500,last,last.ckpt,1795015635.832,1.141,159.7775501328972,319.5551002657944,533760000,546570240000,611.3431085312693,200504
|
| 20 |
+
1045000,last,last.ckpt,1795016987.380,1.175,160.152980023815,320.30596004763,535040000,547880960000,612.8091591512483,200504
|
| 21 |
+
1047500,last,last.ckpt,1795018372.159,1.187,160.53764076722746,321.0752815344549,536320000,549191680000,614.2752097712274,200504
|
| 22 |
+
1050000,grid,step_1050000.ckpt,1795019722.834,1.077,160.91282825888555,321.8256565177711,537600000,550502400000,615.7412603912064,200504
|
| 23 |
+
1050000,last,last.ckpt,1795019724.004,1.165,160.91315320671058,321.82630641342115,537600000,550502400000,615.7412603912064,200504
|
| 24 |
+
1052500,last,last.ckpt,1795021110.000,1.133,161.29815220224387,322.59630440448774,538880000,551813120000,617.2073110111855,200504
|
| 25 |
+
1055000,last,last.ckpt,1795022461.470,1.160,161.67356048478558,323.34712096957117,540160000,553123840000,618.6733616311645,200504
|
| 26 |
+
1057500,last,last.ckpt,1795023847.927,1.126,162.05868762068107,324.11737524136214,541440000,554434560000,620.1394122511437,200504
|
| 27 |
+
1060000,last,last.ckpt,1795025199.054,1.158,162.4340005911494,324.8680011822988,542720000,555745280000,621.6054628711227,200504
|
| 28 |
+
1062500,last,last.ckpt,1795026583.993,1.119,162.81870588095885,325.6374117619177,544000000,557056000000,623.0715134911018,200504
|
| 29 |
+
1065000,last,last.ckpt,1795027935.553,1.115,163.19413910307722,326.38827820615444,545280000,558366720000,624.5375641110808,200504
|
| 30 |
+
1067500,last,last.ckpt,1795029320.857,1.140,163.57894578774582,327.15789157549165,546560000,559677440000,626.0036147310599,200504
|
| 31 |
+
1070000,last,last.ckpt,1795030670.874,1.135,163.95395043408666,327.90790086817333,547840000,560988160000,627.469665351039,200504
|
| 32 |
+
1072500,last,last.ckpt,1795032055.635,1.137,164.33860631263025,328.6772126252605,549120000,562298880000,628.935715971018,200504
|
| 33 |
+
1075000,grid,step_1075000.ckpt,1795033406.700,1.084,164.71390214449946,329.4278042889989,550400000,563609600000,630.4017665909971,200504
|
| 34 |
+
1075000,last,last.ckpt,1795033407.874,1.169,164.71422823310635,329.4284564662127,550400000,563609600000,630.4017665909971,200504
|
| 35 |
+
1077500,last,last.ckpt,1795034793.164,1.147,165.09903123612193,330.19806247224386,551680000,564920320000,631.8678172109761,200504
|
| 36 |
+
1080000,last,last.ckpt,1795036144.418,1.148,165.47437945886807,330.94875891773614,552960000,566231040000,633.3338678309552,200504
|
| 37 |
+
1082500,last,last.ckpt,1795037530.117,1.129,165.8592959066408,331.7185918132816,554240000,567541760000,634.7999184509342,200504
|
| 38 |
+
1085000,last,last.ckpt,1795038882.279,1.171,166.23489637694942,332.46979275389884,555520000,568852480000,636.2659690709133,200504
|
| 39 |
+
1087500,last,last.ckpt,1795040268.234,1.148,166.61988387639607,333.23976775279215,556800000,570163200000,637.7320196908923,200504
|
| 40 |
+
1090000,last,last.ckpt,1795041619.390,1.138,166.9952049887305,333.990409977461,558080000,571473920000,639.1980703108715,200504
|
| 41 |
+
1092500,last,last.ckpt,1795043004.826,1.186,167.3800483112711,334.7600966225422,559360000,572784640000,640.6641209308506,200504
|
| 42 |
+
1095000,last,last.ckpt,1795044355.821,1.116,167.75532472103134,335.5106494420627,560640000,574095360000,642.1301715508296,200504
|
| 43 |
+
1097500,last,last.ckpt,1795045741.253,1.128,168.14016698550168,336.28033397100336,561920000,575406080000,643.5962221708087,200504
|
| 44 |
+
1100000,grid,step_1100000.ckpt,1795047114.983,1.468,168.52175857049497,337.04351714098993,563200000,576716800000,645.0622727907877,200504
|
| 45 |
+
1100000,last,last.ckpt,1795047116.526,1.536,168.52218734432387,337.04437468864774,563200000,576716800000,645.0622727907877,200504
|
| 46 |
+
1102500,last,last.ckpt,1795048530.453,1.517,168.91494468691863,337.82988937383726,564480000,578027520000,646.5283234107668,200504
|
| 47 |
+
1105000,last,last.ckpt,1795049909.652,1.487,169.2980555952339,338.5961111904678,565760000,579338240000,647.9943740307458,200504
|
| 48 |
+
1107500,last,last.ckpt,1795051334.168,1.460,169.6937543795208,339.3875087590416,567040000,580648960000,649.4604246507249,200504
|
| 49 |
+
1110000,last,last.ckpt,1795052723.562,1.543,170.0796972162783,340.1593944325566,568320000,581959680000,650.9264752707039,200504
|
| 50 |
+
1112500,last,last.ckpt,1795054149.653,1.564,170.47583361352082,340.95166722704164,569600000,583270400000,652.392525890683,200504
|
| 51 |
+
1115000,last,last.ckpt,1795055538.638,1.499,170.86166264347693,341.72332528695387,570880000,584581120000,653.858576510662,200504
|
| 52 |
+
1117500,last,last.ckpt,1795056961.431,1.528,171.25688294066524,342.51376588133047,572160000,585891840000,655.3246271306411,200504
|
| 53 |
+
1120000,last,last.ckpt,1795058349.062,1.575,171.64233608296664,343.2846721659333,573440000,587202560000,656.7906777506203,200504
|
| 54 |
+
1122500,last,last.ckpt,1795059773.474,1.532,172.0380059918769,344.0760119837538,574720000,588513280000,658.2567283705993,200504
|
| 55 |
+
1125000,grid,step_1125000.ckpt,1795061161.225,1.518,172.42349260600582,344.84698521201165,576000000,589824000000,659.7227789905784,200504
|
| 56 |
+
1125000,last,last.ckpt,1795061162.798,1.566,172.42392940223553,344.84785880447106,576000000,589824000000,659.7227789905784,200504
|
| 57 |
+
1127500,last,last.ckpt,1795062586.442,1.550,172.8193860234547,345.6387720469094,577280000,591134720000,661.1888296105574,200504
|
| 58 |
+
1130000,last,last.ckpt,1795063977.867,1.546,173.20589311349858,346.41178622699715,578560000,592445440000,662.6548802305365,200504
|
| 59 |
+
1132500,last,last.ckpt,1795065401.199,1.542,173.60126306439446,347.2025261287889,579840000,593756160000,664.1209308505155,200504
|
| 60 |
+
1135000,last,last.ckpt,1795066777.108,1.556,173.98346008804083,347.96692017608166,581120000,595066880000,665.5869814704946,200504
|
| 61 |
+
1137500,last,last.ckpt,1795068189.056,1.508,174.37566774286387,348.75133548572774,582400000,596377600000,667.0530320904736,200504
|
| 62 |
+
1140000,last,last.ckpt,1795069559.562,1.523,174.75636383168666,349.5127276633733,583680000,597688320000,668.5190827104527,200504
|
| 63 |
+
1142500,last,last.ckpt,1795070968.699,1.551,175.14779082705164,350.2955816541033,584960000,598999040000,669.9851333304317,200504
|
| 64 |
+
1145000,last,last.ckpt,1795072346.658,1.514,175.5305571281236,351.0611142562472,586240000,600309760000,671.4511839504108,200504
|
| 65 |
+
1147500,last,last.ckpt,1795073762.712,1.495,175.92390558401524,351.8478111680305,587520000,601620480000,672.91723457039,200504
|
| 66 |
+
1150000,grid,step_1150000.ckpt,1795075143.877,1.449,176.30756252502803,352.61512505005606,588800000,602931200000,674.383285190369,200504
|
| 67 |
+
1150000,last,last.ckpt,1795075145.439,1.556,176.30799627098637,352.61599254197273,588800000,602931200000,674.383285190369,200504
|
| 68 |
+
1152500,last,last.ckpt,1795076562.031,1.545,176.70149422440136,353.4029884488027,590080000,604241920000,675.8493358103481,200504
|
| 69 |
+
1155000,last,last.ckpt,1795077941.728,1.501,177.08474338294278,354.16948676588555,591360000,605552640000,677.3153864303271,200504
|
| 70 |
+
1157500,last,last.ckpt,1795079356.569,1.480,177.4777546009775,354.955509201955,592640000,606863360000,678.7814370503062,200504
|
| 71 |
+
1160000,last,last.ckpt,1795080736.434,1.444,177.8610505387425,355.722101077485,593920000,608174080000,680.2474876702852,200504
|
| 72 |
+
1162500,last,last.ckpt,1795082150.263,1.489,178.25378077310276,356.5075615462055,595200000,609484800000,681.7135382902643,200504
|
| 73 |
+
1165000,last,last.ckpt,1795083530.684,1.485,178.63723117049912,357.27446234099824,596480000,610795520000,683.1795889102433,200504
|
| 74 |
+
1167500,last,last.ckpt,1795084944.702,1.519,179.0300138249483,358.0600276498966,597760000,612106240000,684.6456395302224,200504
|
| 75 |
+
1170000,last,last.ckpt,1795086324.003,1.494,179.41315298606526,358.8263059721305,599040000,613416960000,686.1116901502014,200504
|
| 76 |
+
1172500,last,last.ckpt,1795087737.225,1.519,179.80571476127582,359.61142952255165,600320000,614727680000,687.5777407701805,200504
|
| 77 |
+
1175000,grid,step_1175000.ckpt,1795089116.881,1.404,180.18895237171776,360.3779047434355,601600000,616038400000,689.0437913901596,200504
|
| 78 |
+
1175000,last,last.ckpt,1795089118.401,1.511,180.18937481711555,360.3787496342311,601600000,616038400000,689.0437913901596,200504
|
| 79 |
+
1177500,last,last.ckpt,1795090532.849,1.594,180.5822768731828,361.1645537463656,602880000,617349120000,690.5098420101386,200504
|
| 80 |
+
1180000,last,last.ckpt,1795091911.974,1.507,180.96536730740388,361.93073461480776,604160000,618659840000,691.9758926301178,200504
|
| 81 |
+
1182500,last,last.ckpt,1795093328.562,1.482,181.35886394344388,362.71772788688776,605440000,619970560000,693.4419432500968,200504
|
| 82 |
+
1185000,last,last.ckpt,1795094707.838,1.498,181.74199602158166,363.4839920431633,606720000,621281280000,694.9079938700759,200504
|
| 83 |
+
1187500,last,last.ckpt,1795096122.791,1.535,182.13503865858942,364.27007731717885,608000000,622592000000,696.3740444900549,200504
|
| 84 |
+
1190000,last,last.ckpt,1795097502.673,1.525,182.51833912663,365.03667825326,609280000,623902720000,697.840095110034,200504
|
| 85 |
+
1192500,last,last.ckpt,1795098917.286,1.553,182.9112872069128,365.8225744138256,610560000,625213440000,699.306145730013,200504
|
| 86 |
+
1195000,last,last.ckpt,1795100297.764,1.544,183.2947534565636,366.5895069131272,611840000,626524160000,700.7721963499921,200504
|
| 87 |
+
1197500,last,last.ckpt,1795101714.658,1.518,183.68833489512306,367.3766697902461,613120000,627834880000,702.2382469699712,200504
|
| 88 |
+
1200000,grid,step_1200000.ckpt,1795103097.101,1.417,184.07234683158083,368.14469366316166,614400000,629145600000,703.7042975899502,200504
|
| 89 |
+
1200000,last,last.ckpt,1795103098.682,1.572,184.0727861308908,368.1455722617816,614400000,629145600000,703.7042975899502,200504
|
| 90 |
+
1202500,last,last.ckpt,1795104516.889,1.500,184.46673243492222,368.93346486984444,615680000,630456320000,705.1703482099293,200504
|
| 91 |
+
1205000,last,last.ckpt,1795105900.173,1.543,184.8509780911225,369.701956182245,616960000,631767040000,706.6363988299083,200504
|
| 92 |
+
1207500,last,last.ckpt,1795107317.815,1.556,185.2447675359619,370.4895350719238,618240000,633077760000,708.1024494498874,200504
|
| 93 |
+
1210000,last,last.ckpt,1795108687.761,1.102,185.62530818503583,371.25061637007167,619520000,634388480000,709.5685000698664,200504
|
| 94 |
+
1212500,last,last.ckpt,1795110077.625,1.136,186.01138126652222,372.02276253304444,620800000,635699200000,711.0345506898456,200504
|
| 95 |
+
1215000,last,last.ckpt,1795111433.671,1.098,186.38806080399578,372.77612160799157,622080000,637009920000,712.5006013098246,200504
|
| 96 |
+
1217500,last,last.ckpt,1795112824.714,1.158,186.77446165212308,373.54892330424616,623360000,638320640000,713.9666519298037,200504
|
| 97 |
+
1220000,last,last.ckpt,1795114181.336,1.153,187.15130099187527,374.30260198375055,624640000,639631360000,715.4327025497827,200504
|
| 98 |
+
1222500,last,last.ckpt,1795115569.799,1.120,187.53698537146917,375.07397074293834,625920000,640942080000,716.8987531697618,200504
|
| 99 |
+
1225000,grid,step_1225000.ckpt,1795116925.083,1.103,187.91345294257303,375.82690588514606,627200000,642252800000,718.3648037897409,200504
|
| 100 |
+
1225000,last,last.ckpt,1795116926.218,1.130,187.91376829157474,375.8275365831495,627200000,642252800000,718.3648037897409,200504
|
| 101 |
+
1227500,last,last.ckpt,1795118321.058,1.141,188.3012239841522,376.6024479683044,628480000,643563520000,719.8308544097199,200504
|
| 102 |
+
1230000,last,last.ckpt,1795119680.883,1.146,188.67895318714332,377.35790637428664,629760000,644874240000,721.296905029699,200504
|
| 103 |
+
1232500,last,last.ckpt,1795121086.679,1.479,189.0694520062569,378.1389040125138,631040000,646184960000,722.762955649678,200504
|
| 104 |
+
1235000,last,last.ckpt,1795122446.323,1.115,189.4471306968514,378.8942613937028,632320000,647495680000,724.2290062696571,200504
|
| 105 |
+
1237500,last,last.ckpt,1795123837.274,1.178,189.83350607546888,379.66701215093775,633600000,648806400000,725.6950568896361,200504
|
| 106 |
+
1240000,last,last.ckpt,1795125197.833,1.431,190.21143924002834,380.4228784800567,634880000,650117120000,727.1611075096152,200504
|
| 107 |
+
1242500,last,last.ckpt,1795126612.649,1.512,190.6044436624655,381.208887324931,636160000,651427840000,728.6271581295942,200504
|
| 108 |
+
1245000,last,last.ckpt,1795127991.662,1.459,190.98750282094832,381.97500564189664,637440000,652738560000,730.0932087495734,200504
|
| 109 |
+
1247500,last,last.ckpt,1795129407.246,1.565,191.380720620665,382.76144124133,638720000,654049280000,731.5592593695524,200504
|
| 110 |
+
1250000,grid,step_1250000.ckpt,1795130789.422,1.430,191.764658355525,383.52931671105,640000000,655360000000,733.0253099895315,200504
|
| 111 |
+
1250000,last,last.ckpt,1795130790.948,1.521,191.76508213925558,383.53016427851117,640000000,655360000000,733.0253099895315,200504
|
| 112 |
+
1252500,last,last.ckpt,1795132208.979,1.484,192.1589796867014,384.3179593734028,641280000,656670720000,734.4913606095106,200504
|
| 113 |
+
1255000,last,last.ckpt,1795133591.776,1.494,192.54308985774747,385.08617971549495,642560000,657981440000,735.9574112294896,200504
|
| 114 |
+
1257500,last,last.ckpt,1795135011.225,1.571,192.9373813899455,385.874762779891,643840000,659292160000,737.4234618494687,200504
|
| 115 |
+
1260000,last,last.ckpt,1795136393.518,1.488,193.3213515412492,386.6427030824984,645120000,660602880000,738.8895124694477,200504
|
| 116 |
+
1262500,last,last.ckpt,1795137811.193,1.533,193.71515027581552,387.43030055163103,646400000,661913600000,740.3555630894268,200504
|
| 117 |
+
1265000,last,last.ckpt,1795139193.495,1.470,194.09912307862083,388.19824615724167,647680000,663224320000,741.8216137094058,200504
|
| 118 |
+
1267500,last,last.ckpt,1795140610.621,1.497,194.49276923633218,388.98553847266436,648960000,664535040000,743.2876643293849,200504
|
| 119 |
+
1270000,last,last.ckpt,1795141994.182,1.548,194.87709155234663,389.75418310469325,650240000,665845760000,744.7537149493639,200504
|
| 120 |
+
1272500,last,last.ckpt,1795143412.444,1.555,195.27105336849553,390.54210673699106,651520000,667156480000,746.219765569343,200504
|
| 121 |
+
1275000,grid,step_1275000.ckpt,1795144796.117,1.468,195.65540699845943,391.31081399691885,652800000,668467200000,747.6858161893222,200504
|
| 122 |
+
1275000,last,last.ckpt,1795144797.656,1.534,195.65583432605217,391.31166865210434,652800000,668467200000,747.6858161893222,200504
|
| 123 |
+
1277500,last,last.ckpt,1795146216.319,1.476,196.04990747493497,392.09981494986994,654080000,669777920000,749.1518668093012,200504
|
| 124 |
+
1280000,last,last.ckpt,1795147598.825,1.573,196.43393699154328,392.86787398308655,655360000,671088640000,750.6179174292803,200504
|
| 125 |
+
1282500,last,last.ckpt,1795149016.527,1.465,196.8277429463283,393.6554858926566,656640000,672399360000,752.0839680492593,200504
|
| 126 |
+
1285000,last,last.ckpt,1795150399.006,1.539,197.21176509852555,394.4235301970511,657920000,673710080000,753.5500186692384,200504
|
| 127 |
+
1287500,last,last.ckpt,1795151817.169,1.481,197.6056991953508,395.2113983907016,659200000,675020800000,755.0160692892174,200504
|
| 128 |
+
1290000,last,last.ckpt,1795153200.948,1.501,197.99008202035918,395.98016404071836,660480000,676331520000,756.4821199091965,200504
|
| 129 |
+
1292500,last,last.ckpt,1795154619.632,1.474,198.3841610722311,396.7683221444622,661760000,677642240000,757.9481705291755,200504
|
| 130 |
+
1295000,last,last.ckpt,1795156002.140,1.474,198.76819115887804,397.5363823177561,663040000,678952960000,759.4142211491546,200504
|
| 131 |
+
1297500,last,last.ckpt,1795157420.975,1.494,199.16231203362332,398.32462406724665,664320000,680263680000,760.8802717691336,200504
|
| 132 |
+
1300000,grid,step_1300000.ckpt,1795158804.856,1.462,199.5467234038078,399.0934468076156,665600000,681574400000,762.3463223891127,200504
|
| 133 |
+
1300000,last,last.ckpt,1795158806.397,1.535,199.5471513762503,399.0943027525006,665600000,681574400000,762.3463223891127,200504
|
| 134 |
+
1302500,last,last.ckpt,1795160223.522,1.460,199.94079716600194,399.8815943320039,666880000,682885120000,763.8123730090919,200504
|
| 135 |
+
1305000,last,last.ckpt,1795161605.475,1.524,200.32467310115663,400.64934620231327,668160000,684195840000,765.2784236290709,200504
|
| 136 |
+
1307500,last,last.ckpt,1795163023.833,1.526,200.71866149437136,401.4373229887427,669440000,685506560000,766.74447424905,200504
|
| 137 |
+
1309080,last,last.ckpt,1795163898.169,1.551,200.96153242056917,401.92306484113834,670248960,686334935040,767.6710182408767,200504
|
frac_0.10/checkpoints/last.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33eb28860e9b5256f9c627be5e583272e22bc4620d095e0a33acc4fd8a0ecd41
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1025000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b564f448c95c6723671d338ad8216a3a218ae640f51ea738cfdd889a27203a6
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1050000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6345c961bd0846d248ef8bb79593373a7f004803516c4e7b002070a407f4499
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1075000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:313139c023c9137acdf31ffc514011f3f2c090632cb51f716e3c27e3a78ad35f
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1100000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94acf63e964b001a631148166b5907de6a2f6b6729b2e2fef38d2d2b8d60007d
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1125000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27c9fba3093fd5f9ed0611f582afddd2688a963d019e663d8d1b954c58f327ea
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1150000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:062698f56033012fac44240f8a1911106c6b54f1748880fcadeb93073ffc1b3f
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1175000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d896e2e2791b42f17e31f5d52fdace9927c7190d1431b68bfd3f24b7499d970
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1200000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0b991acb85ae32357ad180114b6f6f400298985c0a9382d47103c6dad5fc67b
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1225000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e0669234e4ad7116c7e3dccb127bb6cb35699b753e66250c4e806f6d7974de9
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1250000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87e3c1b417e68308d580051d371d327c3cdc7d988da6733375f338b0ef0e6724
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1275000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e092641620a2675b702421c1bd0b7de29d39a8df27c5c3fe2054a717dc39aac
|
| 3 |
+
size 542291321
|
frac_0.10/checkpoints/step_1300000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71e314f83e6cbc15b84f9f2a95d440247f8fff13f1193783f95327c3aa351a85
|
| 3 |
+
size 542291321
|
frac_0.10/code_sha
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
7c9e7d04d4a4
|
frac_0.10/config_resolved.yaml
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mode: train
|
| 2 |
+
seed: 1
|
| 3 |
+
loader:
|
| 4 |
+
global_batch_size: 512
|
| 5 |
+
eval_global_batch_size: 128
|
| 6 |
+
batch_size: 64
|
| 7 |
+
eval_batch_size: 64
|
| 8 |
+
num_workers: 4
|
| 9 |
+
pin_memory: true
|
| 10 |
+
sampler: step_indexed
|
| 11 |
+
sampling:
|
| 12 |
+
predictor: ancestral
|
| 13 |
+
steps: 1000
|
| 14 |
+
noise_removal: ancestral
|
| 15 |
+
use_float64: true
|
| 16 |
+
p_nucleus: 1.0
|
| 17 |
+
num_sample_batches: 0
|
| 18 |
+
num_sample_log: 2
|
| 19 |
+
semi_ar: false
|
| 20 |
+
stride_length: 1
|
| 21 |
+
num_strides: 1
|
| 22 |
+
guid_weight: null
|
| 23 |
+
psi:
|
| 24 |
+
time_profile: linear
|
| 25 |
+
high_mode: pure-posterior
|
| 26 |
+
middle_mode: pure-posterior
|
| 27 |
+
low_mode: pure-posterior
|
| 28 |
+
high_frac: 0.2
|
| 29 |
+
middle_frac: 0.6
|
| 30 |
+
training:
|
| 31 |
+
ema: 0.9999
|
| 32 |
+
antithetic_sampling: true
|
| 33 |
+
importance_sampling: false
|
| 34 |
+
sampling_eps: 0.001
|
| 35 |
+
change_of_variables: false
|
| 36 |
+
loss_precision: bf16
|
| 37 |
+
finetune_path: ''
|
| 38 |
+
class_dropout_p: 0.1
|
| 39 |
+
eval:
|
| 40 |
+
checkpoint_path: ''
|
| 41 |
+
disable_ema: false
|
| 42 |
+
compute_generative_perplexity: false
|
| 43 |
+
perplexity_batch_size: 8
|
| 44 |
+
compute_perplexity_on_sanity: false
|
| 45 |
+
gen_ppl_eval_model_name_or_path: gpt2-large
|
| 46 |
+
generate_samples: false
|
| 47 |
+
generated_samples_path: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_0.10/samples.json
|
| 48 |
+
optim:
|
| 49 |
+
weight_decay: 0
|
| 50 |
+
lr: 0.0003
|
| 51 |
+
beta1: 0.9
|
| 52 |
+
beta2: 0.999
|
| 53 |
+
eps: 1.0e-08
|
| 54 |
+
trainer:
|
| 55 |
+
_target_: lightning.Trainer
|
| 56 |
+
accelerator: cuda
|
| 57 |
+
num_nodes: 1
|
| 58 |
+
devices: 2
|
| 59 |
+
accumulate_grad_batches: 4
|
| 60 |
+
gradient_clip_val: 1.0
|
| 61 |
+
precision: bf16
|
| 62 |
+
num_sanity_val_steps: 2
|
| 63 |
+
max_steps: 2000000
|
| 64 |
+
log_every_n_steps: 100
|
| 65 |
+
limit_train_batches: 1.0
|
| 66 |
+
limit_val_batches: 1.0
|
| 67 |
+
val_check_interval: 20000
|
| 68 |
+
check_val_every_n_epoch: null
|
| 69 |
+
enable_checkpointing: false
|
| 70 |
+
enable_progress_bar: false
|
| 71 |
+
wandb: null
|
| 72 |
+
checkpointing:
|
| 73 |
+
save_dir: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_0.10
|
| 74 |
+
resume_from_ckpt: true
|
| 75 |
+
resume_ckpt_path: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_0.10/checkpoints/last.ckpt
|
| 76 |
+
callbacks:
|
| 77 |
+
training_clock:
|
| 78 |
+
_target_: scaling_callbacks.TrainingClock
|
| 79 |
+
run_dir: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_0.10
|
| 80 |
+
global_batch_size: 512
|
| 81 |
+
seq_len: 1024
|
| 82 |
+
max_steps: 2000000
|
| 83 |
+
log_every_n_steps: 100
|
| 84 |
+
print_every_n_steps: 500
|
| 85 |
+
norm_monitor:
|
| 86 |
+
_target_: scaling_callbacks.NormMonitor
|
| 87 |
+
dirpath: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_0.10/norms
|
| 88 |
+
every_n_steps: 500
|
| 89 |
+
max_steps: 2000000
|
| 90 |
+
grid_every: 25000
|
| 91 |
+
grid_early:
|
| 92 |
+
- 100
|
| 93 |
+
- 200
|
| 94 |
+
- 400
|
| 95 |
+
- 700
|
| 96 |
+
- 1000
|
| 97 |
+
- 1500
|
| 98 |
+
- 2500
|
| 99 |
+
- 4000
|
| 100 |
+
- 6000
|
| 101 |
+
- 10000
|
| 102 |
+
- 15000
|
| 103 |
+
- 20000
|
| 104 |
+
scaling_checkpoint:
|
| 105 |
+
_target_: scaling_callbacks.ScalingCheckpoint
|
| 106 |
+
dirpath: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_0.10/checkpoints
|
| 107 |
+
max_steps: 2000000
|
| 108 |
+
grid_every: 25000
|
| 109 |
+
grid_early:
|
| 110 |
+
- 100
|
| 111 |
+
- 200
|
| 112 |
+
- 400
|
| 113 |
+
- 700
|
| 114 |
+
- 1000
|
| 115 |
+
- 1500
|
| 116 |
+
- 2500
|
| 117 |
+
- 4000
|
| 118 |
+
- 6000
|
| 119 |
+
- 10000
|
| 120 |
+
- 15000
|
| 121 |
+
- 20000
|
| 122 |
+
rolling_every: 2500
|
| 123 |
+
walltime_margin_s: 1200
|
| 124 |
+
learning_rate_monitor:
|
| 125 |
+
_target_: lightning.pytorch.callbacks.LearningRateMonitor
|
| 126 |
+
logging_interval: step
|
| 127 |
+
data:
|
| 128 |
+
train: openwebtext-train
|
| 129 |
+
valid: openwebtext-valid
|
| 130 |
+
modality: text
|
| 131 |
+
tokenizer_name_or_path: gpt2
|
| 132 |
+
cache_dir: /mnt/home/phamd/dm_scaling_law_data/text_data
|
| 133 |
+
wrap: true
|
| 134 |
+
streaming: false
|
| 135 |
+
insert_train_eos: true
|
| 136 |
+
insert_valid_eos: true
|
| 137 |
+
train_fraction: 0.1
|
| 138 |
+
subset_seed: 20250927
|
| 139 |
+
subset_perm_path: /mnt/home/phamd/dm_scaling_law_data/subsets/owt_train_perm_s20250927.npy
|
| 140 |
+
subset_perm_sha256: null
|
| 141 |
+
subset_tokens_path: /mnt/home/phamd/dm_scaling_law_data/subsets/owt_train_perm_s20250927_input_ids.npy
|
| 142 |
+
order_seed: 1
|
| 143 |
+
model:
|
| 144 |
+
name: tiny
|
| 145 |
+
type: ddit
|
| 146 |
+
hidden_size: 256
|
| 147 |
+
cond_dim: 128
|
| 148 |
+
length: 1024
|
| 149 |
+
n_blocks: 8
|
| 150 |
+
n_heads: 8
|
| 151 |
+
scale_by_sigma: true
|
| 152 |
+
dropout: 0.1
|
| 153 |
+
tie_word_embeddings: false
|
| 154 |
+
vocab_lookup: true
|
| 155 |
+
strategy:
|
| 156 |
+
_target_: lightning.pytorch.strategies.DDPStrategy
|
| 157 |
+
find_unused_parameters: false
|
| 158 |
+
noise:
|
| 159 |
+
type: log-linear
|
| 160 |
+
eps: 0.001
|
| 161 |
+
lr_scheduler:
|
| 162 |
+
_target_: transformers.get_constant_schedule_with_warmup
|
| 163 |
+
num_warmup_steps: 2500
|
| 164 |
+
prior:
|
| 165 |
+
type: none
|
| 166 |
+
latent_width: 0
|
| 167 |
+
latent_height: 0
|
| 168 |
+
algo:
|
| 169 |
+
name: duo_base
|
| 170 |
+
backbone: dit
|
| 171 |
+
parameterization: mean
|
| 172 |
+
time_conditioning: true
|
| 173 |
+
T: 0
|
| 174 |
+
subs_masking: false
|
| 175 |
+
causal_attention: false
|
| 176 |
+
ignore_bos: false
|
| 177 |
+
loss_type: elbo
|
| 178 |
+
compile_loss: true
|
| 179 |
+
scaling:
|
| 180 |
+
val_every_steps: 5000
|
| 181 |
+
rolling_every: 2500
|
| 182 |
+
reseed_every: 1
|
| 183 |
+
grid_every: 25000
|
| 184 |
+
grid_early:
|
| 185 |
+
- 100
|
| 186 |
+
- 200
|
| 187 |
+
- 400
|
| 188 |
+
- 700
|
| 189 |
+
- 1000
|
| 190 |
+
- 1500
|
| 191 |
+
- 2500
|
| 192 |
+
- 4000
|
| 193 |
+
- 6000
|
| 194 |
+
- 10000
|
| 195 |
+
- 15000
|
| 196 |
+
- 20000
|
| 197 |
+
norm_every: 500
|
| 198 |
+
val_noise_seed: 4242
|
| 199 |
+
walltime_margin_s: 1200
|
| 200 |
+
scaling_wandb:
|
| 201 |
+
project: duo-scaling-tiny
|
| 202 |
+
group: tiny
|
| 203 |
+
name: duo_base-tiny-f0.1-s1
|
| 204 |
+
id: duobase2M-tiny-f010-s1
|
frac_0.10/metrics/version_0/metrics.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
frac_0.10/norms/norms_ema.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
frac_0.10/norms/norms_raw.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
frac_0.10/run_info.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"subset": {
|
| 3 |
+
"train_fraction": 0.1,
|
| 4 |
+
"n_blocks": 873094,
|
| 5 |
+
"n_total": 8730942,
|
| 6 |
+
"perm_path": "/mnt/home/phamd/dm_scaling_law_data/subsets/owt_train_perm_s20250927.npy",
|
| 7 |
+
"perm_sha256": "fa545515efbfdd07138abceebb2671be60b5047431da2f50fd58a8bb986d05a7",
|
| 8 |
+
"subset_seed": 20250927,
|
| 9 |
+
"steps_per_epoch": 1705
|
| 10 |
+
},
|
| 11 |
+
"model": "tiny",
|
| 12 |
+
"algo": "duo_base",
|
| 13 |
+
"seed": 1,
|
| 14 |
+
"order_seed": 1,
|
| 15 |
+
"global_batch_size": 512,
|
| 16 |
+
"max_steps": 2000000,
|
| 17 |
+
"num_parameters": 33789010,
|
| 18 |
+
"batch_size": 64,
|
| 19 |
+
"accumulate_grad_batches": 4,
|
| 20 |
+
"world_size": 2,
|
| 21 |
+
"gpu": "NVIDIA H100 80GB HBM3",
|
| 22 |
+
"code_sha": "7c9e7d04d4a4",
|
| 23 |
+
"code_dir": "/mnt/home/phamd/dm_scaling_law_runs/code/7c9e7d04d4a4"
|
| 24 |
+
}
|
frac_0.10/segments.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"event": "job_start", "unix_time": 1794992304, "job_id": "200504", "restart": 0, "node": "alphagpu05"}
|
| 2 |
+
{"event": "start", "unix_time": 1794992383.4994583, "step": 1000000, "train_hours": 153.3185687057772, "job_id": "200504", "node": "alphagpu05", "world_size": 2, "gpu": "NVIDIA H100 80GB HBM3"}
|
| 3 |
+
{"event": "end", "unix_time": 1795163898.1790652, "step": 1309080, "train_hours": 200.96153528940275, "job_id": "200504"}
|
frac_1.00/checkpoints/index.csv
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,kind,file,unix_time,save_s,train_hours,gpu_hours,samples,tokens,epochs,job_id
|
| 2 |
+
1002500,last,last.ckpt,1794993785.157,1.117,151.5892997443824,303.1785994887648,513280000,525598720000,58.788616394428004,200505
|
| 3 |
+
1005000,last,last.ckpt,1794995132.378,1.139,151.96352796570656,303.9270559314131,514560000,526909440000,58.935221422843036,200505
|
| 4 |
+
1007500,last,last.ckpt,1794996514.631,1.128,152.34748709543518,304.69497419087037,515840000,528220160000,59.08182645125807,200505
|
| 5 |
+
1010000,last,last.ckpt,1794997861.419,1.169,152.72159467081215,305.4431893416243,517120000,529530880000,59.2284314796731,200505
|
| 6 |
+
1012500,last,last.ckpt,1794999244.174,1.147,153.10569339900212,306.21138679800424,518400000,530841600000,59.37503650808813,200505
|
| 7 |
+
1015000,last,last.ckpt,1795000591.926,1.156,153.48006907047213,306.96013814094425,519680000,532152320000,59.52164153650316,200505
|
| 8 |
+
1017500,last,last.ckpt,1795001975.653,1.170,153.8644375495335,307.728875099067,520960000,533463040000,59.66824656491819,200505
|
| 9 |
+
1020000,last,last.ckpt,1795003324.321,1.135,154.23906760176268,308.47813520352537,522240000,534773760000,59.81485159333323,200505
|
| 10 |
+
1022500,last,last.ckpt,1795004706.759,1.123,154.62307807734157,309.24615615468315,523520000,536084480000,59.96145662174826,200505
|
| 11 |
+
1025000,grid,step_1025000.ckpt,1795006055.210,1.072,154.99764788770324,309.9952957754065,524800000,537395200000,60.10806165016329,200505
|
| 12 |
+
1025000,last,last.ckpt,1795006056.353,1.139,154.99796533538435,309.9959306707687,524800000,537395200000,60.10806165016329,200505
|
| 13 |
+
1027500,last,last.ckpt,1795007438.263,1.128,155.38182930499516,310.76365860999033,526080000,538705920000,60.254666678578324,200505
|
| 14 |
+
1030000,last,last.ckpt,1795008786.412,1.110,155.75631493871992,311.51262987743985,527360000,540016640000,60.401271706993356,200505
|
| 15 |
+
1032500,last,last.ckpt,1795010169.554,1.105,156.14052106932795,312.2810421386559,528640000,541327360000,60.54787673540839,200505
|
| 16 |
+
1035000,last,last.ckpt,1795011516.824,1.114,156.5147629717577,313.0295259435154,529920000,542638080000,60.694481763823426,200505
|
| 17 |
+
1037500,last,last.ckpt,1795012900.745,1.188,156.89918541995215,313.7983708399043,531200000,543948800000,60.84108679223846,200505
|
| 18 |
+
1040000,last,last.ckpt,1795014249.960,1.165,157.2739671515605,314.547934303121,532480000,545259520000,60.98769182065349,200505
|
| 19 |
+
1042500,last,last.ckpt,1795015633.084,1.167,157.65816826023962,315.31633652047924,533760000,546570240000,61.13429684906852,200505
|
| 20 |
+
1045000,last,last.ckpt,1795016982.137,1.132,158.03290539909187,316.06581079818375,535040000,547880960000,61.28090187748355,200505
|
| 21 |
+
1047500,last,last.ckpt,1795018366.628,1.179,158.41748603837436,316.8349720767487,536320000,549191680000,61.42750690589858,200505
|
| 22 |
+
1050000,grid,step_1050000.ckpt,1795019715.601,1.071,158.79220102487992,317.58440204975983,537600000,550502400000,61.57411193431362,200505
|
| 23 |
+
1050000,last,last.ckpt,1795019716.749,1.143,158.79251981077937,317.58503962155874,537600000,550502400000,61.57411193431362,200505
|
| 24 |
+
1052500,last,last.ckpt,1795021101.258,1.199,159.1771055982185,318.354211196437,538880000,551813120000,61.72071696272865,200505
|
| 25 |
+
1055000,last,last.ckpt,1795022448.551,1.157,159.55135360043462,319.10270720086925,540160000,553123840000,61.86732199114368,200505
|
| 26 |
+
1057500,last,last.ckpt,1795023832.239,1.128,159.93571154339963,319.87142308679927,541440000,554434560000,62.013927019558714,200505
|
| 27 |
+
1060000,last,last.ckpt,1795025181.023,1.129,160.3103737587324,320.6207475174648,542720000,555745280000,62.160532047973746,200505
|
| 28 |
+
1062500,last,last.ckpt,1795026565.350,1.141,160.69490904658076,321.3898180931615,544000000,557056000000,62.30713707638878,200505
|
| 29 |
+
1065000,last,last.ckpt,1795027914.955,1.137,161.06979911470242,322.13959822940484,545280000,558366720000,62.45374210480381,200505
|
| 30 |
+
1067500,last,last.ckpt,1795029297.619,1.149,161.45387254639877,322.90774509279754,546560000,559677440000,62.60034713321885,200505
|
| 31 |
+
1070000,last,last.ckpt,1795030645.276,1.141,161.82822161138077,323.65644322276154,547840000,560988160000,62.74695216163388,200505
|
| 32 |
+
1072500,last,last.ckpt,1795032028.022,1.205,162.21231782120685,324.4246356424137,549120000,562298880000,62.89355719004891,200505
|
| 33 |
+
1075000,grid,step_1075000.ckpt,1795033376.900,1.071,162.58700613228157,325.17401226456315,550400000,563609600000,63.04016221846394,200505
|
| 34 |
+
1075000,last,last.ckpt,1795033378.034,1.130,162.58732120070877,325.17464240141754,550400000,563609600000,63.04016221846394,200505
|
| 35 |
+
1077500,last,last.ckpt,1795034761.639,1.159,162.97165582889465,325.9433116577893,551680000,564920320000,63.18676724687897,200505
|
| 36 |
+
1080000,last,last.ckpt,1795036110.316,1.138,163.34628839866076,326.6925767973215,552960000,566231040000,63.333372275294,200505
|
| 37 |
+
1082500,last,last.ckpt,1795037494.306,1.105,163.7307299687749,327.4614599375498,554240000,567541760000,63.47997730370904,200505
|
| 38 |
+
1085000,last,last.ckpt,1795038844.798,1.143,164.1058668481171,328.2117336962342,555520000,568852480000,63.62658233212407,200505
|
| 39 |
+
1087500,last,last.ckpt,1795040228.870,1.124,164.4903312855141,328.9806625710282,556800000,570163200000,63.773187360539104,200505
|
| 40 |
+
1090000,last,last.ckpt,1795041577.939,1.153,164.86507258291383,329.73014516582765,558080000,571473920000,63.919792388954136,200505
|
| 41 |
+
1092500,last,last.ckpt,1795042961.709,1.124,165.24945311946104,330.4989062389221,559360000,572784640000,64.06639741736917,200505
|
| 42 |
+
1095000,last,last.ckpt,1795044309.771,1.226,165.6239147249088,331.2478294498176,560640000,574095360000,64.2130024457842,200505
|
| 43 |
+
1097500,last,last.ckpt,1795045693.356,1.137,166.00824409124823,332.01648818249646,561920000,575406080000,64.35960747419924,200505
|
| 44 |
+
1100000,grid,step_1100000.ckpt,1795047062.943,1.479,166.38868481725436,332.7773696345087,563200000,576716800000,64.50621250261426,200505
|
| 45 |
+
1100000,last,last.ckpt,1795047064.457,1.509,166.38910534352794,332.7782106870559,563200000,576716800000,64.50621250261426,200505
|
| 46 |
+
1102500,last,last.ckpt,1795048474.579,1.529,166.7808059322552,333.5616118645104,564480000,578027520000,64.6528175310293,200505
|
| 47 |
+
1105000,last,last.ckpt,1795049849.575,1.479,167.16274915035686,334.3254983007137,565760000,579338240000,64.79942255944432,200505
|
| 48 |
+
1107500,last,last.ckpt,1795051263.367,1.527,167.55546936359076,335.1109387271815,567040000,580648960000,64.94602758785936,200505
|
| 49 |
+
1110000,last,last.ckpt,1795052641.541,1.497,167.93829545659963,335.87659091319927,568320000,581959680000,65.0926326162744,200505
|
| 50 |
+
1112500,last,last.ckpt,1795054055.991,1.550,168.33119817102633,336.66239634205266,569600000,583270400000,65.23923764468942,200505
|
| 51 |
+
1115000,last,last.ckpt,1795055435.671,1.533,168.71444249500522,337.42888499001043,570880000,584581120000,65.38584267310446,200505
|
| 52 |
+
1117500,last,last.ckpt,1795056850.418,1.535,169.10742780057376,338.2148556011475,572160000,585891840000,65.53244770151949,200505
|
| 53 |
+
1120000,last,last.ckpt,1795058229.831,1.534,169.49059799169132,338.98119598338263,573440000,587202560000,65.67905272993453,200505
|
| 54 |
+
1122500,last,last.ckpt,1795059642.534,1.480,169.88301551222128,339.76603102444255,574720000,588513280000,65.82565775834956,200505
|
| 55 |
+
1125000,grid,step_1125000.ckpt,1795061022.186,1.492,170.26625237085798,340.53250474171597,576000000,589824000000,65.97226278676459,200505
|
| 56 |
+
1125000,last,last.ckpt,1795061023.748,1.556,170.2666861210885,340.533372242177,576000000,589824000000,65.97226278676459,200505
|
| 57 |
+
1127500,last,last.ckpt,1795062436.607,1.543,170.65914697349518,341.31829394699037,577280000,591134720000,66.11886781517963,200505
|
| 58 |
+
1130000,last,last.ckpt,1795063814.177,1.527,171.04180538775793,342.08361077551587,578560000,592445440000,66.26547284359465,200505
|
| 59 |
+
1132500,last,last.ckpt,1795065228.814,1.525,171.4347599395568,342.8695198791136,579840000,593756160000,66.41207787200969,200505
|
| 60 |
+
1135000,last,last.ckpt,1795066603.727,1.499,171.81668026368243,343.63336052736486,581120000,595066880000,66.55868290042471,200505
|
| 61 |
+
1137500,last,last.ckpt,1795068015.117,1.503,172.2087331469002,344.4174662938004,582400000,596377600000,66.70528792883975,200505
|
| 62 |
+
1140000,last,last.ckpt,1795069382.247,1.490,172.5884915891652,345.1769831783304,583680000,597688320000,66.85189295725479,200505
|
| 63 |
+
1142500,last,last.ckpt,1795070789.721,1.518,172.97945633592408,345.95891267184817,584960000,598999040000,66.99849798566981,200505
|
| 64 |
+
1145000,last,last.ckpt,1795072163.142,1.614,173.36096214831463,346.72192429662925,586240000,600309760000,67.14510301408485,200505
|
| 65 |
+
1147500,last,last.ckpt,1795073574.433,1.483,173.75298760165543,347.50597520331087,587520000,601620480000,67.29170804249988,200505
|
| 66 |
+
1150000,grid,step_1150000.ckpt,1795074947.744,1.444,174.13446291972127,348.26892583944255,588800000,602931200000,67.43831307091492,200505
|
| 67 |
+
1150000,last,last.ckpt,1795074949.228,1.472,174.13487498921154,348.2697499784231,588800000,602931200000,67.43831307091492,200505
|
| 68 |
+
1152500,last,last.ckpt,1795076358.182,1.516,174.52625107306994,349.0525021461399,590080000,604241920000,67.58491809932994,200505
|
| 69 |
+
1155000,last,last.ckpt,1795077733.447,1.537,174.90826936488796,349.8165387297759,591360000,605552640000,67.73152312774498,200505
|
| 70 |
+
1157500,last,last.ckpt,1795079143.844,1.458,175.3000460456749,350.6000920913498,592640000,606863360000,67.87812815616002,200505
|
| 71 |
+
1160000,last,last.ckpt,1795080519.455,1.521,175.68216026704215,351.3643205340843,593920000,608174080000,68.02473318457504,200505
|
| 72 |
+
1162500,last,last.ckpt,1795081930.824,1.582,176.07420725278018,352.14841450556037,595200000,609484800000,68.17133821299008,200505
|
| 73 |
+
1165000,last,last.ckpt,1795083305.613,1.487,176.4560931277599,352.9121862555198,596480000,610795520000,68.3179432414051,200505
|
| 74 |
+
1167500,last,last.ckpt,1795084715.632,1.435,176.84776495336212,353.69552990672423,597760000,612106240000,68.46454826982014,200505
|
| 75 |
+
1170000,last,last.ckpt,1795086090.074,1.596,177.22955437752353,354.45910875504705,599040000,613416960000,68.61115329823517,200505
|
| 76 |
+
1172500,last,last.ckpt,1795087500.790,1.494,177.62142004236404,355.2428400847281,600320000,614727680000,68.7577583266502,200505
|
| 77 |
+
1175000,grid,step_1175000.ckpt,1795088877.140,1.475,178.00373942158825,356.0074788431765,601600000,616038400000,68.90436335506524,200505
|
| 78 |
+
1175000,last,last.ckpt,1795088878.692,1.547,178.0041705468991,356.0083410937982,601600000,616038400000,68.90436335506524,200505
|
| 79 |
+
1177500,last,last.ckpt,1795090289.834,1.511,178.3961543707591,356.7923087415182,602880000,617349120000,69.05096838348027,200505
|
| 80 |
+
1180000,last,last.ckpt,1795091666.636,1.564,178.77859954647408,357.55719909294817,604160000,618659840000,69.1975734118953,200505
|
| 81 |
+
1182500,last,last.ckpt,1795093078.684,1.487,179.17083518275655,358.3416703655131,605440000,619970560000,69.34417844031033,200505
|
| 82 |
+
1185000,last,last.ckpt,1795094454.143,1.521,179.5529068701327,359.1058137402654,606720000,621281280000,69.49078346872537,200505
|
| 83 |
+
1187500,last,last.ckpt,1795095864.169,1.522,179.9445808719746,359.8891617439492,608000000,622592000000,69.6373884971404,200505
|
| 84 |
+
1190000,last,last.ckpt,1795097238.052,1.535,180.32621509197273,360.65243018394546,609280000,623902720000,69.78399352555543,200505
|
| 85 |
+
1192500,last,last.ckpt,1795098647.741,1.483,180.71779535826684,361.4355907165337,610560000,625213440000,69.93059855397047,200505
|
| 86 |
+
1195000,last,last.ckpt,1795100030.182,1.502,181.10180677020352,362.20361354040705,611840000,626524160000,70.0772035823855,200505
|
| 87 |
+
1197500,last,last.ckpt,1795101446.863,1.463,181.49532909874267,362.99065819748535,613120000,627834880000,70.22380861080053,200505
|
| 88 |
+
1200000,grid,step_1200000.ckpt,1795102829.545,1.476,181.87940767312602,363.75881534625205,614400000,629145600000,70.37041363921556,200505
|
| 89 |
+
1200000,last,last.ckpt,1795102831.098,1.547,181.87983901849242,363.75967803698484,614400000,629145600000,70.37041363921556,200505
|
| 90 |
+
1202500,last,last.ckpt,1795104248.635,1.502,182.2735992627049,364.5471985254098,615680000,630456320000,70.5170186676306,200505
|
| 91 |
+
1205000,last,last.ckpt,1795105632.101,1.471,182.6578954252963,365.3157908505926,616960000,631767040000,70.66362369604563,200505
|
| 92 |
+
1207500,last,last.ckpt,1795107048.499,1.476,183.05133924031682,366.10267848063364,618240000,633077760000,70.81022872446066,200505
|
| 93 |
+
1210000,last,last.ckpt,1795108418.353,1.093,183.43185436363493,366.86370872726985,619520000,634388480000,70.9568337528757,200505
|
| 94 |
+
1212500,last,last.ckpt,1795109801.898,1.129,183.81617227027826,367.6323445405565,620800000,635699200000,71.10343878129072,200505
|
| 95 |
+
1215000,last,last.ckpt,1795111150.607,1.091,184.19081368826602,368.38162737653204,622080000,637009920000,71.25004380970576,200505
|
| 96 |
+
1217500,last,last.ckpt,1795112534.130,1.151,184.57512573712435,369.1502514742487,623360000,638320640000,71.39664883812078,200505
|
| 97 |
+
1220000,last,last.ckpt,1795113886.336,1.104,184.95073852697186,369.9014770539437,624640000,639631360000,71.54325386653582,200505
|
| 98 |
+
1222500,last,last.ckpt,1795115269.302,1.111,185.33489573581738,370.66979147163477,625920000,640942080000,71.68985889495086,200505
|
| 99 |
+
1225000,grid,step_1225000.ckpt,1795116618.359,1.076,185.70963367026908,371.41926734053817,627200000,642252800000,71.83646392336588,200505
|
| 100 |
+
1225000,last,last.ckpt,1795116619.475,1.112,185.7099437865141,371.4198875730282,627200000,642252800000,71.83646392336588,200505
|
| 101 |
+
1227500,last,last.ckpt,1795118006.297,1.408,186.09517214527793,372.19034429055586,628480000,643563520000,71.98306895178092,200505
|
| 102 |
+
1230000,last,last.ckpt,1795119362.107,1.128,186.47178593565684,372.9435718713137,629760000,644874240000,72.12967398019595,200505
|
| 103 |
+
1232500,last,last.ckpt,1795120757.838,1.104,186.85948900045324,373.7189780009065,631040000,646184960000,72.27627900861098,200505
|
| 104 |
+
1235000,last,last.ckpt,1795122114.394,1.104,187.23631013649683,374.47262027299365,632320000,647495680000,72.42288403702602,200505
|
| 105 |
+
1237500,last,last.ckpt,1795123498.093,1.129,187.62067095096185,375.2413419019237,633600000,648806400000,72.56948906544105,200505
|
| 106 |
+
1240000,last,last.ckpt,1795124846.848,1.126,187.99532514889822,375.99065029779644,634880000,650117120000,72.71609409385609,200505
|
| 107 |
+
1242500,last,last.ckpt,1795126254.931,1.532,188.38645930609601,376.77291861219203,636160000,651427840000,72.86269912227111,200505
|
| 108 |
+
1245000,last,last.ckpt,1795127629.218,1.491,188.7682055175527,377.5364110351054,637440000,652738560000,73.00930415068615,200505
|
| 109 |
+
1247500,last,last.ckpt,1795129039.232,1.480,189.15987608520354,378.31975217040707,638720000,654049280000,73.15590917910117,200505
|
| 110 |
+
1250000,grid,step_1250000.ckpt,1795130421.839,1.466,189.54393379276598,379.08786758553197,640000000,655360000000,73.30251420751621,200505
|
| 111 |
+
1250000,last,last.ckpt,1795130423.427,1.568,189.54437487229103,379.08874974458206,640000000,655360000000,73.30251420751621,200505
|
| 112 |
+
1252500,last,last.ckpt,1795131841.479,1.507,189.93827815151548,379.87655630303095,641280000,656670720000,73.44911923593125,200505
|
| 113 |
+
1255000,last,last.ckpt,1795133221.113,1.472,190.32150971083016,380.6430194216603,642560000,657981440000,73.59572426434627,200505
|
| 114 |
+
1257500,last,last.ckpt,1795134636.599,1.551,190.71470040868908,381.42940081737817,643840000,659292160000,73.74232929276131,200505
|
| 115 |
+
1260000,last,last.ckpt,1795136017.421,1.485,191.0982620630588,382.1965241261176,645120000,660602880000,73.88893432117634,200505
|
| 116 |
+
1262500,last,last.ckpt,1795137435.904,1.507,191.49228508728686,382.9845701745737,646400000,661913600000,74.03553934959137,200505
|
| 117 |
+
1265000,last,last.ckpt,1795138816.665,1.458,191.87582987999713,383.75165975999425,647680000,663224320000,74.1821443780064,200505
|
| 118 |
+
1267500,last,last.ckpt,1795140232.894,1.475,192.2692265956199,384.5384531912398,648960000,664535040000,74.32874940642144,200505
|
| 119 |
+
1270000,last,last.ckpt,1795141614.563,1.493,192.6530237248313,385.3060474496626,650240000,665845760000,74.47535443483648,200505
|
| 120 |
+
1272500,last,last.ckpt,1795143031.575,1.505,193.04663801899574,386.0932760379915,651520000,667156480000,74.6219594632515,200505
|
| 121 |
+
1275000,grid,step_1275000.ckpt,1795144414.051,1.443,193.43065926812795,386.8613185362559,652800000,668467200000,74.76856449166654,200505
|
| 122 |
+
1275000,last,last.ckpt,1795144415.553,1.496,193.43107647135938,386.86215294271875,652800000,668467200000,74.76856449166654,200505
|
| 123 |
+
1277500,last,last.ckpt,1795145834.011,1.475,193.82509249983963,387.65018499967925,654080000,669777920000,74.91516952008156,200505
|
| 124 |
+
1280000,last,last.ckpt,1795147216.853,1.481,194.2092154002046,388.4184308004092,655360000,671088640000,75.0617745484966,200505
|
| 125 |
+
1282500,last,last.ckpt,1795148634.230,1.481,194.60293107413375,389.2058621482675,656640000,672399360000,75.20837957691164,200505
|
| 126 |
+
1285000,last,last.ckpt,1795150016.417,1.531,194.98687207672376,389.9737441534475,657920000,673710080000,75.35498460532666,200505
|
| 127 |
+
1287500,last,last.ckpt,1795151432.484,1.481,195.38022408205157,390.76044816410314,659200000,675020800000,75.5015896337417,200505
|
| 128 |
+
1290000,last,last.ckpt,1795152813.600,1.539,195.7638672333485,391.527734466697,660480000,676331520000,75.64819466215673,200505
|
| 129 |
+
1292500,last,last.ckpt,1795154231.453,1.492,196.15771546844658,392.31543093689316,661760000,677642240000,75.79479969057176,200505
|
| 130 |
+
1295000,last,last.ckpt,1795155612.852,1.562,196.54143729550933,393.08287459101865,663040000,678952960000,75.94140471898679,200505
|
| 131 |
+
1297500,last,last.ckpt,1795157030.990,1.462,196.93536463269322,393.87072926538644,664320000,680263680000,76.08800974740183,200505
|
| 132 |
+
1300000,grid,step_1300000.ckpt,1795158411.227,1.420,197.31876370614432,394.63752741228865,665600000,681574400000,76.23461477581687,200505
|
| 133 |
+
1300000,last,last.ckpt,1795158412.805,1.573,197.3192019938285,394.638403987657,665600000,681574400000,76.23461477581687,200505
|
| 134 |
+
1302500,last,last.ckpt,1795159829.675,1.518,197.7127770084135,395.425554016827,666880000,682885120000,76.38121980423189,200505
|
| 135 |
+
1305000,last,last.ckpt,1795161210.792,1.483,198.09642055942075,396.1928411188415,668160000,684195840000,76.52782483264693,200505
|
| 136 |
+
1307500,last,last.ckpt,1795162625.471,1.485,198.4893869117588,396.9787738235176,669440000,685506560000,76.67442986106195,200505
|
| 137 |
+
1309800,last,last.ckpt,1795163891.892,1.506,198.8411706110238,397.6823412220476,670617600,686712422400,76.80930648720378,200505
|
frac_1.00/checkpoints/last.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b725bd6309a2d714bcb8f4a2c85278cc123b646ae8c971a24b917c88be2d6c1
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1025000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:feeb91a544bc3c3fa1133bbd9af06ab98fd3642cbf975fd715701f912d01975c
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1050000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4960d66633d205a12b62f811cf1ffe0c544ad79be202337f7b88b41f7b51be9
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1075000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3059c3301aed89b5f2c1bf46295a788c2fad8ac1d9cbece1bc2e2a458c5be90
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1100000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe129bb5962bf8076bf6d96af8fc6058dadcb8a1c22f897d0ae2ef9961cb0a56
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1125000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1f6618a270223020d30fbd2723cba198e21c3da9da7381858725d3781a5b316
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1150000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9c392de8548de3336b232edc03fde42a0b2a1e685b180ee80f24df13ca1790a
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1175000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2f4468cd23b02b84b1b2abdbb2eaccdb221f0b527896d52fa3b59229cebed40
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1200000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dff352717f7fc0c0766b53ce3f5fede71f6bbf903ae8ee963b8a9078c079aaf6
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1225000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:445c32218ce0277cce6ce4cafc63f99712e2229d3c6c7559fc0d1ae16d49e16d
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1250000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a927302e221da776de84fe27448054bdb667aa4ab6b5198e2bbfa325f1d07096
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1275000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0139db89e073c7afd6c19bfc1fc50def32a7b387cbe2c6006cea929dd38c501b
|
| 3 |
+
size 542291321
|
frac_1.00/checkpoints/step_1300000.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f580514c522164685364694edc215c3f28fbf7c5138ffbe7150b2fb6cb165b7
|
| 3 |
+
size 542291321
|
frac_1.00/code_sha
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
7c9e7d04d4a4
|
frac_1.00/config_resolved.yaml
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mode: train
|
| 2 |
+
seed: 1
|
| 3 |
+
loader:
|
| 4 |
+
global_batch_size: 512
|
| 5 |
+
eval_global_batch_size: 128
|
| 6 |
+
batch_size: 64
|
| 7 |
+
eval_batch_size: 64
|
| 8 |
+
num_workers: 4
|
| 9 |
+
pin_memory: true
|
| 10 |
+
sampler: step_indexed
|
| 11 |
+
sampling:
|
| 12 |
+
predictor: ancestral
|
| 13 |
+
steps: 1000
|
| 14 |
+
noise_removal: ancestral
|
| 15 |
+
use_float64: true
|
| 16 |
+
p_nucleus: 1.0
|
| 17 |
+
num_sample_batches: 0
|
| 18 |
+
num_sample_log: 2
|
| 19 |
+
semi_ar: false
|
| 20 |
+
stride_length: 1
|
| 21 |
+
num_strides: 1
|
| 22 |
+
guid_weight: null
|
| 23 |
+
psi:
|
| 24 |
+
time_profile: linear
|
| 25 |
+
high_mode: pure-posterior
|
| 26 |
+
middle_mode: pure-posterior
|
| 27 |
+
low_mode: pure-posterior
|
| 28 |
+
high_frac: 0.2
|
| 29 |
+
middle_frac: 0.6
|
| 30 |
+
training:
|
| 31 |
+
ema: 0.9999
|
| 32 |
+
antithetic_sampling: true
|
| 33 |
+
importance_sampling: false
|
| 34 |
+
sampling_eps: 0.001
|
| 35 |
+
change_of_variables: false
|
| 36 |
+
loss_precision: bf16
|
| 37 |
+
finetune_path: ''
|
| 38 |
+
class_dropout_p: 0.1
|
| 39 |
+
eval:
|
| 40 |
+
checkpoint_path: ''
|
| 41 |
+
disable_ema: false
|
| 42 |
+
compute_generative_perplexity: false
|
| 43 |
+
perplexity_batch_size: 8
|
| 44 |
+
compute_perplexity_on_sanity: false
|
| 45 |
+
gen_ppl_eval_model_name_or_path: gpt2-large
|
| 46 |
+
generate_samples: false
|
| 47 |
+
generated_samples_path: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_1.00/samples.json
|
| 48 |
+
optim:
|
| 49 |
+
weight_decay: 0
|
| 50 |
+
lr: 0.0003
|
| 51 |
+
beta1: 0.9
|
| 52 |
+
beta2: 0.999
|
| 53 |
+
eps: 1.0e-08
|
| 54 |
+
trainer:
|
| 55 |
+
_target_: lightning.Trainer
|
| 56 |
+
accelerator: cuda
|
| 57 |
+
num_nodes: 1
|
| 58 |
+
devices: 2
|
| 59 |
+
accumulate_grad_batches: 4
|
| 60 |
+
gradient_clip_val: 1.0
|
| 61 |
+
precision: bf16
|
| 62 |
+
num_sanity_val_steps: 2
|
| 63 |
+
max_steps: 2000000
|
| 64 |
+
log_every_n_steps: 100
|
| 65 |
+
limit_train_batches: 1.0
|
| 66 |
+
limit_val_batches: 1.0
|
| 67 |
+
val_check_interval: 20000
|
| 68 |
+
check_val_every_n_epoch: null
|
| 69 |
+
enable_checkpointing: false
|
| 70 |
+
enable_progress_bar: false
|
| 71 |
+
wandb: null
|
| 72 |
+
checkpointing:
|
| 73 |
+
save_dir: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_1.00
|
| 74 |
+
resume_from_ckpt: true
|
| 75 |
+
resume_ckpt_path: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_1.00/checkpoints/last.ckpt
|
| 76 |
+
callbacks:
|
| 77 |
+
training_clock:
|
| 78 |
+
_target_: scaling_callbacks.TrainingClock
|
| 79 |
+
run_dir: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_1.00
|
| 80 |
+
global_batch_size: 512
|
| 81 |
+
seq_len: 1024
|
| 82 |
+
max_steps: 2000000
|
| 83 |
+
log_every_n_steps: 100
|
| 84 |
+
print_every_n_steps: 500
|
| 85 |
+
norm_monitor:
|
| 86 |
+
_target_: scaling_callbacks.NormMonitor
|
| 87 |
+
dirpath: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_1.00/norms
|
| 88 |
+
every_n_steps: 500
|
| 89 |
+
max_steps: 2000000
|
| 90 |
+
grid_every: 25000
|
| 91 |
+
grid_early:
|
| 92 |
+
- 100
|
| 93 |
+
- 200
|
| 94 |
+
- 400
|
| 95 |
+
- 700
|
| 96 |
+
- 1000
|
| 97 |
+
- 1500
|
| 98 |
+
- 2500
|
| 99 |
+
- 4000
|
| 100 |
+
- 6000
|
| 101 |
+
- 10000
|
| 102 |
+
- 15000
|
| 103 |
+
- 20000
|
| 104 |
+
scaling_checkpoint:
|
| 105 |
+
_target_: scaling_callbacks.ScalingCheckpoint
|
| 106 |
+
dirpath: /mnt/home/phamd/dm_scaling_law_runs/duo_base_2M/tiny/frac_1.00/checkpoints
|
| 107 |
+
max_steps: 2000000
|
| 108 |
+
grid_every: 25000
|
| 109 |
+
grid_early:
|
| 110 |
+
- 100
|
| 111 |
+
- 200
|
| 112 |
+
- 400
|
| 113 |
+
- 700
|
| 114 |
+
- 1000
|
| 115 |
+
- 1500
|
| 116 |
+
- 2500
|
| 117 |
+
- 4000
|
| 118 |
+
- 6000
|
| 119 |
+
- 10000
|
| 120 |
+
- 15000
|
| 121 |
+
- 20000
|
| 122 |
+
rolling_every: 2500
|
| 123 |
+
walltime_margin_s: 1200
|
| 124 |
+
learning_rate_monitor:
|
| 125 |
+
_target_: lightning.pytorch.callbacks.LearningRateMonitor
|
| 126 |
+
logging_interval: step
|
| 127 |
+
data:
|
| 128 |
+
train: openwebtext-train
|
| 129 |
+
valid: openwebtext-valid
|
| 130 |
+
modality: text
|
| 131 |
+
tokenizer_name_or_path: gpt2
|
| 132 |
+
cache_dir: /mnt/home/phamd/dm_scaling_law_data/text_data
|
| 133 |
+
wrap: true
|
| 134 |
+
streaming: false
|
| 135 |
+
insert_train_eos: true
|
| 136 |
+
insert_valid_eos: true
|
| 137 |
+
train_fraction: 1.0
|
| 138 |
+
subset_seed: 20250927
|
| 139 |
+
subset_perm_path: /mnt/home/phamd/dm_scaling_law_data/subsets/owt_train_perm_s20250927.npy
|
| 140 |
+
subset_perm_sha256: null
|
| 141 |
+
subset_tokens_path: /mnt/home/phamd/dm_scaling_law_data/subsets/owt_train_perm_s20250927_input_ids.npy
|
| 142 |
+
order_seed: 1
|
| 143 |
+
model:
|
| 144 |
+
name: tiny
|
| 145 |
+
type: ddit
|
| 146 |
+
hidden_size: 256
|
| 147 |
+
cond_dim: 128
|
| 148 |
+
length: 1024
|
| 149 |
+
n_blocks: 8
|
| 150 |
+
n_heads: 8
|
| 151 |
+
scale_by_sigma: true
|
| 152 |
+
dropout: 0.1
|
| 153 |
+
tie_word_embeddings: false
|
| 154 |
+
vocab_lookup: true
|
| 155 |
+
strategy:
|
| 156 |
+
_target_: lightning.pytorch.strategies.DDPStrategy
|
| 157 |
+
find_unused_parameters: false
|
| 158 |
+
noise:
|
| 159 |
+
type: log-linear
|
| 160 |
+
eps: 0.001
|
| 161 |
+
lr_scheduler:
|
| 162 |
+
_target_: transformers.get_constant_schedule_with_warmup
|
| 163 |
+
num_warmup_steps: 2500
|
| 164 |
+
prior:
|
| 165 |
+
type: none
|
| 166 |
+
latent_width: 0
|
| 167 |
+
latent_height: 0
|
| 168 |
+
algo:
|
| 169 |
+
name: duo_base
|
| 170 |
+
backbone: dit
|
| 171 |
+
parameterization: mean
|
| 172 |
+
time_conditioning: true
|
| 173 |
+
T: 0
|
| 174 |
+
subs_masking: false
|
| 175 |
+
causal_attention: false
|
| 176 |
+
ignore_bos: false
|
| 177 |
+
loss_type: elbo
|
| 178 |
+
compile_loss: true
|
| 179 |
+
scaling:
|
| 180 |
+
val_every_steps: 5000
|
| 181 |
+
rolling_every: 2500
|
| 182 |
+
reseed_every: 1
|
| 183 |
+
grid_every: 25000
|
| 184 |
+
grid_early:
|
| 185 |
+
- 100
|
| 186 |
+
- 200
|
| 187 |
+
- 400
|
| 188 |
+
- 700
|
| 189 |
+
- 1000
|
| 190 |
+
- 1500
|
| 191 |
+
- 2500
|
| 192 |
+
- 4000
|
| 193 |
+
- 6000
|
| 194 |
+
- 10000
|
| 195 |
+
- 15000
|
| 196 |
+
- 20000
|
| 197 |
+
norm_every: 500
|
| 198 |
+
val_noise_seed: 4242
|
| 199 |
+
walltime_margin_s: 1200
|
| 200 |
+
scaling_wandb:
|
| 201 |
+
project: duo-scaling-tiny
|
| 202 |
+
group: tiny
|
| 203 |
+
name: duo_base-tiny-f1.0-s1
|
| 204 |
+
id: duobase2M-tiny-f100-s1
|
frac_1.00/metrics/version_0/metrics.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
frac_1.00/norms/norms_ema.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
frac_1.00/norms/norms_raw.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
frac_1.00/run_info.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"subset": {
|
| 3 |
+
"train_fraction": 1.0,
|
| 4 |
+
"n_blocks": 8730942,
|
| 5 |
+
"n_total": 8730942,
|
| 6 |
+
"perm_path": "/mnt/home/phamd/dm_scaling_law_data/subsets/owt_train_perm_s20250927.npy",
|
| 7 |
+
"perm_sha256": "fa545515efbfdd07138abceebb2671be60b5047431da2f50fd58a8bb986d05a7",
|
| 8 |
+
"subset_seed": 20250927,
|
| 9 |
+
"steps_per_epoch": 17052
|
| 10 |
+
},
|
| 11 |
+
"model": "tiny",
|
| 12 |
+
"algo": "duo_base",
|
| 13 |
+
"seed": 1,
|
| 14 |
+
"order_seed": 1,
|
| 15 |
+
"global_batch_size": 512,
|
| 16 |
+
"max_steps": 2000000,
|
| 17 |
+
"num_parameters": 33789010,
|
| 18 |
+
"batch_size": 64,
|
| 19 |
+
"accumulate_grad_batches": 4,
|
| 20 |
+
"world_size": 2,
|
| 21 |
+
"gpu": "NVIDIA H100 80GB HBM3",
|
| 22 |
+
"code_sha": "7c9e7d04d4a4",
|
| 23 |
+
"code_dir": "/mnt/home/phamd/dm_scaling_law_runs/code/7c9e7d04d4a4"
|
| 24 |
+
}
|
frac_1.00/segments.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"event": "job_start", "unix_time": 1794992304, "job_id": "200505", "restart": 0, "node": "alphagpu05"}
|
| 2 |
+
{"event": "start", "unix_time": 1794992436.7459023, "step": 1000000, "train_hours": 151.21474113961713, "job_id": "200505", "node": "alphagpu05", "world_size": 2, "gpu": "NVIDIA H100 80GB HBM3"}
|
| 3 |
+
{"event": "end", "unix_time": 1795163891.9023283, "step": 1309800, "train_hours": 198.8411734881749, "job_id": "200505"}
|
subsets/owt_train_perm_s20250927.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n_total": 8730942,
|
| 3 |
+
"seed": 20250927,
|
| 4 |
+
"generator": "numpy.random.default_rng(seed).permutation",
|
| 5 |
+
"numpy_version": "1.26.4",
|
| 6 |
+
"sha256": "fa545515efbfdd07138abceebb2671be60b5047431da2f50fd58a8bb986d05a7",
|
| 7 |
+
"train_dat": "/mnt/home/phamd/dm_scaling_law_data/text_data/openwebtext-train_train_bs1024_wrapped.dat",
|
| 8 |
+
"train_fingerprint": "a03e09556a61359f"
|
| 9 |
+
}
|
subsets/owt_train_perm_s20250927.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa545515efbfdd07138abceebb2671be60b5047431da2f50fd58a8bb986d05a7
|
| 3 |
+
size 69847664
|