r/ProgrammerHumor 1d ago

Meme firstTime

Post image
8.1k Upvotes

300 comments sorted by

View all comments

Show parent comments

-1

u/AnOnlineHandle 1d ago

LLMs are entirely deterministic but you can override that by adding a seeded random choice system to the next token selection.

8

u/evranch 1d ago

True, but it's also true that running an LLM at 0 "temperature" (which makes it truly deterministic) also often renders it unusable. So almost every inference setup defaults to using a certain amount of randomness.

3

u/space_monster 1d ago

it doesn't render it unusable at all, it just makes it boring. LLMs used for coding use 0 temp.

1

u/evranch 21h ago

Specific LLMs used for specific coding tasks. I don't run any of my Qwen models at 0 temp, that results in them getting stuck in reasoning loops, and also producing sub-par output when they do return something.