Follow

Are folks using copilots for generating code successfully? Mine gets confused on syntax a bunch but it's a local model which is general rather than code specific. Like I wonder if I am prompting it poorly or something

· · Web · 4 · 0 · 0

@mauve they're great for generating bugs you won't know how to fix later

@cwebber Is this from personal experience and finding out or second hand from what others have said?

@mauve From reading multiple papers studying the effects of code assistants

@cwebber Interesting. My main frustratiom is thatthe code it write just isn't anywhere near the quality I need and it generates stuff that barely makes sense. I've mostly been exploring this as an alternative to speech to text coding and for doing some quick formatting but so far it's just sucked. Even very junior devs need less hand holding and reviews

@mauve @cwebber

absolutely same experience.

i can only imagine that some ppl doing more mainstream or generic programming tasks get some off-the-shelf templates that kinda help?

I even went through various exercises with and without the help of chatgpt to see if there is any improvement in quality or speed, but for the life of me cant make it produce anything useful that would be in any way an improvement over doing it all on my own.

It feels more like me teaching and babysitting chat gpt

@mauve @cwebber how involved are your code samples ? Have you tried to compare them against chatgpt 3.5 or 4?

@fleeky I only use locally runnable models so I have no clue how well it compares to the big corpo ones. 🤷 Sadly the code Ibwas using this on is a proprietary codebase so I can't share it. I ended uo deleting and rewriting myself like three times. It was some pretty basic cli arg parsing code tho

@mauve *edit* have a feels that quantizing a model down definitely impacts it's effectiveness.. I definitely have suboptimal results with local models unfortunately. I think there are definitely ways to improve it but that is it's own super deep research project...

@mauve i havent been able to try it personally but this person made there own fine tuned model for godot coding and supposedly it has good results.

basically if you want good local results you probably have to fine tune some model , boo ..

github.com/minosvasilias/godot

@fleeky yeah sadly fine tuning needs way more resources than I have available. :( Maybe if I get an egpu?

@cwebber Okay, now I’m interested.

Competitive coding? Pass.

Unintuitive buggy code? Yes. 😃

I will not be beat! 😆

@mauve

@mauve Based on what I've read from others who have tried using copilot to generate code, the problem is that because it's an LLM AI with no actual knowledge of coding practices, it simply sucks ate generating working code if it can't find a known working piece of code to crib from.

@mauve For languages I know the generators only slow me down. When I don't know the language and I just need a snippet or two I've had some luck getting a generator to suggest a basic strategy and useful syntax but then I end up rewriting it. So, not useless but also not terribly helpful.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.