引导式测验 · 中等 等级

即时压缩测验

减少提示令牌,同时测量压缩器开销、端到端延迟、任务质量以及丢失关键上下文的风险。

相关引导路径即时压缩
问题 1 的 8

即时压缩试图实现什么目的?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. 即时压缩试图实现什么目的?
    • Guarantee that every model answer improves
    • Reduce input tokens while retaining information needed for the task
    • Replace evaluation with a shorter prompt
    • Remove all system instructions
  2. LLMLingua 研究调查了什么?
    • Guaranteed lossless compression for every task
    • A model that only answers in JSON
    • Removing the need for retrieved context
    • Prompt compression methods intended to reduce inference cost and latency while preserving useful information
  3. Why can compression harm an answer?
    • It may remove an exception, constraint, or rare detail needed for the task
    • It always increases context length
    • It prevents models from reading text
    • It changes only the output format
  4. 压缩何时会增加端到端延迟?
    • Whenever prompts are compressed
    • Only when the answer is correct
    • When compressor overhead is greater than the time saved in model processing
    • When a prompt contains no text
  5. 评估压缩方法时应该测量什么?
    • Only the compression ratio
    • Token reduction, compressor time, cost, latency, and task quality
    • Only model output length
    • Only GPU memory
  6. Which prompt content should a compressor preserve carefully?
    • Task goals, constraints, exceptions, definitions, and needed evidence
    • Repeated filler at all costs
    • 仅第一句
    • Every punctuation mark regardless of meaning
  7. 如果提示已经很短或已缓存,可能会发生什么情况?
    • The compressor always makes the request free
    • The model stops using its cache
    • The prompt becomes longer by definition
    • Compression overhead may exceed the remaining savings
  8. How should a team verify a compressed prompt?
    • Assume fewer tokens means equal quality
    • Test only the example used to create it
    • Compare it with the original on representative held-out examples
    • Skip version tracking