Generation & Decoding — Practice quiz

Untimed. Answers are graded when you submit, with explanations and spaced-repetition scheduling.

  1. Question 1easy

    What is 'decoding' in text generation?

  2. Question 2easy

    What does a LOW temperature do?

  3. Question 3medium

    What does top-p (nucleus) sampling do?

  4. Question 4hard

    You set temperature to 0. Which statement is correct?

  5. Question 5medium

    You need deterministic behavior for caching/testing. Best approach?

  6. Question 6medium

    What is max_tokens?

  7. Question 7medium

    After a call, stop_reason is 'max_tokens'. What does that mean?

  8. Question 8medium

    Why stream long responses instead of waiting for the full result?

  9. Question 9hard

    Which dominates latency and cost more: input tokens or output tokens?

  10. Question 10medium

    Which are good settings for an extraction/classification task? (Select all that apply)

    Select all that apply.

  11. Question 11easy

    What is greedy decoding?

  12. Question 12medium

    What is a stop sequence?

  13. Question 13medium

    One word: the decoding parameter that sharpens (low) or flattens (high) the next-token distribution.

  14. Question 14hard

    Name the response field (snake_case) you must check to know whether a completion finished or was truncated.

0 / 14 answered