Sohaib Arif — AI Safety Research

Notes on AI safety for local & embedded models

Interactive graph showing temperature, top_k and top_p

Interactive sampling explainer showing how temperature, top_k, and top_p reshape and truncate a next-token probability distribution.

temperature1.0
top_k8
top_p0.95
survives → can be sampled trimmed away

interactive

← All posts