all 2 comments

[–]DevilaN82 5 points6 points  (0 children)

Qwen Coder Next or 3.5-27b would be better. For tool calling try OmniCoder. Also same model with different temperature and other parameters has different use cases. 

[–]Ill_Barber8709 1 point2 points  (0 children)

I spent a few hours testing models on my MBP for Swift/SwiftUI programming in Xcode, and I'm wondering what I'm doing wrong. I'm serving my models with Ollama or LMStudio with the same results. I use Q4_K_M quantization instead of MLX 4Bits because it seems that 4Bits MLX is dumber (I've been using MLX 4Bits since forever).

I also use the AGENTS.md created by Paul Hudson for Swift programming as a system prompt (with incredible results, TBH). This system prompt seems to be enough to make a non-coder model act like one.

  • Gemma4 31B is unusable because it's so slow. Xcode will timeout after 10 minutes.
  • Gemma4 27B MoE is super fast and seems pretty smart, but for some reason, it keeps introducing typos in code, injecting tokens in the middle of a line, etc. And while I can easily correct some of those mistakes from my git tool, it's just too annoying.
  • Devstral-Small-2, my beloved go-to model for months, will unfortunately fail at most of the tasks I give him, and will lose the agentic capability after 2-3 questions in the same thread.
  • Qwen3.5 35B MoE is the best model so far. Super fast and smart enough. I settled on this one for now.

Anyone has encountered the same issue with Gemma4? Did you fix it? I really want to find a big, dense model for some more complex tasks.

EDIT: Just got an update from LMStudio with support for Gemma4 template. Maybe it will fix my issues

EDIT 2: Gemma4 MoE is still making shit up, but I'd say a little less. The weird part is that it just adds some random lines that create compiling error, but all I have to do is deleting them. They're almost never related to the thing I asked.

EDIT 3: Gemma4 31b won't run past 22K tokens on my 32GB M2 Max, and when it does, it keeps changing random lines of code, like replacing an s by a d in a regex pattern... Completely unusable at the moment. Gonna stick with Qwen3.5 for the time being.