
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A developer observes that the model keeps repeating phrases like "Thank you for using our service." Which Bedrock parameter should they adjust to fix this?
A
Temperature
B
Repetition penalty / presence penalty
Explanation:
Repetition penalty (also known as presence penalty) is the parameter that controls how much the model penalizes tokens that have already appeared in the generated text. Increasing this parameter discourages the model from repeating phrases and words, helping to reduce repetitive outputs like "Thank you for using our service." appearing multiple times.