exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 7 question 15 discussion

Actual exam question from Microsoft's AI-102
Question #: 15
Topic #: 7
[All AI-102 Questions]

HOTSPOT
-

In Azure OpenAI Studio, you are prototyping a chatbot by using Chat playground.

You need to configure the chatbot to meet the following requirements:

• Reduce the repetition of words in conversations.
• Reduce the randomness of each response.

Which two parameters should you modify? To answer, select the appropriate parameters in the answer area.

NOTE: Each correct answer is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
fawzi008
Highly Voted 7 months, 1 week ago
-temperature -frequency penalty
upvoted 9 times
...
Toby86
Highly Voted 10 months ago
Reduce repetition: Increase Frequency penalty to suppress repetition of words: Frequency Penalty modifies the probability of words seen frequently during training, making them less likely. NOT Presence Penalty: Presence Penalty modifies the probability of words in the input text, making them less likely to repeat in the output. Reduce Randomness of each response: Decrease the Temperature to make the answers more deterministic
upvoted 6 times
...
syupwsh
Most Recent 2 months, 3 weeks ago
Temperature is CORRECT because it controls the randomness of the responses generated by the model. Lowering the temperature reduces randomness, leading to more deterministic and focused responses, which is useful when you want to reduce the variability in conversations. Frequency penalty is CORRECT because it discourages the model from repeating the same words or phrases by applying a penalty to tokens that have already appeared frequently in the conversation. This helps in reducing the repetition of words.
upvoted 2 times
...
testmaillo020
8 months, 1 week ago
1. Frequency penalty - This parameter reduces the model's likelihood of repeating the same word or phrase. Increasing the frequency penalty will help in reducing the repetition of words in the chatbot's responses. 2. Top P (or possibly Temperature) - To reduce the randomness of each response, you can adjust the Top P parameter, which controls the diversity of the tokens generated by narrowing down the token pool to the most likely ones. Lowering the Top P value (or Temperature) will result in more deterministic responses, thus reducing randomness.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago