
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: temperature = 0.2, top-p = 0.7
## Explanation For legal contract summarization that requires **precise, repeatable language**, the optimal settings are: **Temperature = 0.2** - Lower temperature values (closer to 0) make the model more deterministic and less creative. This ensures consistent, predictable outputs which is crucial for legal documents where precision and repeatability are essential. **Top-p = 0.7** - This moderate top-p value allows for some flexibility while still maintaining control over the vocabulary selection. It restricts the model to consider only the top 70% of probable tokens, balancing between creativity and consistency. **Why other options are incorrect:** - **Option B (temperature = 0.9, top-p = 1.0)**: Too high temperature and unrestricted top-p would lead to more creative, less predictable outputs. - **Option C (temperature = 1.2, top-p = 1.0)**: Very high temperature (above 1.0) makes outputs highly random and unpredictable, unsuitable for legal precision. - **Option D (temperature = 0.8, top-p = 0.3)**: While top-p is restrictive, temperature is still relatively high for legal precision needs. **Key Principles:** 1. **Temperature controls randomness**: Lower values = more deterministic, higher values = more creative 2. **Top-p controls token selection**: Lower values = more restrictive vocabulary, higher values = more diverse vocabulary 3. **Legal applications require**: Low temperature for consistency, moderate top-p for controlled vocabulary selection
Author: Jin H
No comments yet.
A legal firm uses Bedrock to summarize contracts and needs precise, repeatable language. Which setting combination is most appropriate?
A
temperature = 0.2, top-p = 0.7
B
temperature = 0.9, top-p = 1.0
C
temperature = 1.2, top-p = 1.0
D
temperature = 0.8, top-p = 0.3