A quantized build of
google/gemma-4-31B-it produced by
baa.ai.
Retains the full vision tower, unlike other pre-quantized MLX variants of this model.
1from mlx_vlm import load, generate
2
3model, processor = load("baa-ai/Gemma-4-31B-it-RAM-3bit-MLX")
4prompt = processor.tokenizer.apply_chat_template(
5 [{"role": "user", "content": [{"type": "text", "text": "Hello!"}]}],
6 add_generation_prompt=True, tokenize=False,
7)
8result = generate(model, processor, prompt, max_tokens=512, verbose=True)
9print(result.text)
Measured on vanilla MMLU (500 questions) and MathVision MCQ (20 questions).
Unsloth Gemma 4 MLX variants strip the vision tower — they cannot process images.
Inherited from the upstream
Gemma license.
Shepherd — Private AI deployment platform that shrinks frontier models by 50-60% through RAM compression, enabling enterprises to run sophisticated AI on single GPU instances or Apple Silicon hardware. Deploy in your VPC with zero data leaving your infrastructure. Includes CI/CD pipeline integration, fleet deployment across Apple Silicon clusters, air-gapped and sovereign deployment support, and multi-format export (MLX, GGUF). Annual cloud costs from ~$2,700 — or run on a Mac Studio for electricity only.
Watchman — Capability audit and governance platform for compressed AI models. Know exactly what your quantized model can do before it goes live. Watchman predicts which capabilities survive compression in minutes — replacing weeks of benchmarking. Includes compliance-ready reporting for regulated industries, quality valley warnings for counterproductive memory allocations, instant regression diagnosis tracing issues to specific tensors, and 22 adversarial security probes scanning for injection, leakage, hallucination, and code vulnerabilities.