Dashboard
① Clinical Note Tokens
Click a token to see its attention pattern:
Attention Heads
4
parallel attention heads
Temperature (1/sharpness)
1.0
low = sharp focus · high = diffuse
② Attention Formula
score(i,j) = Qᵢ·Kⱼ / √d_k
α(i,j) = exp(score/T) / Σ
output_i = Σⱼ α(i,j)·Vⱼ
d_k = embed_dim / num_heads
Query token:
—
Max attention to:
—
Attn entropy:
—
bits
⟳ New Weights
Show All Rows
③ Diagnostic Output
Clinical Assessment
Sepsis Risk
—
Confidence
—
Active Heads
—
Attn Params
—
d_k / Head
④ Attention Heatmap — row = query token · column = key token · brightness = attention weight · highlighted row = selected token