Generation diversity and stability must be adjusted.
Evaluate sampling.
Choose two descriptions.
Top-k limits the number of candidate tokens, while top-p limits cumulative probability; both should be tested with temperature and quality checks.
Detailed explanation
Candidate count is direct.
Candidate count is direct.
The set adapts to probability.
The set adapts to probability.
They are generation settings.
They are generation settings.
Separate evaluation is needed.
Separate evaluation is needed.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式AIF-C01 Domain 2.3のtop-k、top-p、temperature、サンプリングを確認する。Expected result
サンプリング設定の役割と、出力の事実性を別途評価する必要性を説明できる。Key points
- Top-k
- Top-p
- Sampling
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.