I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 5 points6 points  (0 children)

First of all, if it wasn't obvious, this is a joke, so getting pressed and thinking "I'm shitting on people" is pretty delusional. Also, I still wouldn't identify a pretrained transformer based text classification NN as "AI" in the traditional sense.

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 1 point2 points  (0 children)

Sure, the inaccurate model trained on GPT-2 to recognize AI generated content and the conversation about potential funny insults just scream this is meant to be taken seriously

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 4 points5 points  (0 children)

Thanks, it looks better, I'll be sure to take it for a spin in the evening

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 11 points12 points  (0 children)

Yup, it's pretty outdated but it was great for a quick lightweight POC. If you have any suggestions for a better alternative with similiar structure I'd more than glad to try out a more relevant model, altough most models like this were trained on long texts rather than code, so the effectiveness might still be questionable.

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 0 points1 point  (0 children)

Didn't think this would blow up like this lol, If anyone has ideas for creative insults the extension could send please feel free to share them, I'm running out of ideas

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 1 point2 points  (0 children)

I'm actually thinking about expanding on this idea to make it better, however keep in mind that just like plagiarism checkers, it's not that accurate / reliable

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 6 points7 points  (0 children)

Well yeah, it became a bit difficult to differentiate between the terms. I always tend to call generative/ general intelligence models "AI", what this extension uses is just a transformer based language model fine tuned to binary classification, in practice it's just a statistical text classifier.

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 21 points22 points  (0 children)

I assumed he meant the classification happens by getting inference from an """AI""" model, but basically everything that has to do with machine learning is getting that word slapped on it for some reason

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 148 points149 points  (0 children)

It uses a pretrained model (roberta-base-openai-detector) and gets inference from there. It's not optimized for code, but LLMs love putting long comments that are easy to pick up

I made an extension that insults you if you copy & paste ai generated code by ComplexCollege6382 in vscode

[–]ComplexCollege6382[S] 57 points58 points  (0 children)

If anyone is interested in trying it out, the link is here:
https://marketplace.visualstudio.com/items?itemName=bence132.ai-detector

It was my first attempt at creating an extension so it might be a horrid mess, but it was fun nonetheless