CertKeen

NVIDIA Generative AI LLMs Associate (NCA-GENL) · Free practice question 12 of 12

Limiting generation length and stopping

A form-filling assistant at Nunthorpe Estates sometimes keeps writing after the requested field value and adds unrelated text. Which generation settings directly control where output ends? (Select TWO.)

  1. A.The temperature value
  2. B.A maximum new tokens limit
  3. C.The top-p value
  4. D.The random seed
  5. E.Stop sequences that end generation when they appear
Show answer and explanation

Correct answers: B. A maximum new tokens limit · E. Stop sequences that end generation when they appear

Why: A maximum new tokens setting caps output length, and stop sequences end generation as soon as a chosen string, such as a newline or closing tag, is produced; together they control where output ends. Temperature and top-p shape which tokens are sampled but do not set a length or end point, and the seed only makes sampling reproducible.

More free NVIDIA Generative AI LLMs Associate (NCA-GENL) questions