AWS Certified AI Practitioner (AIF-C01) — Question 220

An AI practitioner wants to generate more diverse and more creative outputs from a large language model (LLM).

How should the AI practitioner adjust the inference parameter?

Answer options

Correct answer: A

Explanation

Increasing the temperature value encourages the model to explore a wider range of possibilities, leading to more diverse and creative responses. Decreasing the Top K value would limit the choices available to the model, potentially resulting in less creativity. Adjusting the response length or prompt length does not directly impact the diversity of outputs.