3 ms·
ChatGPT can only assemble words in the most likely order that they might appear in context. It works better with prose than code, but ChatGPT does not understan
by dtagames 4y ago
ChatGPT can only assemble words in the most likely order that they might appear in context. It works better with prose than code, but ChatGPT does not understand programming and cannot run the source to see if it works. It's much like a robot version of searching for the most likely code on StackOverflow and copy/pasting that.
I wrote an intro about how it works and how all these seemingly illogical "errors" keep showing up. I'd love your feedback.
https://medium.com/gitconnected/behind-the-curtain-understanding-the-magic-of-chatgpt-3bbd23f0fbb3 https://medium.com/gitconnected/behind-the-curtain-understan...
- dtagames 4y agoForgot to mention: GitHub Copilot can do what you want. If you write your prompt as comments (one on each line) to tell it what you want the program to do, it can get much closer than ChatGPT because it works somewhat differently and also was trained on more programming language code than ChatGPT. I wrote an intro on this, too. :-) https://medium.com/gitconnected/flying-with-github-copilot-cab566ee5d9 https://medium.com/gitconnected/flying-with-github-copilot-c...