--- library_name: mlx tags: - mlx - quantized - mixed-precision - llama4 - moe license: other license_name: llama4 base_model: meta-llama/Llama-4-Maverick-17B-128E-Instruct base_model_relation: quantized --- # Llama-4-Maverick-17B-128E-Instruct — 170GB (MLX) Mixed-precision quantized version of [meta-llama/Llama-4-Maverick-17B-128E-Instruct](https://huggingface.co/meta-llama/Llama-4-Maverick-17B-128E-Instruct) optimised by [baa.ai](https://baa.ai) using a proprietary Black Sheep AI method. Per-tensor bit-width allocation via advanced sensitivity analysis and budget-constrained optimisation — no calibration data required. ## Metrics | Metric | Value | |--------|-------| | **Size** | **161.7 GB** | | Average bits | 3.5 | | WikiText-2 PPL (median) | 6.5236 | ## Usage ```python from mlx_lm import load, generate model, tokenizer = load("baa-ai/Llama-4-Maverick-17B-128E-Instruct-RAM-170GB-MLX") response = generate(model, tokenizer, prompt="Hello!", max_tokens=256) print(response) ``` --- *Quantized by [baa.ai](https://baa.ai)* --- ## Black Sheep AI Products **[Shepherd](https://baa.ai/shepherd.html)** — 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](https://baa.ai/watchman.html)** — 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. Learn more at **[baa.ai](https://baa.ai)** — Sovereign AI.