Unsloth's collection as well [0], with their results [1]. Looks like they can get very close to 100% accuracy compared to the BF16 model that is unquantized, and Unsloth's quants are better than the original Google's QAT as posted in the article. Personal I'm using the 2B model for web search and structured JSON output back via Unsloth Studio and its API, works very well for that even with the model embedded on phone…
Is this [0] saying that unsloth's versions of Google's QAT models are better than Google's own QAT models? Or am I not understanding it correctly? [0] https://unsloth.ai/docs/models/gemma-4/qat#qat-analysis
Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
121–130 of 138 posts
Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#122It’s the Friday before WWDC during which Apple is going to announce an “improved” Siri based on Google models (a locked partnership, for now). Maybe it’s a coincidence, but this might be Google releasing models that will be showcased next week by Apple? No knowledge, just speculation.
As an amateur app dev using on device AI: If they replace Apple Foundation model with Gemma 4 I would be so happy.
Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#123Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#124Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#125Earlier quoted context omitted.
Not to mention the text-only 0.8GB version. Just crazy. You can have basic real-time conversations on-device that's video and audio aware now.
0.8GB is for text only. It's more like ~1.1GB if you include video/audio encoder
Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#126Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#127I don't get this obsession with smaller models. I've been using Claude and GPT models for years and have had zero issues with them. I see absolutely no benefit to me as a end user for a local model which is going to take up more of my CPU and memory and slow down my machine. I almost always have Internet and if I don't then not having access to a AI model is the least of my concerns.
Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#128Earlier quoted context omitted.
> meaning Google quantized the model to 4 bit and stored the result in BF16 format for compatibility and convenience to downstream packers. You also misunderstand what is happening. Google did not do that. Google further trained the original model with an objective of minimizing error when quantized to 4-bit. The BF16 QAT is not an upscaled 4-bit model. When quantized to 4-bit, it should lose less accuracy than a typ…
Are there evidence that this approach helps maintain "accuracy" performance when quantized? It sounds a bit like mxfp4 with gpt-oss, which was a confusing model upon release.
I am a good WP developer so I kept prodding it and it kept insisting, and it explained with clarity. Turns out it is right and I was wrong, as I would have found out if I'd written the code myself.
I've been using this particular test for days, experimenting in ways to generate and prompt code. The 4-bit quantisation of the pre-QAT model does not catch this error. And nor can the Qwen 3.6 sparse model, which confidently blazed past it and never mentioned it.
(FWIW neither did plain ChatGPT; maybe Codex would)
Anecdotal, but there you go. I am somewhat weirded out by it.
Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#129Earlier quoted context omitted.
Intellectual "property" is not real property. While I disagree with the parent on many things as my comments show, IP is not one of them. Information should be free, for anyone and everyone.
Another straw man. "real" property or not. You agree that we have some right to our own outputs, right? Is that not dignity, to say "I want my outputs protected". Seems like you think that your ideas should be free, as you called it information. How about you back that up with action... please send me all your most intimate, valuable ideas. Oh no, you don't feel comfortable? Then why are you sharing it with companies…
Re: Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency
#130It’s the Friday before WWDC during which Apple is going to announce an “improved” Siri based on Google models (a locked partnership, for now). Maybe it’s a coincidence, but this might be Google releasing models that will be showcased next week by Apple? No knowledge, just speculation.