📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

Why can greedy decoding sometimes produce repetitive text?

A. It samples too randomly
B. It repeatedly picks the most likely token, which can lead into a loop of high-probability phrases ✅
C. It ignores the prompt completely
D. It uses too large a beam width

Correct Answer: B. It repeatedly picks the most likely token, which can lead into a loop of high-probability phrases

Explanation

Greedy choices can trap the model in a self-reinforcing loop of common phrases.