Bird
0
0

You want to generate a story that feels creative and not repetitive. Which technique helps achieve this?

hard📝 Application Q8 of 15
NLP - Text Generation
You want to generate a story that feels creative and not repetitive. Which technique helps achieve this?
ADisabling the model's vocabulary
BSetting max_length to 1 to limit output
CIncreasing the temperature parameter to add randomness
DUsing the same prompt repeatedly without change
Step-by-Step Solution
Solution:
  1. Step 1: Understand temperature effect

    Higher temperature increases randomness, making output more creative and less repetitive.
  2. Step 2: Evaluate other options

    Limiting length or repeating prompts reduces creativity; disabling vocabulary breaks generation.
  3. Final Answer:

    Increasing the temperature parameter to add randomness -> Option C
  4. Quick Check:

    Higher temperature = more creativity [OK]
Quick Trick: Use higher temperature for creative text [OK]
Common Mistakes:
MISTAKES
  • Setting very low max_length
  • Repeating same prompt expecting variety
  • Disabling vocabulary disables generation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes