Skill 3.1.2
Describe the effect of inference parameters on model responses (for example, temperature, input/output length)
Key Concepts
Temperature controls randomness: low values (near 0) make outputs focused, consistent and predictable; high values make them more diverse and creative but less reliable. Top P (nucleus sampling) and Top K limit which candidate tokens can be chosen.
Maximum output length (max tokens) caps response size, cost and latency, but too low a value truncates answers. Input length is limited by the context window. Stop sequences end generation at a chosen string.