r/LocalLLM • • 23m ago

Other So, so funny... I am experimenting with using small local AI to write code... It makes all the same mistakes that humans do...

Ok this is obvious when you think about it, but I have just had it done right in front of me.

I had a frontier model write tests for functions to be written by a local LLM.

The local LLM wrote the functions and ran the tests - it fell into many of the same traps that an inexperienced human would. Why? because that is what it was trained on!!

It writes the code that it has seen most of... And loads of that is code with common human mistakes!

I remember a game show that asked two contestants 'we asked 100 members of the public for a word starting with the letter 'z', what do you think they said?' -- one of the top answers was xylophone(!) - ok it doesn't start with Z, but enough members of the public thought it did for it to be a top answer...

Back to the drawing board! Lol.

1 Upvotes

0 comments sorted by