
Ultimate access to all questions.
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?
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.