GenAI Basics · Question 9 · Medium

Setting the sampling temperature of an LLM close to 0 typically makes its output:

  1. More deterministic, consistently choosing the most likely tokens
  2. More random and creative
  3. Much longer
  4. In a different language
Answer and explanation

Answer: A. More deterministic, consistently choosing the most likely tokens

Explanation: Temperature scales the probability distribution over the next token. A low temperature concentrates probability on the top tokens, which gives focused, repeatable output; a high temperature increases diversity.

Previous: What does Retrieval-Augmented Generation (RAG) do? · Next: What is an LLM's context window?

Practise genai basics

Try a fresh set of genai basics questions with an explanation after every answer, free and without signing up: GenAI Basics practice. Or sit a full placement mock test.

More genai basics questions

More technical & programming practice

Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming · DBMS

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge