|
|
|
|
|
by krapp
163 days ago
|
|
Because that's what LLMs do. They don't give "answers", they don't know what "works" and what doesn't. They create text based on a heuristic you provide and a token matching algorithm. That's it. That's the trick. It isn't returning code, because it doesn't know what "code" is. It's returning language, essentially "code-shaped text." It only happens to work as well as it does when it does because the model is trained on examples of existing working code supplied by humans, therefore whatever it returns is likely to at least mostly be correct, at least for common cases where a high probability match is likely. |
|