Викторина, связанная с руководством · Жесткий Уровень

Викторина для проверки спекулятивной выборки

Тестирует точную спекулятивную выборку, вероятности принятия и исправления, предварительные затраты и ограничения на заявленные характеристики.

Связанные направляющие путиСпекулятивная выборочная проверка
Вопрос 1 из 8

В чем заключается основная идея спекулятивной выборки?

Предварительный просмотр каждого вопроса8 вопросы

Ответы и пояснения появляются по мере прохождения теста.

  1. В чем заключается основная идея спекулятивной выборки?
    • Используйте небольшой черновик модели, чтобы предложить несколько токенов, которые большая модель проверяет параллельно.
    • Научите одну гигантскую модель динамически пропускать слои
    • Кэшируйте каждое возможное предложение заранее
    • Замените выборку жадным декодированием, чтобы сэкономить время.
  2. Почему спекулятивная выборка не ухудшает качество вывода?
    • Потому что черновая модель всегда правильна
    • Потому что правило проверки делает окончательное распределение идентичным чистой целевой выборке.
    • Потому что это работает только с короткими подсказками
    • Потому что он усредняет результаты двух моделей.
  3. In exact speculative sampling, what happens when a drafted token is rejected?
    • It outputs the rejected draft token unchanged
    • It discards the entire conversation and restarts
    • The algorithm samples from a corrected residual distribution at that position
    • It permanently changes the target model
  4. Under exact speculative sampling, what is guaranteed about the output distribution?
    • It is always deterministic
    • It matches the draft model’s distribution instead
    • It is more diverse than every target-model output
    • It matches the target model’s sampling distribution
  5. What information does the target verification pass provide in exact speculative sampling?
    • Target probabilities for proposed positions, used for acceptance tests and residual resampling
    • A guarantee that no target-model computation is needed
    • Only the draft model’s next-token distribution
    • A corrected token sequence without any sampling
  6. Which description correctly distinguishes two self-speculative approaches?
    • Both use only an unrelated small draft model
    • Medusa adds prediction heads, while EAGLE uses feature-space proposals
    • Medusa is a tokenizer and EAGLE is a reward model
    • Both remove the target model from decoding
  7. The draft assigns probability 0.8 to a token and the target assigns 0.4. What is the speculative acceptance probability?
    • 0,2
    • 0,4
    • 0,5
    • 1.0
  8. What most limits speculative sampling’s realized speedup?
    • The color of the model’s interface
    • The target model’s name length
    • Whether the prompt contains punctuation
    • The draft-model cost and how much proposed work the target accepts