Flashcardsfor IT Certifications

D3: Inference Parameters

AWS Foundational AI Practitioner exam practice questions · 10 flashcards

Question
What is temperature?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Inference Parameters practice questions and answers
  1. What is temperature?
    Controls randomness: low (0–0.3) = focused, deterministic; high = creative, varied.
  2. What is top-p (nucleus sampling)?
    Limits choices to the smallest set of tokens whose cumulative probability reaches p.
  3. What is top-k?
    Limits choices to the k most probable next tokens.
  4. What is max tokens (output length)?
    Upper limit on generated tokens; controls length and cost.
  5. What are stop sequences?
    Strings that tell the model to stop generating.
  6. Scenario: factual customer support answers. Temperature?
    Low.
  7. Scenario: brainstorming creative slogans. Temperature?
    Higher.
  8. Effect of input length on responses?
    Longer inputs give more context but raise cost and latency, and can dilute focus.
  9. Responses are cut off mid-sentence. Likely cause?
    Max tokens set too low.
  10. Do inference parameters change the model's weights?
    No. They only affect how outputs are sampled at inference time.