Viewing a single comment thread. View all comments

SaucyLoggins t1_j3wlim6 wrote

Yeah, why limit it to one area. They'll probably incorporate it into Visual Studio.

64

SwitchOrganic t1_j3wpejh wrote

I could see Github Copilot getting a significant rehaul.

37

--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

Deeviant t1_j42d8cr wrote

Honestly, I don't need AI to write the code for me (If it can, cool, but that seems way further out), but if it could write tests for me, I'd give my left <insert_body_part> for it.

1

RandomCandor t1_j3wwj98 wrote

From my experience with it's incredible coding abilities, i expect ChatGPT to explode in this area first and foremost

2

Agreeable-Tomatillo2 t1_j3z2xc4 wrote

You clearly don’t write any type of complex code, nor anything that deals with basic numbers. Chat gpt couldn’t even tell me the correct biggest exponent of 2 in a list of 10 items lmfao

−10

RandomCandor t1_j3z608k wrote

> Chat gpt couldn’t even tell me the correct biggest exponent of 2 in a list of 10 items lmfao

You're confusing mathematics and software engineering. It's a very typical junior mistake, nothing to be embarrassed by. Once you've been doing this professionally for 3 decades like I have, you will (probably) not make that kind of dumb mistake.

8

visarga t1_j4157w3 wrote

Of course the code fails at first run. My code fails at first run, too. But I can iterate. If MS allows feedback from the debugger, the model could fix most of its errors.

And when you want to solve a quantitative question the best way is to ask for a Python script that would print the answer when executed.

2