DDIM does: deterministic sampling for faster generation with fewer steps

Ever feel like your text generator keeps repeating boring phrases?

Image: Lt. Col. Leslie Pratt, Public domain, via Wikimedia Commons

DDIM does: deterministic sampling for faster generation with fewer steps

Ever feel like your text generator keeps repeating boring phrases?

Imagine writing a story and your AI keeps suggesting the same tired ending. It's frustrating and stifles creativity.

Top-p sampling helps by choosing words that are more likely to lead to interesting outcomes, instead of just picking the most obvious ones.

Example

Instead of always choosing the ending "and they lived happily ever after," top-p sampling might pick "and they embarked on a thrilling adventure," because it's a less predictable choice.

Remember this

Top-p sampling ensures your story stays fresh and exciting by picking less obvious, more interesting words.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath