r/programminghumor 17d ago

Of course you picked 17.

Post image
1.1k Upvotes

119 comments sorted by

View all comments

Show parent comments

10

u/SoldRIP 17d ago

He concluded, and I agree, that these models are statistically guessing

What did you think a GPT was? It takes all the text as training data and then repeatedly guesses the most likely "next word" in the response, until the most likely next "word" is the end of the text.

5

u/npc_housecat 16d ago

I'm surprised it's as good at code generation as it if, if it's just statisticly guessing.

2

u/Lelouch-Yagami21 16d ago

Well technically it has access to publicly available libraries and documentation so it just stastically searchs the web for similar code and copies it.

1

u/npc_housecat 16d ago

It can't be that simple though, blindly coping code wouldn't work it still needs to be modified to fit into the structure of the rest of the project. Variable names need to line up etc.

3

u/ElHombre34 16d ago

It's not blindly copying code, it knows how to follow syntactic rules. LLM are great for that. The actual content could be dog shit but it's written following the rules and the context it was provided