Viewing a single comment thread. View all comments

huitu34 t1_iznp3nl wrote

cool idea! Is there a way to bring this into notebooks? And even better: as a vscode extension?

209

senobrd t1_izo58tx wrote

There is GitHub CoPilot available as a VS Code extension, it uses OpenAI’s Codex model, I assume ChatGPT is accessing Codex under the hood when it receives a programming related inquiry, but I could totally be wrong.

As a side note, Copilot seems like a bit of a privacy concern so I would personally be wary of using it with any private or commercial projects.

55

RomanRiesen t1_izp8la9 wrote

No. The whole chatgpt/gpt-3.5 model builds on code-davinci-002 (which is maybe the one tuned for copilot, but I don't think this has been said publicly).

So amy prompt to chatgpt is a prompt to a differently fine-tuned version of copilot (or copilot-like).

28

Hyper1on t1_izqmn2n wrote

Copilot is a 12B model (for inference speed), chatGPT is the 175B one, not specifically trained on code I'm pretty sure. So chatGPT should give better results on average because of the better model.

10

Acceptable-Cress-374 t1_izrzi76 wrote

I also found it impressive that it explains in plain language what insights it gets from the code. That's a very big improvement over openpilot.

3

jsonathan OP t1_izszyra wrote

Working on something better than an extension. Coming soon.

5