
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.
An LLM that writes product descriptions is repeating phrases too frequently. The company wants to keep the tone and creativity but reduce repetitive wording. Which adjustment is most appropriate?
A
Reduce temperature to 0.1
B
Enable repetition penalty with frequency = 1.5
C
Lower top-k to 20
D
Disable top-p entirely
Explanation:
Correct Answer: B - Enable repetition penalty with frequency = 1.5
Why this is correct:
Why other options are incorrect:
A. Reduce temperature to 0.1 - Lowering temperature makes outputs more deterministic and less creative, which could actually increase repetition as the model becomes more predictable. This doesn't specifically target repetition reduction.
C. Lower top-k to 20 - Reducing top-k limits the vocabulary diversity by only considering the top 20 most likely tokens. While this might reduce some randomness, it doesn't specifically address repetition and could limit creativity.
D. Disable top-p entirely - Top-p (nucleus sampling) helps with diverse outputs by sampling from tokens whose cumulative probability exceeds p. Disabling it would make outputs more deterministic and could actually increase repetition.
Key Concepts: