use case · basics · greedy vs top-k/top-p sampling & few-shot priming ablation · q8 WASM · 366.64 MB
Inside SmolLM2-360M Base: Sampling & Few-Shot Priming
Compare deterministic Greedy decoding against Focused
(T=0.4, top_k=40) and Creative (T=1.0, top_k=60) sampling on the
same base prefix, then ablate raw zero-shot chat instructions against
few-shot exemplar prefixes to see how format delimiters reshape the 49,152-vocab distribution.
1 · SmolLM2-360M worker (366.64 MB q8 WASM · Apache-2.0)
2 · Greedy vs Top-K / Top-P Sampling Ablation
Prepare SmolLM2-360M above to compare greedy vs stochastic top-k/top-p sampling live.
Greedy (do_sample=false)
—
Focused (T=0.4 · K=40)
—
Creative (T=1.0 · K=60)
—
3 · Zero-Shot Chat Instruction vs Few-Shot Exemplar Prefix Ablation
Without instruction tuning, bare requests invite document drift. Compare Arm A (bare instruction) against Arm B (delimited few-shot exemplars) and inspect how the first predicted token probability shifts.
Ready to ablate zero-shot vs few-shot priming once the model loads.