Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Codebooks — canonical store

All k-means codebooks live here, organized by what they are, not which experiment built them: codebooks/<dataset>/<encoder+feature>_<geometry>[_<build-variant>]/<prop>_img<S>_k<K>.pt. The old per-task locations under dumps/ are symlinks into this tree (moved 2026-08-27), so historical scripts keep working; new scripts should reference these paths directly.

Canonical sets (what the current method uses)

dataset dir contents role
iPAD ipad/dinov2abs_euc/ 16 props, DINOv2 ViT-S/14 abs tokens, img224, K8192 (+512/1024/4096 for r01/r04/s01) the board abs-abs codebooks
PhysAD physad/dinov2abs_euc/ 22 subsets, DINOv2 ViT-S/14, img448, K512+K8192 the PhysAD abs-abs codebooks (0.979 result)

Abs codebooks are window-independent, and since 2026-08-27 _validate_cross_codebook_meta skips the num_frames/context_length checks for abs-kind artifacts — reuse them across window shapes directly. (The historical *_metarelaxed.pt meta-nulled copies under dumps/t034m_window/codebooks/ predate that fix and are task debris, not a set.) Only real, buildable sets live in this tree; task-specific shims stay in the task's dump dir.

Other sets

dir contents
ipad/dinov2abs_cos/, ipad/dinov3abs_{euc,cos}/ geometry / DINOv3 screens
ipad/vjepa21tub_euc/ V-JEPA2.1 patch-embed tubelet, img224; mixed sklearn + cuVS-sampled builds (_cuvs/_cuvsFULL filename suffixes)
ipad/vjepa21tub_euc_cuvsFULL/ tubelet, cuVS full-pool k-means (incl. fs8/) — the t034a set
ipad/vjepa21tub_euc_fullpool/, ipad/vjepa21tub_legacy_t033/ small legacy sets
physad/vjepa21tub_euc/ tubelet img448 K512, nf6c4fs4st2-named (t034 canonical arm)
physad/vjepa21tub_euc_cuvsFULL/, physad/vjepa21tub_euc_early/ cuVS rebuild / earlier build of the same
physad/vjepa21tub_probes/ one-off geometry/ctxref probe artifacts

Building

One builder for everything: scripts/analysis/ipad/build_shallow_tubelet_codebook.py (sgad-ipad repo) — --timm-model <timm id> for DINO abs features, --variant for the V-JEPA tubelet; --fast-extract --gpu-kmeans --stream-kmeans is the standard invocation (see scripts/sweeps/ipad/t034c_absabs_codebooks.sh for a worked example). Do not use the legacy scripts/data/ipad/build_codebook.py (sklearn MiniBatchKMeans degenerates at large K). Each .pt stores centroids + a meta dict with full build provenance (encoder, window, K, geometry, data version).

Sharing

Public mirror: https://huggingface.co/datasets/sgad-iclr/sgad-codebooks — the canonical sets (ipad/dinov2abs_euc, physad/dinov2abs_euc, ipad/vjepa21tub_euc_cuvsFULL, physad/vjepa21tub_euc) plus this README, same layout. Screens / legacy / probe sets stay local-only. Download (no token or account needed) to bulk storage — codebook paths are passed explicitly (config/CLI), so the tree can live anywhere, just not inside the repo / a quota'd home:

uvx hf download sgad-iclr/sgad-codebooks --repo-type dataset --local-dir /path/on/bulk/storage/codebooks

After adding or rebuilding a canonical set, re-sync it (and this README) to the mirror:

hf upload sgad-iclr/sgad-codebooks <local-dir> <same-relative-path> --repo-type dataset

On this node, $SCRATCH top level is traversal-only for others; directories in this tree are o+rx, so any file here is readable by exact path or by listing from codebooks/ down.

Downloads last month
36