13
submitted 1 day ago by Oskar@piefed.social to c/fosai@lemmy.world

There are lots of general-purpose models to use locally, and also coding-specific models.

But are there models specialized in one programming language? My thought was that a model that only needs to handle one language (e.g. Python) could be faster, or be better for a given size.

E.g If I need to code in Rust and is limited to an 8B model to run locally, I was hoping to get better results with a model that is narrower. I don't need it to be able to help with Java.

This approach would of course require switching models, but that's no problem for me.

you are viewing a single comment's thread
view the rest of the comments
[-] Yomope@lemmy.ml 3 points 1 day ago

I’m pretty sure this would not produce better output. Ai has a « thought » of his own.limiting is approach to be pure python won’t offer you the link it can see with a Java approach. With a more diverse knowledge, it can generate a more unique output. Not forcing it to be readable by human may give a more efficient solution. Kinda like compiled code.

[-] Oisteink@feddit.nl 2 points 1 day ago

I’d say it depends. Some patterns will be different. Like trying to create zig code when the LLM is trained mostly on javascript and python.

this post was submitted on 22 Feb 2025
13 points (100.0% liked)

Free Open-Source Artificial Intelligence

3139 readers
1 users here now

Welcome to Free Open-Source Artificial Intelligence!

We are a community dedicated to forwarding the availability and access to:

Free Open Source Artificial Intelligence (F.O.S.A.I.)

More AI Communities

LLM Leaderboards

Developer Resources

GitHub Projects

FOSAI Time Capsule

founded 2 years ago
MODERATORS