Prof by Lex AI Labs — home
Profby Lex AI
EARLY ACCESS

Shipping daily.

Last shippedMAY 20

New curriculum map — see how all 7 courses build on each other, search any lesson with /.

View what’s new→
COMING NEXT
  • Adaptive quizzes
  • Tutor v2.0
  • More company interview guides
  • Voting board for content
Request a feature or report a bug→
CurriculumPracticeFor OrganizationsPricing
Sign InStart Learning
← Practice

sampling

11 problems

  • Fisher-Yates shuffleEasy
  • Generate random subsets (bootstrap)Easy
  • Inverse-transform samplingEasy
  • Rejection samplingMedium
  • Repetition penalty (HuggingFace-style)Medium
  • Reservoir samplingMedium
  • Speculative decoding verificationMedium
  • Temperature scalingEasy
  • Top-k samplingEasy
  • Top-p (nucleus) samplingMedium
  • Weighted multinomial samplingEasy