Re:DeepMind’s AlphaCode Conquers Coding, Performing as Well ...
by twalla on Thursday December 15, 2022 @12:14PM
(#34002606)
I wrote a similar prompt but for a discord bot that would take a youtube url and some timestamps and return a gif.
Afterwards I asked it to add an option to "deep fry" the gif. Not only did it produce the correct code it also understood what I meant when referring to deep fried gifs. I was definitely impressed.
Re:DeepMind’s AlphaCode Conquers Coding, Performing as Well ...
by bradjohnson on Thursday December 15, 2022 @12:24PM
(#34002767)
I threw a leetcode easy description into ChatGPT and submitted the solution without any editing. It passed all the test cases and got in the 95th percentile for efficiency of C++ submissions.
I haven't tried anything more advanced, but to go from simple requirements to solution without any clarification or even method signatures (It guessed the correct method signature down to the name and input params) was pretty dang impressive to me.
Re:DeepMind’s AlphaCode Conquers Coding, Performing as Well ...
by AnonymousPlanet on Thursday December 15, 2022 @12:55PM
(#34003158)
Chances are, you gave it a problem that was actually in its training set.
Re:DeepMind’s AlphaCode Conquers Coding, Performing as Well ...
by bradjohnson on Thursday December 15, 2022 @01:16PM
(#34003439)
It's still impressive to me even if it was in its training set. The data used for training is not stored verbatim in the OpenAI model. It would still need to parse the context anew and solve the problem given its understanding of the boundaries of what I've written.
Re:DeepMind’s AlphaCode Conquers Coding, Performing as Well ...
by Dopameaner on Thursday December 15, 2022 @02:31PM
(#34004445)
On contrast, I did it for projecteuler and told it needs to be extremely efficient or math. Didnt give me an appropriate result.
Re:DeepMind’s AlphaCode Conquers Coding, Performing as Well ...
by i_hate_pigeons on Thursday December 15, 2022 @12:59PM
(#34003209)
I have tried given a simple test suite and asking for an implementation that fulfills it, then asking to modify its impl and the test suite with a new requirement and it did it
1. Write a static file server in Go
2. Write Go code to convert Color image to B/W
For both I got results. I know both are simple but still it's fascinating that AIs can write code. I have written more about it here https://rohanrd.xyz/posts/surprising-capability-of-ai-code-g...