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.)
- A.The temperature value
- B.A maximum new tokens limit
- C.The top-p value
- D.The random seed
- 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
- Positional encoding in transformers
- SentencePiece and raw-text tokenization
- Mean reciprocal rank for retrieval
- Box plots and the interquartile range
- Knowledge distillation into a smaller model
- Random search versus grid search
- Vector index storage estimate
- Disaggregated prefill and decode serving
- Counterfactual data augmentation for bias
- Red teaming before release
- Parameter-efficient fine-tuning methods