5 ms·
> presumably if you ask it to execute that same code for a input example you provide, it will. GPT-4 is run sandboxed, without the ability to execute code. Th
by cjbprime 3y ago
> presumably if you ask it to execute that same code for a input example you provide, it will.
GPT-4 is run sandboxed, without the ability to execute code.
The only way it can execute code is by attempting to simulate the algorithms, from its understanding of the provided code, during its inference pass. So it does that when it can, oftentimes with mistakes because it doesn't have actual access to working memory other than through tokens that it outputs.