Microsoft Azure AI Fundamentals AI-900 Question # 48 Topic 5 Discussion
AI-900 Exam Topic 5 Question 48 Discussion:
Question #: 48
Topic #: 5
Which parameter should you configure to produce a more diverse range of tokens in the responses from a chat solution that uses the Azure OpenAI GPT-3.5 model?
In Azure OpenAI Service, model behavior during text or chat generation is controlled by several parameters, such as temperature, max tokens, top_p, presence penalty, and frequency penalty. According to Microsoft Learn’s documentation for Azure OpenAI GPT models, the presence penalty influences how likely the model is to introduce new or diverse tokens in its responses.
Specifically, the presence penalty discourages the model from repeating previously used tokens, encouraging it to explore new topics or ideas instead of sticking to existing ones. Increasing the presence penalty value typically results in more diverse and creative outputs, while lowering it makes responses more repetitive or focused.
Option analysis:
A. Max response (Max tokens): Controls the maximum length of the generated response, not its diversity.
B. Past messages included: Defines how much chat history the model considers for context; it doesn’t affect diversity directly.
C. Presence penalty: Encourages novelty and introduces new tokens—this is correct for increasing response variety.
D. Stop sequence: Specifies a sequence of characters or tokens where the model should stop generating output.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit