Paramètres de génération LLM

Generation parameters are the knobs that shape WHAT a model outputs once the prompt is fixed, not what you ask but how it produces it. Five of them show up everywhere. "max-tokens": the length ceiling of the answer, it drives cost and latency directly. "temperature": how strongly the model follows the highest probabilities, low gives predictable and repeatable, high gives varied and creative. "top-p" (nucleus): instead of tuning boldness, it cuts the tail of unlikely tokens and keeps only the plausible core. "repetition penalty": reduces words and phrasings that loop back. "stop-sequence": halts generation the moment a chosen word or symbol appears.

Strengths

Limitations

Best for

Official site

View on Coeurdar