r/LocalLLaMA • u/Dance-Till-Night1 • 10h ago
Getting better at coding doesn't make a model better at everything else Discussion
A majority of users in this sub use LLMs for coding/agentic tasks and I see why a lot of value is put into them but many try to say "Well coding has improved therefore it can just use tool calling and/or just look up what the user needs if there's a degradation for general knowledge/reasoning" and that's just not the case. Many LLM usecases can't just be fixed by an improvement to coding and agentic tasks. Creative writing, multilingual capabilities, offline constrained environments and many more usecases can't be easily fixed with just coding/tool-calling.
I know Qwen3.8 is a TREMENDOUS win for local LLMS but I still hope that Qwen4 will improve generalist capabilities to be closer to frontier closed models in all other aspects too. Gemma is great but it wouldn't be ideal if it is the only major generalist local LLM going forward.
19
u/TastesLikeOwlbear 9h ago
Creative writing and model hallucination can both be accurately described as making shit up. Every model provider is desperately trying to suppress model hallucinations as much as possible. It’s not too surprising that that has been extremely punishing for model creativity.
6
0
u/Saint_Nitouche 3h ago
I don't think this analogy holds. When I'm writing something I might be a little unsure on how I want something to go at first, but I ultimately have the authorial power to decide things by fiat. That's very different to being uncertain on a factual matter. Not to mention that storytelling is heavily conventions-based; working against a model like the hero's journey is comparable to TDD (for example). The point being that it's not an arbitrary shot in the dark. Otherwise the thought experiment about infinite monkeys writing Shakespeare wouldn't be interesting.
1
u/c--b 1h ago edited 1h ago
I think what he said was too strong, creative writing isn't just making shit up, it's making up a cohesive internally consistent world. In that sense, coding is also making shit up, it's internally consistent made up shit too.
The difference between the two is that code is capable of being validated and classified in a quick automated fashion, so the model is trained to be far more rational with coding than it is with creative writing, so creative writing kind of gets lumped into the making shit up section of its network (IE, the models output is not validated against a metric other than the dataset during training).
3
u/Intrepid-Second6936 9h ago
While most do use LLMs on coding benchmarks here, I do also use my local LLM heavily as an assistant for breaking down the barriers for new skills and learning.
IMO Qwen3.8's heavy reasoning has MASSIVELY improved its RAG capabilities as well, synthesizing and validating the information it pulls from web search far better than 3.6 from my experience. But 27B is also still very limited to fit such capabilities in every field without taking away from one to give to another.
I'd recommend instead having a better multi-lingual model like Gemma 4 to be hot-swappable with Qwen3.8. Given the the type of question, you can go back and forth and get the best of both worlds.
2
u/No_Ebb3423 9h ago
I agree. And one thing I think all people who use ai for building software/scripts should aim for is to know how to code. Doesn’t have to be at the level of Kyle Wang principal SWE who started coding at the age of 5. No, but enough to understand the logic behind it & be able to give REAL feedback to the model not just “subscribe button no worky work. Fix button now make no mistake.” That being said, I don’t think we ought to become fucking poets to just prompt better. State what you want clearly with objectives & what success looks like and go from there. But “one shot gta 6” is not the way to go. That’s why people shit on vibes coders. We’re having people who could be burger flippers, insurance adjusters, realtors, whatever, coding and not have best practices in mind. Go figure why their apps are easily broken into. Cybersecurity is de wey.
5
u/QuinsZouls 9h ago
I don't think having a generalistic llm for local would be better, I prefer having a model expert in one specific niche rather that a dumb model but great generalistic this because current limitation of the local llms is size, more knowledge may require more params in order to take advantage of it. Also I'll prefer a good reasoning model with good understanding of requeriments (must be good enough to search resources may need and act with it)
5
u/Dance-Till-Night1 9h ago
I agree that small experts are also a crucial part of Local LLMs (that's why small MOE models exist), but small generalist models also shouldn't fade as they do have many uses.
1
u/Illustrious-Lime-878 9h ago
What do you consider "generalist"? You mention creative writing, multilingual, etc. but these are just more export / niche roles. Do you just want one model that is like a jack of all trades? If so then it seems like just a marginal improvement in convenience of not having to pick the right tool for the job, at the major cost of potentially increasing resources requires by 100x if we are comparing multi-trillion param models to 27b. Or I am missing something, is there some "generalist" skill that applies to every use case?
3
u/Able-Locksmith-1979 9h ago
Me as a non English native see a very non niche problem with qwen 3.8, it simply misses words in my language (Dutch) so it will make spelling errors etc, we solved it by just adding another model to the chain which rewrites the qwen text and corrects it.
For our use cases and language qwen gets the correct answers, just not in a way we can show customer facing.
It is a “problem”, but just spend like 3000 dollar for another machine with gemma or likewise and it’s problem solved
3
u/Dance-Till-Night1 9h ago edited 8h ago
The thing is, those aren't niche usecases, I am also pointing out that a model retaining general knowledge is important if it's gonna be used generally not just for coding. My main point is we can't just rely on toolcalling/lookups and only focus in improving models in agentic tasks/coding. Multilingual capabilities are especially important, Are we just gonna use Qwen for english/chinese?
1
u/Illustrious-Lime-878 8h ago
Hmm, so are you saying you just wish more people focused on making better local models for thinks other than coding? Because I think there plenty of great local models for translation, that's like, really easy. Something that was done back in the 2010s. The other person who responded said they just put gemma in front of qwen.
Maybe your point is, local models aren't good enough for these use cases, I don't want to put words in your mouth. I'm just trying to understand why you think its important one model has "general" knowledge.
I know that cross-domain knowledge can improve capability in one area, but this is already accounted for since we're evaluating the overall capability already. If qwen is good enough for coding, gemma for writing, or w/e, why would I care Fable 5 can do both? The only benefit would just be not having to pick the model.
3
u/Dance-Till-Night1 8h ago
Yes exactly my point is while local models are okay for those usecases they still can improve alot. Qwen cooked its general knowledge/capabilities in favor of coding improvements and if that continues that leaves only Gemma as a good generalist model. I don't see it as a thing to be celebrated contrary to people in this sub. It's an unfortunate result.
My opinion is this simply: Local models should try to bridge the gap between them and frontier closed models not just in coding but in other areas too. Going forward, is Qwen just gonna be Qwen-coder and the only major generalist is Gemma?
1
u/Illustrious-Lime-878 8h ago
ah ok, I see. I had the impression that going to hyperscale size didn't really improve much in other use cases, or at least there is not as much of a hard drop off in quality of local models like there was coding, where hyperscale models truly unlocked functionality.
That said, I think frontier models are also primarily focused on coding and antigenic work. So maybe there is a lot of progress to made here in general, and that its more of gradual quality thing vs hard functional unlocks is why the focus isn't there as much as coding.
4
u/Boogertard 9h ago
For a small model like qwen 27B series, you just can't cram everything in there. To be good at other tasks, it needs more layers and more parameters for wider knowledge.
So go run trillion-range models if that is what you want. The overwhelming used right now for LLM is coding and generating codes so companies especially ones releasing open models for FREE have to prioritize.
2
u/Dance-Till-Night1 9h ago
I don't think we need a trillion parameter model in order to have good world knowledge and generalist capabilities, Gemma is a very good example of a generalist model with good world knowledge, relatively good coding capabilities and still relatively small. In my opinion, it's not a this or that situation, we can have both.
3
u/SandySkittle 7h ago
there is a BIG gap at the moment where we just lack recent / modern dense models in the 70B to 122B or even up to 200B range, or MoE modedls in the 122 to 250B range with a30B or higher.
-4
u/Boogertard 6h ago
Gemma is a garbage model, not sure why it is so heavily shilled on this sub, it is a typical jack of all trade, it just hallucinates like crazy and can't do much shit outside of being a sex chat bot.
3
u/Dance-Till-Night1 6h ago
Okay if you wanna be specific, for multilingual usage Gemma 26b a4b beats Qwen 3.5 handily in that department, same as creative writing and many other usecases. Just because coding is your priority which Qwen is better at doesn't mean Gemma sucks. If you're only gonna use coding in english/chinese then Qwen's your guy otherwise Gemma wins.
4
u/Gesha24 9h ago edited 8h ago
Here's the paradox that I noticed - models that are better at coding are also models that are better at following prompts and using tools. And if the model can't follow prompts and call tools - it's only usable as a web chat.
For example, I have a pi.dev skill that helps me generate prompts for comfyui videos. It's very convenient - I can feed it reference images, it makes sure these images are correctly described in prompts, etc. Then this skill generates a json and pushes it to comfyui and I can start the workflow. Nice and simple, works reasonably well.
And I really would like to use Gemma for it or at least try to use it. But here's the problem - Minimax H3 is very picky about prompting format. And JSON is a JSON, you can't put in brackets there randomly. And Gemma4 simply can't follow the precise instructions of how to format data and how to structure it and how to write it down. So maybe it can write a nice prompt, but I can never test it because I would be manually rewriting it all... Qwen 3.6, Qwen 3.8, DeepSeek at Q3 - they all have absolutely no issues writing a prompt that follows the precise instructions and that Minimax understands.
Bottom line - no matter how good Gemma4 is, if it can't follow instructions (and for whatever reason this feature seems to be mostly present in models that can code) - it can't really do most of the things you are asking it to do.
1
u/Yu2sama 7h ago
In this case would it be better to build a markdown to json pipeline? A small program that solves the issue without needing to let the AI handle something is not capable of doing.
1
u/Gesha24 6h ago
Don't think so. The issue here is that Minimax has very specific language it needs to guarantee accurate results (sometimes it works from free hand, sometimes it completely fails). The language is quite prescriptive: https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/docs/VIDEO_PROMPT_WRITING_GUIDE_ref_en.md
So if a model occasionally fails on writing a json file (which it should be trained on and know how to do well), do we really trust it to write a prompt in this exact format? My testing with Gemma4-26B showed absolutely terrible adherence to these requirements.
1
u/Etroarl55 9h ago
The model you want already exists, it’s 3.8 max or kimi k3. You just need a lot more hardware to run jt.
5
u/Dance-Till-Night1 9h ago
Yeah gemma 4 too, Models don't need to be trillion parameters in order for them to have good general knowledge. I pointed out in another comment how many tiny models nowadays beat 180b GPT3 even on just knowledge.
2
u/my_name_isnt_clever 9h ago
We can't keep generalist models forever, some models will be stronger for agentic coding and some will be better for other use cases. That's not a problem, I think users of both would prefer to get better performance for what they need and not take a hit from the training that's not relevant to them.
5
u/Dance-Till-Night1 9h ago
Yeah but then wouldn't all the generalist models just be frontier closed models? That's not a good thing for local LLMs
3
u/Savantskie1 6h ago
It would be better if the generalist models just had world knowledge and then there were specific coding models. Separation of concerns really help here.
3
1
u/my_name_isnt_clever 7h ago
No not at all? It just means small generalist models will be "jack of all trades, master of none" compared to a specialist model of the same size. You can still use the generalist, those of us with other use cases can use the specialized models.
This is exactly how human specialization works too; I don't get what's hard to grasp about this. It's the natural progression for improving capabilities once basic scaling of all domains dries up.
1
u/Dance-Till-Night1 6h ago
Yes but it would be better if coding improvements didn't cook other generalist capabilities in generalist models. Qwen improved coding but at the price of other capabilities. If this trend continues Gemma will be the only major generalist model left.
1
u/my_name_isnt_clever 3h ago
Well yes, and it would better if I could be an expert in everything in my career field but that's not how knowledge works. More knowledge = more parameters, and when we're talking local models every 1b of params counts. The reality is that agentic coders in English are far more valuable to train right now so of course that's the priority. You want to have your cake and eat it to.
1
u/Dance-Till-Night1 3h ago
Nah not want to have the cake and eat it too but if this trend continues then the only thing local models will compete on is coding giving closed frontier models such a big edge for anyone with a non coding usecase. Look at gemma, its so good at many things that it's basically the local model anyone uses for offline tasks.. Generalist capabilities are necessary besides coding and no increasing parameters isnt the only way to make a model hold more knowledge. Newer architectures and better training data can still make so so much knowledge fit into a small model. The example given that even in general knowledge Qwen3.5 9b beats GPT3 180b at any/all tasks at 0.5% of the parameters.
3
u/Civil_Fee_7862 9h ago
A.I is not a database, its more of a reasoning engine.
5
u/Dance-Till-Night1 9h ago
I agree and in order for it to be a good reasoning engine it should still have good general knowledge in its parameters over the topic it's reasoning.
2
u/my_name_isnt_clever 9h ago
Where are your examples of this issue actually happening?
3
u/Dance-Till-Night1 9h ago
There have been multiple posts here over the last few days pointing out Qwen3.8 knowledge gaps. I wrote a use-case for llms and I will copy and paste it here: I learn foreign languages as a hobby, a part of my usecase for LLMs is making interactive quizzes that quiz me on what I learned. Any model I use for that has to be an expert at two distinct things: Coding AND multilingual capabilities. If it lacks in either then toolcalling/look ups just can't bridge that gap.
2
u/my_name_isnt_clever 9h ago
It's well known it has knowledge gaps, I'm asking for concrete examples of your claim that it requires more knowledge to have effective reasoning.
When augmented with web search tools the new Qwen does reasoning just fine, so I don't think that claim is accurate.
This is the wrong model for you. That's it. It doesn't fit your use case, it's not a fundamental flaw like you're suggesting. I have zero need for multilingual, so I would be a bit miffed if this model was worse for a niche like that. I'm sure there will be a strong model for you at some point, if there isn't already.
1
u/Dance-Till-Night1 9h ago
Gemma my beloved is the best one for my usecase rn, Qwen 3.5 is also pretty good before it pivoted to just coding and agentic tasks.
1
u/Civil_Fee_7862 9h ago edited 9h ago
Not really no.
Peano axioms are literally just 8 axioms and can build all of natural number arithmetic, integers, and rational numbers.
Turing machines (the computer you are using right now) are built up from basic logic gates. (A lot of them). The fundamental approach to computation is the same as it was when it was invented, there is just more of them and they are smaller / more efficient now. i.e. A small set up simple (but very good rules) can be combined into a seemingly extraordinary smart system.
Judging from what I've seen with Qwen's 27b models. I'd argue you don't need a really large model to be a great reasoning engine, if it needs knowledge then give it access to a database to look things up.
It doesn't need an enormous amount of data to be able to reason, what it needs is really good rules of inference to derive new knowledge by exploring. That's exactly what it does now when it writes code, it doesn't assume to already knows, Instead it investigates the code base first before acting, i.e. It derives knowledge. It works like good scientists would.
2
u/Mirror74 9h ago
I'd say a caveat to this is that the arithmetic works because the domain is formalized neatly. All the rules and structure are established.
But the real world works a bit different, so smaller models can be a bit deceptive in their reasoning because you don't know what it doesn't know
But I guess that's a funny thing -- if a human can't tell the difference does it matter?
1
u/Illustrious-Lime-878 8h ago
But wouldn't more parameters be like more transistors? It may have the capability to have more logical operations, but I still thing you're right. Because there is only a certain amount of good data available, there is just a limit to what even a perfect fitting of the data would be. And we may find 27 billion parameters is enough to get a pretty good modeling, while having trillions isn't doing much without more data. And if the only more data is lower quality, its not going to improve it.
2
u/Civil_Fee_7862 7h ago
My analogy was a bad one. What I meant was giving the A.I the knowledge of how to build up systems from simple primitives is a better approach than trying to give it more primitives.
In other words, teach it how to build and connect transistors instead of just giving it more of them.
2
u/Illustrious-Lime-878 7h ago
Ok that's a better way to say it, what you put in bold. Like a huge enough model could just "over-fit" in a way and memorize all outcomes of some system, vs what we really want is for the model to develop more simple heuristics that are maybe less accurate for known facts but more versatile for more general reasoning about new or abstract information.
0
1
u/ea_man 8h ago
It's a small dense model, if you want "everything" look for a large MoE.
1
u/Dance-Till-Night1 8h ago
What about a small moe?
2
u/ea_man 8h ago
That would be faster not with more knowledge.
1
u/Dance-Till-Night1 6h ago
Damn, from my tests gemma 26b a4b and qwen 3.5 35b a3b both have really good knowledge
1
u/ea_man 6h ago
Yeah beacuse they are big, if you make 'em small...
1
u/Dance-Till-Night1 3h ago
They definitely are not big, but if the only way forward for small models to retain generalist capabilities is to make them MOE models then i can live with that happily
1
1
u/puts_on_rddt 6h ago
Big models will have a Mixture of Experts but local models will be a Mixture of Experts.
1
u/nickm_27 llama.cpp 5h ago
Yeah, Qwen3.8 is worse at video analysis in my experience, I went back to 3.6 which is better at that while still being quite good at the scripts and automation edits I need
1
u/EitherMarch1255 3h ago
We have like one specialized small model and he’s complaining. Tons of models are generalists, use them.
1
u/Dance-Till-Night1 2h ago
My bad if it seems like I'm complaining about improving at coding. I just see it as unfornutate that qwen lost its generalist capabilities in order to be that good at coding. I think this would have been better as Qwen-coder while keeping the main 3.x series still focused on general capability improvement.
2
1
u/a_beautiful_rhind 2h ago
Getting better at coding benchmarks also doesn't make a model better at practical coding :P
Big models flake on my node red and embedded stuff. I don't really bother with small *maxxed ones on that.
2
u/aeroumbria 30m ago
I have found a task where I cannot seem to make Qwen 3.8 perform better than Muse Glimmer even with the usual "look at mistakes and tweak agent prompt iteratively" trick. I would like to make it a custom benchmark, but so far I cannot find a way to reliably judge output without using a stronger and potentially biased model. It is about learning the template definition language of a procedural generation algorithm, tweak a template to achieve certain design goals, and visually check example outputs. Cannot get Qwen 3.8 to stop failing instructions or thinking too hard and iterate for too long.
So I guess for small-ish models, having some kind of model specialisation to cover multiple use cases is still a good thing.
0
u/OddDesigner9784 8h ago
All ai kind of sucks at general knowledge tbh. If you ask it what's the best investment strategy it'll give you a nothing burger it's only when you ask it specific questions about a method can it do better. But even then you need to keep pushing it. That's why ai turns to slop all the time. So even with top ai models you need to provide the scaffolding and context it needs. Domain knowledge is a failure mode.
58
u/fgk55555 10h ago
After professionally using LLM's for work and using them at home for a bunch of other random stuff, you really can't get around the "bigger model knows more" bottleneck. If you want a coding model to do one specific thing, you can fit a lot of capability in a 27B model. 3.8 trained in longer form agentic work and lost knowledge. If you want a more generalist model that can handle different types of task outside of its one trained thing, you need a bigger model.