sampling
Applied AI interview questions tagged sampling, across every topic.
10 questions · 1 unlocked for you
Concepts behind "sampling"
The curriculum that explains the ideas these questions test.
Core
Temperature and SamplingAt each step a model outputs a probability distribution over the next token; how you pick from it is decoding. Temperature reshapes the distribution (low sharpens toward the most likely token, high flattens it), while top-k and top-p (nucleus) truncate the tail before sampling. The choice sets the trade-off between deterministic, focused output and diverse, creative output. Applied-AI interviews probe it because the right decoding settings differ sharply between factual/extraction tasks and creative ones, and because reproducibility depends on them.🧠 Foundations of LLMs & GenAISign in
Core
CLT, Sampling, and Confidence IntervalsThe central limit theorem says the mean of a sample is approximately normal regardless of the underlying distribution, which is why so much inference uses the normal curve. Standard error measures how much a sample mean wobbles and shrinks with sample size, unlike standard deviation. Applied-AI interviews probe this because it sets how wide a confidence interval is and therefore how long an A/B test must run.📊 Evaluation & ML FoundationsSign in
