Basics · zero-shot-image-classification · WebGPU q4f16 165.0 MB / CPU WASM int8 207.5 MB · Transformers.js 4.3.2

Sigmoid vs softmax calibration & compositional attribute probes

One forward pass, two ways to read it. SigLIP was trained with an independent sigmoid per (image, text) pair; Marqo's card ranks with a temperature softmax. Move the sliders to see that calibration changes confidence, never the cosine ranking — then split the garment into material, colour and silhouette with per-axis probes.

Garment under test

Loading starter apparel scene…

Compositional attribute probes (independent per-axis softmax)

Waiting for the first forward pass…

Material, colour and silhouette bars appear after inference.

Calibration sweeps on the same cosines

Temperature sweep appears after inference.

Bias sweep appears after inference.

Show the code — Temperature sweep over fixed cosines (temperatureSweep)
Show the code — Independent per-axis attribute softmax (scoreAttributeGroups)