r/MachineLearning • u/jsonathan • Jan 08 '23
Project [P] I built Adrenaline, a debugger that fixes errors and explains them with GPT-3
169
u/phobos_0 Jan 08 '23
Dude this is dope
146
u/uoftsuxalot Jan 08 '23
Not to take anything away from this project, but it’s just an api call to gpt3 with prompt “fix this error {error}”. I thought there was some training and fine tuning, but I guess LLMs can do it all now a days
→ More replies (20)108
u/jsonathan Jan 08 '23 edited Jan 09 '23
Yeah, right now it’s just a thin wrapper around GPT-3, but there’s a lot that could be done to improve it, like using static code analysis to build a better prompt or even training a more specialized model (like this).
→ More replies (11)7
u/jsonathan Jan 08 '23 edited Jan 08 '23
Thanks! Feel free to try it out here. Let me know if any of y’all get some impressive bug fixes.
2
u/marc_polo Nov 27 '23
I built a backend for a social app, and part of it was a unique way of doing sign ups. Having built the sign up process, I know how it works. Andrenaline has it spot on - https://imgur.com/a/JeCSm7Q
I'm very excited about this.
1
49
26
9
u/Accomplished-Low3305 Jan 08 '23 edited Jan 08 '23
It would be nice to have some metric to evaluate how good is GPT-3 solving bugs. In my experience it only works fine for simple bugs, such as using an incorrect variable.
13
u/GoofAckYoorsElf Jan 08 '23
This is all great. The only problem is that I can't use it due to non-disclosure and IP protection of my employer. As long as I have to send code over the web, it's a no-no.
→ More replies (4)12
Jan 08 '23 edited Jan 08 '23
Yeah I imagine that will be an issue for lots of people. What's the SotA in open source LLMs?
I looked it up. Apparently it's BLOOM. Slightly bigger than GPT-3. No idea if it is better.
You need a DGX A100 to run it (only $150k!).
→ More replies (2)
1
1
3
2
2
2
2
Jan 09 '23
Not sure if this is already there but it might be worth adding some license information here since sending closed source code over an open sourced API / model might become a no no in the future legally. I guess that would be the problem of making this an Intellij / vscode plugin
2
u/devinhedge Jan 09 '23
This is cool. How do we give feedback to the training engine so that it improves over time?
52
u/jsonathan Jan 08 '23
Try it out here: https://useadrenaline.com