Well, we do have transcribot, but even running ocr.space (which is one of the best OCR API's in the world), it really doesn't do well for code. This was its attempt at this post.
I don't know if some people might still try to correct the attempts, I'd generally advise against it given how bad they can be, and I do mine completely by hand. For ones with lots of repetition, like this one, copy-paste makes it a lot easier, though. =)
It's not that it's not perfect. My manual transcriptions often have a couple of small mistakes. The bot's attempts at code are often, especially with large posts, just so botched that there really is no way you can copy them directly, and fixing them takes just as log as doing it by hand (at least for me).
And even if most people don't notice, as transcribers providing a service, to preserve the integrity of that service, we still need to try and get it as close as we can. We'll likely miss something, yes, but just copying the bot and saying "eh, good enough" without even looking it over once, even if the bot were mostly accurate, would not be acceptable.
and I hit the ground running and I hit the ground running and I hit the ground running and I hit the ground running and I hit the ground running and I hit the ground running and I hit the ground running
I don’t think he wants it but I think it’s a big o deal for him lol he just said that I was like yo he said I was like oh yeah I know it’s not that bad lol lol but he was so sweet he got me and I got him and I got his big bag of the trailer lol he was so nice he was like I said I was just like he said I don’t know if I was going there but he said he would be here in like five hours he was like he said he would like it he was so nice he said I don’t know if I was going there he said I don’t think I can get it lol lol I was just a big boy and he said I was just a big boy and I was just a little bit of it but I was just a big boy and I was just a little bit of it but I
I am going to the airport by the end of the week and I will be there on the 15th and I will be there on the 15th and I will be there on the 15th and I will be there on the 15th
Well, we do have transcribot, but even running ocr.space (which is one of the best OCR API's in the world), it really doesn't do well for code. This was its attempt at this post.
This happens in Rust projects a lot for me. I have found that creating a new file, and just typing the first line of a struct is a good way to cause copilot to go down a rabbit hole.
Weird, I've found the complete opposite. It's constantly finishing lines for me or making full complex functions based on a comment, not to mention reminding me of syntax in languages I'm not as familiar with. What languages do you work in? Node.js and Bash have been working great.
Just so we are on the same page, because your comment sounds really out of touch from here,
Github Co-Pilot, the machine learning code completion tool, that was taught based on open source code with dubious licensing, is "test[ing] transitions in massive open world video games" ??
One, that seems awfully awfully so domain specific I have doubts it could generate the code, and
2. "That can't happen. We don't pass input through like that."
I informally call these "weird loops," and they're still a little too common in Copilot. I've talked to the Copilot team and they are aware of them, so I assume it'll get better over time.
It's a known issue in language generation models. It's called degeneration (if I'm right). Copilot will usually generate this garbage when you ask it to generate more than what it should be asked for. For example, first few lines are correct but then if you want it to generate more it'll just start spitting out patterns like these.
So, why the dumb question "who and why did it in their code"? OP is so uneducated that they don't know it's a Neural Network generating suggestions, not some "code"?..
Copilot was trained on other people's code, which means it will occasionally regurgitate code it was trained on when it doesn't have enough context. OP might be assuming this is what's going on, or just wondering how Copilot could've learned this behavior.
It's a very surface-level observation, since GPT-3 is a lot more sophisticated than just simple pattern recognition, but...
GIGO. You can instantly train copilot to do things like this if you give it a very little prompt. I'm terrified to do it though, just in case it will try to recommend it to me again in the future.
178
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Oct 16 '21
Image Transcription: Code with GitHub Copilot Suggestion
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
93
u/how_do_i_read Oct 16 '21
It's telling you to run.
63
u/zdakat Oct 16 '21
reminds me of when mobile autocomplete generates loops of phrases.
32
u/xxkmatiasxx Oct 16 '21
recursion
54
u/waiting4op2deliver Oct 16 '21
RIP to those folks that translate images around here for accessibility reasons
13
u/ewpratten Oct 16 '21
This happens in Rust projects a lot for me. I have found that creating a new file, and just typing the first line of a struct is a good way to cause copilot to go down a rabbit hole.
5
u/tomjuggler Oct 16 '21
I was so excited when co-pilot landed, but have found its pretty much useless in the long run, not to mention dangerous.
8
u/annoyed_freelancer Oct 16 '21
The nice curve is kinda soothing
7
u/postpunkjustin Oct 16 '21
I informally call these "weird loops," and they're still a little too common in Copilot. I've talked to the Copilot team and they are aware of them, so I assume it'll get better over time.
6
u/exodusTay Oct 16 '21
and they dont stop comin
6
u/xmcqdpt2 Oct 16 '21
Them: The AI revolution will change the nature of work! See how you can adapt in this fast changing world.
AI:
5
u/tekion23 Oct 16 '21
Funny. I still wait for GitHub to give me access for Copilot
5
u/[deleted] Oct 16 '21
It's nice to know my job isn't being automated away anytime soon.
2
u/delcontra Oct 16 '21
this loop effect is really common with language machine learning models
2
u/ywBBxNqW Oct 16 '21
It's ASCII art.
1
u/RepresentativeWay0 Oct 16 '21
Repeating outputs are a common quirk of transformer language models. I doubt anyone actually did this.
1
u/Mehmetkayprogramming Oct 16 '21
Maybe it is art.
1
u/captainRubik_ Oct 31 '21
It's a known issue in language generation models. It's called degeneration (if I'm right). Copilot will usually generate this garbage when you ask it to generate more than what it should be asked for. For example, first few lines are correct but then if you want it to generate more it'll just start spitting out patterns like these.
-3
u/RedditAcc-92975 Oct 16 '21
Wait, this is not copilot source code, right? You just hit "suggest" 1000 times, right?
0
u/[deleted] Oct 16 '21
[deleted] — view deleted comment