
Answer-first summary for fast verification
Answer: Increase top-p to 0.95
## Explanation **Correct Answer: B (Increase top-p to 0.95)** **Why this is correct:** 1. **Top-p (nucleus sampling)** controls the diversity of generated text by considering only the top tokens whose cumulative probability exceeds the threshold p. 2. **Increasing top-p to 0.95** means the model considers a broader range of possible tokens (95% of the probability mass), allowing for more diverse and creative outputs. 3. For **ad copy and marketing content**, creativity and imagination are crucial. A higher top-p value encourages the model to explore more varied word choices and sentence structures, making the output less predictable and more engaging. **Why other options are incorrect:** - **A. Lower temperature to 0.3**: Temperature controls randomness - lower temperature (0.3) makes outputs more deterministic and conservative, which would make the text even more robotic, not less. - **C. Reduce max-tokens**: This limits the length of generated text but doesn't directly affect creativity or imagination in the content. - **D. Add stop-sequence after each sentence**: This controls when generation stops but doesn't improve the quality or creativity of the content itself. **Key Concept:** In generative AI models like those in Amazon Bedrock, **top-p (nucleus sampling)** is particularly effective for balancing creativity with coherence, making it ideal for creative writing tasks like ad copy generation.
Author: Jin H
Ultimate access to all questions.
The marketing team complains that Bedrock scripts sound robotic. To make them more imaginative for ad copy, what change helps most?
A
Lower temperature to 0.3
B
Increase top-p to 0.95
C
Reduce max-tokens
D
Add stop-sequence after each sentence
No comments yet.