Re:GPT-4 is phenomenal at Code
by sualehasif on Tuesday March 14, 2023 @06:56PM
(#35160422)
GPT-4 is just really good at code. We documented some of the examples that we found were crazy amazing and worth hackernews. Including GPT-4's ability to handle bazel, kube, terraform and rust. A summary can be found on this thread: https://twitter.com/sualehasif996/status/1635755267739598848
[ Parent
| on HN ]
Re:GPT-4 is phenomenal at Code
by sualehasif on Tuesday March 14, 2023 @06:58PM
(#35160476)
If you know of any other cool examples or would like us to try something out and add to the repo, please let us know.
If you have access, the repo should be fairly replicable.
Re:GPT-4 is phenomenal at Code
by Iamnotthatbad on Tuesday March 14, 2023 @08:03PM
(#35161526)
Your example of the commenting doesn't seem like "well-commented code" to me.
Just re-stating what is in code in plain language isn't helpful and is kind of annoying to read.
Can you explain why you think it is helpful?
Re:GPT-4 is phenomenal at Code
by sualehasif on Tuesday March 14, 2023 @08:25PM
(#35161804)
The commenting was for the model to learn what the types were so it could translate it to gather. Doing that one shot is surprising to me because it is somewhat hard to get pytorch tensors to work out to the correct shapes.