Visual Clustering β†’ Zero-Shot Naming (111.73 MB Total) Stage 1: ViT-Base IN21k (87.45 MB WASM q8) Stage 2: TinyCLIP ViT-8M/16 (24.28 MB WASM q8) Apache-2.0 + MIT

2-Stage Unlabeled Visual Concept Clustering β†’ Zero-Shot Naming

Chain Stage 1: ViT-Base IN21k (87.45 MB q8 WASM, 768-d representations without a 1k head) with Stage 2: TinyCLIP ViT-8M/16 (24.28 MB q8 WASM, reusing tinyclip-vit-8m-16-text-3m-yfcc15m/worker.js) in 111.73 MB total. Stage 1 groups photos into visual similarity clusters; Stage 2 names every discovered cluster zero-shot from your candidate concepts.

1. Independent Stage Loaders (111.73 MB Total)

Stage 1 Β· ViT-Base Patch16-224 IN21k (87.45 MB WASM q8)

Not initialised β€” uses ../worker.js (Apache-2.0).

Stage 2 Β· TinyCLIP ViT-8M/16 (24.28 MB WASM q8)

Not initialised β€” reuses ../../tinyclip-vit-8m-16-text-3m-yfcc15m/worker.js (MIT).

2. Cluster Photos with ViT-IN21k & Label Clusters with TinyCLIP

Drop multiple photos here or paste from clipboard (Ctrl/⌘+V). Adjust the similarity threshold or candidate concepts to re-cluster or re-name live.

Initialising Stage 1 (ViT-Base IN21k) & Stage 2 (TinyCLIP ViT-8M/16) loaders…

Stage 1 ViT-21k–
Stage 2 TinyCLIP–
Indexed Photos0 / 8
Discovered Clusters–
Named Clusters–
Combined NaN Count–

Discovered Visual Clusters & Zero-Shot Concept Names

Run Stage 1 to form clusters, then Stage 2 to name each cluster.

Per-Photo Zero-Shot Concept Scores

Click any thumbnail above to inspect its dynamic Stage 2 concept distribution.

Show the code

Show the code β€” vit21k-core.mjs: labelClustersFromZeroShot() (aggregating dynamic res.classNames across clusters)