Any-to-Any
Bagel
Safetensors
bagel
HuggingSelf commited on
Commit
a9e3126
·
verified ·
1 Parent(s): 65c7f93

Add Unified-Bench old protocol bundle: unified_bench_old_protocol_0p8346/README.md

Browse files
unified_bench_old_protocol_0p8346/README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Unified-Bench old protocol reproduction bundle
2
+
3
+ This folder contains the assets used to reproduce the historical raw BAGEL
4
+ Unified-Bench score `0.8345940754981711` under the old TorchUMM protocol.
5
+
6
+ HF path prefix:
7
+
8
+ ```text
9
+ HuggingSelf/test0519/unified_bench_old_protocol_0p8346
10
+ ```
11
+
12
+ ## Contents
13
+
14
+ - `inputs/unified_bench/Image/`: the 100 Unified-Bench reference input images.
15
+ - `outputs/raw_bagel/images/`: raw BAGEL round-trip generated images.
16
+ - `outputs/raw_bagel/captions.jsonl`: image-to-text captions produced by raw BAGEL.
17
+ - `outputs/raw_bagel/summary.json`: original old-protocol score JSON.
18
+ - `scorers/dinov3-vitl16_old_protocol/`: the old DINOv3 scorer checkpoint used by the historical run.
19
+ - `configs/unified_bench_bagel.yaml`: old TorchUMM Unified-Bench config.
20
+ - `scripts/reproduce_apr4_unified_bagel_score.py`: Modal-side reproduction helper used to verify the score.
21
+ - `scripts/run_scoring.py` and `scripts/scorers/`: scoring code snapshot from TorchUMM.
22
+ - `manifest.json`: hashes, counts, paths, and expected scores.
23
+
24
+ ## Expected Score
25
+
26
+ | scorer | average |
27
+ | --- | ---: |
28
+ | CLIP | 0.894650644659996 |
29
+ | DINOv2 | 0.787667881194502 |
30
+ | DINOv3 old protocol | 0.723970373794436 |
31
+ | LongCLIP | 0.932087402343750 |
32
+ | Overall | 0.834594075498171 |
33
+
34
+ Overall is the mean of the four scorer averages.
35
+
36
+ ## DINOv3
37
+
38
+ Old-protocol DINOv3 file:
39
+
40
+ ```text
41
+ scorers/dinov3-vitl16_old_protocol/model.safetensors
42
+ ```
43
+
44
+ Expected SHA256:
45
+
46
+ ```text
47
+ dcb2e45127cccbf1601e5f42fef165eea275c8e5213197e8dcf3f48822718179
48
+ ```
49
+
50
+ The newer cached DINOv3 weight we tested separately produced very high
51
+ reference-to-reference similarity and should not be mixed with this old
52
+ protocol score.
53
+
54
+ ## Reproduction Notes
55
+
56
+ The historical run was verified on Modal workspace `aifrontierwm` using:
57
+
58
+ ```text
59
+ ref_dir = /datasets/unified_bench/Image
60
+ gen_dir = /output-apr4/unified_bench/bagel/images
61
+ ```
62
+
63
+ Scoring model paths:
64
+
65
+ ```text
66
+ clip = /model_cache/unified_bench/clip-vit-large-patch14
67
+ dinov2 = /model_cache/unified_bench/dinov2-large
68
+ dinov3 = /model_cache/unified_bench/dinov3-vitl16
69
+ longclip = /model_cache/unified_bench/longclip-L.pt
70
+ ```
71
+
72
+ The bundle includes the old DINOv3 directory because this is the piece that made
73
+ the old protocol reproducible. CLIP, DINOv2, and LongCLIP are public/downloadable
74
+ from the sources listed in `manifest.json`.
75
+
76
+ ## Minimal Download Example
77
+
78
+ ```python
79
+ from huggingface_hub import snapshot_download
80
+
81
+ root = snapshot_download(
82
+ repo_id="HuggingSelf/test0519",
83
+ repo_type="model",
84
+ allow_patterns=["unified_bench_old_protocol_0p8346/**"],
85
+ )
86
+ print(root)
87
+ ```
88
+
89
+ After downloading, point TorchUMM's Unified-Bench scorer at:
90
+
91
+ ```text
92
+ ref_dir: <download_root>/unified_bench_old_protocol_0p8346/inputs/unified_bench/Image
93
+ out_dir: <download_root>/unified_bench_old_protocol_0p8346/outputs/raw_bagel
94
+ dinov3: <download_root>/unified_bench_old_protocol_0p8346/scorers/dinov3-vitl16_old_protocol
95
+ ```