CHL0e commited on
Commit
e56b073
·
verified ·
1 Parent(s): 9ac856a

add model card (compute-node probe)

Browse files
Files changed (1) hide show
  1. README.md +118 -0
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - unified-embedding-field
5
+ - text-to-image
6
+ - scaling-laws
7
+ - research-checkpoints
8
+ library_name: pytorch
9
+ ---
10
+
11
+ # UEF scaling curve — campaign A2 (d12 / d15 / d28)
12
+
13
+ Trunk-size scaling rungs for a **unified embedding field** trained jointly over
14
+ *frozen* understanding representations (SigLIP2 `so400m-patch14-224` image
15
+ states + `flan-t5-small` text states). Every rung is the same recipe at the same
16
+ data and batch — **only the trunk width/depth changes**.
17
+
18
+ These are **research checkpoints**, not a product release. Nothing here is
19
+ adjudicated: the numbers below are logged validation losses, not a verdict on
20
+ the shape of the scaling curve.
21
+
22
+ ## Rungs
23
+
24
+ | rung | hidden | depth_double | heads | trainable params | steps released |
25
+ |---|---|---|---|---|---|
26
+ | `d12` | 768 | 10 | 12 | 178,573,312 | 10k · 20k · 25k · 40k · 45k · 50k · best_val |
27
+ | `d15` | 960 | 13 | 15 | 334,866,688 | 10k · 20k · 25k · 40k · 45k · 50k |
28
+ | `d28` | 1792 | 26 | 28 | 2,121,404,416 | 10k · 15k · 20k · 25k |
29
+
30
+ All rungs share `text_preamble_depth: 2`, `head_dim: 64`, `patch_size: 14`,
31
+ `pca_channels: 128`, `time_cond: in_context`, `time_tokens: 4`.
32
+
33
+ ## Shared recipe (identical across rungs)
34
+
35
+ - global batch **4096**, lr **4e-4**, 25k steps then extended to 50k
36
+ - bf16 autocast, fp32 master weights + fp32 AdamW moments, fused AdamW
37
+ - dual EMA (slow + fast), both kept fp32
38
+ - union pretrain pool 38.4M pairs, text window 128, `wds_shard_seed` 4242
39
+ - 4 nodes x 4 H200, world size 16
40
+
41
+ ## Validation loss (logged, final step of each segment)
42
+
43
+ | rung | step | long | short | jdb | img_t2i (long) |
44
+ |---|---|---|---|---|---|
45
+ | d12 | 25,000 | 0.6827 | 0.6681 | 0.6059 | 0.5852 |
46
+ | d12 | 50,000 | 0.6680 | 0.6539 | 0.5968 | 0.5729 |
47
+ | d15 | 25,000 | 0.6263 | 0.6125 | 0.5708 | 0.5339 |
48
+ | d15 | 50,000 | 0.6090 | 0.5951 | 0.5609 | 0.5198 |
49
+ | d28 | 25,000 | 0.5559 | 0.5443 | 0.5513 | 0.5446 |
50
+
51
+ ## Provenance
52
+
53
+ Each rung's 0→25k segment and its 25k→50k continuation are separate Slurm jobs;
54
+ the continuation auto-resumes from `checkpoint_025000.pt`.
55
+
56
+ | rung | segment | run id | slurm job | commit |
57
+ |---|---|---|---|---|
58
+ | d12 | 0→25k | `20260818-190255-a2-d12` | 40149805 | `d124497` |
59
+ | d12 | 25k→50k | `20260821-032904-a2ext-d12` | 40509242 | `fba6fa4` |
60
+ | d15 | 0→25k | `20260819-065052-a2-d15` | 40149806 | `1bd9777` |
61
+ | d15 | 25k→50k | `20260821-152650-a2ext-d15` | 40509287 | `fba6fa4` |
62
+ | d28 | 0→25k | `20260819-183555-a2-d28` | 40149811 | `1bd9777` |
63
+
64
+ Every file additionally carries its own `identity` block (experiment id, segment
65
+ id, parent segment id, config/dataset identity sha256, world size, global batch)
66
+ and an `export_provenance` block naming the exact source checkpoint it came from.
67
+
68
+ ## Contents of a checkpoint
69
+
70
+ Weights-only export — the optimizer state and RNG state have been stripped, so
71
+ these load for evaluation but are **not resumable**.
72
+
73
+ ```python
74
+ import torch
75
+ ck = torch.load("d15/checkpoint_050000.pt", map_location="cpu", weights_only=False)
76
+
77
+ ck["model"] # raw trained weights (fp32)
78
+ ck["ema"] # slow EMA (fp32)
79
+ ck["ema_fast"] # fast EMA (fp32)
80
+ ck["config"] # full training config
81
+ ck["identity"] # run provenance
82
+ ck["representation_manifest"] # frozen repr specs + schedules
83
+ ck["step"], ck["best_val_loss"], ck["export_provenance"]
84
+ ```
85
+
86
+ Tensors are **bitwise identical** to the training checkpoints they were cut
87
+ from; the export only drops keys, it does not cast or repack.
88
+
89
+ `d12/best_val.pt` is that run's lowest-validation checkpoint, step 47,000 —
90
+ a genuinely different point from its step-50,000 checkpoint.
91
+
92
+ **d15 has no `best_val.pt`.** Its best-validation step *was* 50,000, and the
93
+ file was verified bitwise identical to `d15/checkpoint_050000.pt`, so the
94
+ duplicate 4.02 GB of weights is not published. The validation numbers it
95
+ carried are preserved in `d15/best_val_metrics.json`.
96
+
97
+ ## Caveats — read before using these in a comparison
98
+
99
+ 1. **Single seed.** One run per rung. No seed repeats, so rung-to-rung gaps
100
+ carry no error bars.
101
+ 2. **d28 is incomplete.** Its 25k→50k continuation was still running when this
102
+ was published; only the 0→25k segment is here. `d28/checkpoint_015000.pt` is
103
+ a rolling checkpoint that the live job would otherwise have deleted.
104
+ 3. **Segmented continuation.** Resuming reseeds a fresh global data
105
+ permutation, so the ≥25k segment is not sample-order-aligned with a
106
+ hypothetical single 50k run.
107
+ 4. **JourneyDB pool repack.** The `jdb` shards are repacked copies with 14 bad
108
+ image members and their 14 text partners dropped (28 members total);
109
+ the jdb manifest count is 4,197,986. Composition-identity against the other
110
+ site's copy of the pool was not closed.
111
+ 5. **`d24` is absent** — that rung had not produced a usable checkpoint.
112
+ 6. Validation losses above are read from the run logs, are computed on small
113
+ val batches, and are the training-time metric only. No FID / GenEval / DPG
114
+ numbers are attached to these rungs.
115
+
116
+ ## Configs
117
+
118
+ `configs/f25k_scale_d{12,15,28}.yml` are the exact configs used, verbatim.