Flashcardsfor IT Certifications

D3: Sampling Parameters & Settings

Google Cloud Generative Leader exam practice questions · 12 flashcards

Question
What is temperature?
1 / 12

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

Last updated: · Report an error on this page

Show all 12 Sampling Parameters & Settings practice questions and answers
  1. What is temperature?
    Controls randomness: low = focused and consistent; high = creative and varied.
  2. When use low temperature?
    Factual answers, classification, data extraction.
  3. When use high temperature?
    Brainstorming, creative writing.
  4. What is top-p (nucleus sampling)?
    Limits choices to the smallest set of tokens whose cumulative probability reaches p.
  5. What is top-k?
    Limits choices to the k most likely next tokens.
  6. What is token count / max output tokens?
    Limits the length of the response (and affects cost).
  7. What are safety settings?
    Thresholds for blocking harmful content categories (hate, harassment, sexual, dangerous).
  8. What is output length control?
    Setting maximum tokens or instructing length to keep responses concise.
  9. What are stop sequences?
    Strings that tell the model where to stop generating.
  10. Customer support bot needing consistent answers: temperature?
    Low.
  11. Marketing slogan ideas: temperature?
    Higher.
  12. Why do tokens matter for cost?
    Pricing is based on input and output tokens.