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 65 discussion

A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company needs the LLM to produce more consistent responses to the same input prompt.
Which adjustment to an inference parameter should the company make to meet these requirements?

  • A. Decrease the temperature value.
  • B. Increase the temperature value.
  • C. Decrease the length of output tokens.
  • D. Increase the maximum generation length.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Jessiii
2 weeks, 6 days ago
Selected Answer: A
A. Decrease the temperature value: The temperature parameter controls the randomness of the model’s output. Lower temperatures make the model more deterministic and lead to more consistent and focused responses, while higher temperatures introduce more randomness and variety. For sentiment analysis, where you want consistent outputs for the same input, decreasing the temperature will help achieve more predictable and reliable results.
upvoted 1 times
...
Blair77
3 months, 3 weeks ago
Selected Answer: A
Lowering the temperature value in an LLM controls the randomness of the model's output. A lower temperature (close to 0) makes the model's predictions more deterministic and consistent, leading to similar outputs for identical prompts. This is particularly beneficial in tasks like sentiment analysis, where consistency and reliability in responses are crucial.
upvoted 2 times
...
dehkon
3 months, 3 weeks ago
A. Decrease the temperature value. Lowering the temperature value reduces the randomness of predictions from a large language model (LLM) and makes the output more deterministic and consistent. This is ideal for producing consistent responses to the same input prompt during sentiment analysis.
upvoted 3 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