Viewing a single comment thread. View all comments

--algo t1_j3x812s wrote

Github copilot and chatgpt are built on the EXACT same apis. What would be different?

26

SwitchOrganic t1_j3x9e5w wrote

While both are modified GPT3 models, Github Copilot is designed specifically to produce code while ChatGPT is a more general chat bot.

I could see them combining outputs, with ChatGPT generating a description/explanation while Copilot generates the code itself. ChatGPT can also parse a wider variety of inputs than Github Copilot. For example, you can ask ChatGPT "Can you find the error in this code?" while I'm pretty sure you can't ask Github Copilot that; but I haven't used Copilot since it left beta.

19

londons_explorer t1_j3xa6n2 wrote

> while I'm pretty sure you can't ask Github Copilot that

You can comment out the code, then write underneath:

"# Version above not working due to TypeError. Fixed version below:"

Then use Copilot completion. It will fix whatever the bug was.

31

SwitchOrganic t1_j3xah1u wrote

Oh interesting, that's a pretty clever solution.

Thanks for sharing!

12

Top_Lime1820 t1_j41sr9w wrote

Also you can ask CoPilot questions. Type your question in a comment after q:. Then create a new comment that starts with a: and it'll answer your question

# q: Which are the most popular R packages for plotting?

# a:

1

satireplusplus t1_j3xkvn2 wrote

What ChatGPT does really well is dialog and its useful for programming as well. You ask it to write a bash script, but it messes up a line. You tell it line number 9 didn't work and you ask it to fix it. It comes up with a fixed solution that runs. Really cool.

6

visarga t1_j414x9n wrote

Copilot is not prompt-tuned, chatGPT would understand new tasks much easier.

1

GeoLyinX t1_j404nv8 wrote

No they are not, they are 2 different api’s and even 2 distinct AI models. It’s not just a different api that uses the same AI differently, it’s an entirely different model together with different output layer parameters and likely the input layers as well, just both models based originally based off GPT3 for their hidden layers mostly.

7

--algo t1_j40j84w wrote

We are both right and wrong. To be pedantic, it's this paper for both https://arxiv.org/abs/2203.02155 but with different training data

1

Hyper1on t1_j43crwx wrote

That's the InstructGPT paper, which is right for ChatGPT, but Copilot is based on Codex, which does not use RLHF.

3