
Explanation:
To increase the diversity and creativity of outputs from a large language model (LLM), the AI practitioner should adjust the temperature parameter.
Temperature controls randomness: In LLM inference, temperature is a hyperparameter that directly influences the probability distribution during token generation. Higher temperature values (typically >1.0) flatten the probability distribution, making less likely tokens more probable to be selected.
Mechanism of action: When temperature is increased:
Practical application: For creative writing, brainstorming, idea generation, or when multiple diverse solutions are needed, increasing temperature is the standard approach.
Option B (Decrease the Top K value):
Option C (Increase the response length):
Option D (Decrease the prompt length):
When adjusting temperature for increased creativity, practitioners should be aware that:
Ultimate access to all questions.
No comments yet.
To increase the diversity and creativity of outputs from a large language model (LLM), how should an AI practitioner modify the inference parameters?
A
Increase the temperature value.
B
Decrease the Top K value.
C
Increase the response length.
D
Decrease the prompt length.