exam questions

Exam AWS Certified AI Practitioner AIF-C01 All Questions

View all questions & answers for the AWS Certified AI Practitioner AIF-C01 exam

Exam AWS Certified AI Practitioner AIF-C01 topic 1 question 97 discussion

A company is using Retrieval Augmented Generation (RAG) with Amazon Bedrock and Stable Diffusion to generate product images based on text descriptions. The results are often random and lack specific details. The company wants to increase the specificity of the generated images.

Which solution meets these requirements?

  • A. Increase the number of generation steps.
  • B. Use the MASK_IMAGE_BLACK mask source option.
  • C. Increase the classifier-free guidance (CFG) scale.
  • D. Increase the prompt strength.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Willdoit
2 weeks, 4 days ago
Selected Answer: D
In Retrieval Augmented Generation (RAG) with Stable Diffusion, the prompt strength determines how closely the generated image aligns with the given text description. By increasing prompt strength, the model places more emphasis on the input prompt, making the output more specific and detailed, which directly addresses the company's concern about random and lacking specific details in generated images.
upvoted 1 times
...
Jessiii
2 weeks, 6 days ago
Selected Answer: C
Classifier-Free Guidance (CFG) is a technique used in generative models, especially in image generation tasks, that helps guide the generation process toward more specific or desired outputs. By increasing the CFG scale, the model's generated image becomes more closely aligned with the given text prompt, improving the specificity and control over the details in the generated image. A higher CFG scale ensures that the model generates images that are more faithful to the prompt by reducing randomness and making the generation more deterministic. This technique allows for more control over the image generation process, making it suitable for use cases like generating product images from text descriptions, where specific details are important.
upvoted 1 times
...
may2021_r
2 months ago
Selected Answer: C
The correct answer is C. Higher CFG scale makes generated images follow prompts more closely.
upvoted 1 times
...
aws_Tamilan
2 months ago
Selected Answer: C
Increasing the classifier-free guidance (CFG) scale (Option C) will make the model pay more attention to the input text description, improving the specificity and detail of the generated images. This is the most effective method to increase the specificity of images in a Retrieval Augmented Generation (RAG) setup with Stable Diffusion.
upvoted 1 times
...
ap6491
2 months, 1 week ago
Selected Answer: C
Classifier-Free Guidance (CFG) is a technique used in diffusion models, such as Stable Diffusion, to guide the model toward generating outputs that closely align with the text prompt. By increasing the CFG scale, the model puts more emphasis on the textual prompt, leading to outputs that are more specific and less random. In this case, where the generated images lack specific details, increasing the CFG scale helps ensure the generated product images are more aligned with the input text descriptions.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago