1 Β· Model, image & candidate concepts
Running the lab computes the unoccluded 224Γ224 baseline logits (for calibration and patch ablation) plus a 6-template prompt sensitivity sweep.
Loading starter photoβ¦
2 Β· 7Γ7 = 49 ViT-B/32 coarse-patch grid & occlusion
Click any cell on the 224Γ224 grid or pick Row/Column (0β6) below to inspect its exact
32Γ32 px patch coordinates and vision token index (#1..#49 after
[CLS] #0), then run real inference with that 32Γ32 patch occluded.
| Patch | Vision token | Pixel bounds | Top-1 after occlusion | Target % | Target logit Ξ | Latency |
|---|---|---|---|---|---|---|
| Click "Occlude selected 32Γ32 patch" or "Probe 5 key patches" after loading the model. | ||||||
Show the code β renderPatchGridCanvas() 7Γ7=49 ViT-B/32 patch grid & occlusion
3 Β· Prompt-template sensitivity sweep
Tests your candidate concepts across 6 prompt templates sequentially off the main thread. Compare consensus agreement, top-1 margin, and cosine alignment.
| Template | Top-1 | Top-1 % | Margin vs #2 | Top cosine | Entropy (bits) | Latency |
|---|---|---|---|---|---|---|
| Load CLIP ViT-B/32 LAION-2B above to run the 6-template sweep. | ||||||
Show the code β comparePromptTemplateRuns() template sensitivity aggregator
4 Β· Temperature-scaled softmax calibration lab
Rescales the real raw logits_per_image vector from the baseline run by
1 / Ο before softmax: low temperature (Ο < 1) sharpens top-1
confidence, while higher temperature (Ο > 1) softens probability mass and
raises Shannon entropy H(p).