Questionário vinculado ao guia · Difícil Nível
Questionário de verificação de amostragem especulativa
Testa amostragem especulativa exata, probabilidades de aceitação e correção, custos preliminares e restrições em suas reivindicações de desempenho.
Pergunta 1 de 8
Qual é a ideia central por trás da amostragem especulativa?
Visualize cada pergunta8 perguntas
As respostas e explicações aparecem conforme você responde ao teste.
- Qual é a ideia central por trás da amostragem especulativa?
- Use um modelo de rascunho pequeno para propor vários tokens que um modelo grande verifica em paralelo
- Treine um modelo gigante para pular camadas dinamicamente
- Armazene em cache todas as frases possíveis com antecedência
- Substitua a amostragem por uma decodificação gananciosa para economizar tempo
- Por que a amostragem especulativa não degrada a qualidade da produção?
- Porque o rascunho do modelo está sempre correto
- Porque a regra de verificação torna a distribuição final idêntica à amostragem alvo pura
- Porque só funciona em prompts curtos
- Porque calcula a média dos resultados dos dois modelos
- 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
- 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
- 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
- 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
- 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
- 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