
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.
You are configuring a Bedrock model for generating marketing slogans. To ensure the output remains creative but not too random, you adjust the top-p (nucleus sampling) parameter. What effect does increasing the top-p value have?
A
Limits the model to only the top 1% of probable words
B
Allows the model to consider a broader range of likely next words, increasing variability
C
Makes the model more deterministic and repetitive
D
Forces the model to only select the most probable token each time
Explanation:
Top-p (nucleus sampling) controls the cumulative probability distribution of tokens. When you increase the top-p value, you're allowing the model to consider a broader range of likely next words from the probability distribution, which increases variability and creativity while still maintaining coherence by excluding very low-probability tokens.