引导式测验 · 简单 等级

人工智能推理测验

查看推理与训练、令牌生成、延迟、端到端时序、吞吐量权衡、服务内存和安全评估。

相关引导路径人工智能推理
问题 1 的 8

训练和推理有什么区别?

预览每个问题8 问题

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

  1. 训练和推理有什么区别?
    • Training adjusts learned parameters; inference uses a trained model to process an input
    • They are two names for the same parameter-update step
    • Training only formats outputs; inference labels the training data
    • Inference always retrains the model before responding
  2. When a text service generates a response token by token, what is happening?
    • The entire response is written before the request arrives
    • The model is run repeatedly using the context so far to generate more tokens
    • The model’s weights are necessarily updated after every token
    • A person must be typing each token behind the interface
  3. In an inference service, what does latency measure?
    • How many requests finish over a period
    • How many parameters the model contains
    • How long a request takes to receive a response
    • How accurate the training labels are
  4. In the guide’s constructed sequential request, validation takes 20 ms, retrieval 180 ms, generation 900 ms and formatting 30 ms. What is the total?
    • 1,030 ms
    • 1,100 ms
    • 930 ms
    • 1,130 ms
  5. Why might batching improve throughput but increase the wait for one request?
    • The service processes requests together, so an individual request may wait for the batch
    • Batching removes all model computation
    • Every request is completed before it enters a batch
    • Throughput and latency always move in the same direction
  6. What should a serving memory budget include besides model weights?
    • Only the disk space used by the model file
    • Working buffers, concurrent requests and cached representations
    • Only the text returned to the user
    • The training labels but no runtime state
  7. What should an inference deployment provide when the model cannot answer or exceeds its limit?
    • An infinite wait for more tokens
    • A silent failure with no user indication
    • A timeout and a usable fallback response
    • A fabricated answer to avoid an error
  8. After changing precision, batching or preprocessing, how should a team judge the optimization?
    • Compare only speed on one short prompt
    • Assume fewer bits always preserve quality
    • Use the same test set repeatedly to select every tuning choice
    • Retest outputs on a versioned evaluation set and confirm required quality remains