alt.freeweights.text / Laguna-XS-2.1-OptiQ-4bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject:

Laguna-XS-2.1-OptiQ-4bit

Date: 2026-11-15Commit: 9239894Signed: 2DC28CC7B26A283B ✓

Text generation model with 33.4B parameters. Safetensors weights, 21.0 GB in all. Published by mlx-community under OpenMDW-1.1.

33.4B params21.0GBLaguna-XS-2.1-OptiQ-4bitsafetensorscustom terms
FactsParams33.4BSize21.0 GBFormatssafetensorsTasktext generationLicenseOpenMDW-1.1From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get mlx-community/Laguna-XS-2.1-OptiQ-4bit
# manifest sha256 18a88736a819… · 21.0 GB · 16 files
$ fw verify ./Laguna-XS-2.1-OptiQ-4bit mlx-community/Laguna-XS-2.1-OptiQ-4bit
From sourceHosted (signed)mlx-community/Laguna-XS-2.1-OptiQ-4bitLast check: 2026-11-15 00:21 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Laguna-XS-2.1.

Works with

Overview

Size
21.0 GB
Weights
21.0 GB (safetensors)
Parameters
33.4B
Formats
safetensors
Task
text generation
License
OpenMDW-1.1 (custom)
Files
16, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: poolside/Laguna-XS-2.1

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 00:21 UTCpassed

Model card

From the publisher at commit 9239894. Shown as plain text with links; images open at the publisher.

mlx-community/Laguna-XS-2.1-OptiQ-4bit#

Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. Try the Lab · All OptiQ quants · Docs

A mixed-precision MLX quant of poolside/Laguna-XS-2.1, a sparse mixture-of-experts reasoning model built for coding and agentic work. Per-layer bit-widths come from a KL-divergence sensitivity pass on a six-domain calibration mix (prose · reasoning · code · agent · tool-call · constraint-bearing instructions): sensitive layers get more bits, robust ones fewer, at ~4.5 bits-per-weight average (20 GB on disk).

Needs mlx-optiq#

Stock mlx-lm has no laguna class. OptiQ ships a vendored, mlx-native port of the Laguna architecture (sigmoid MoE with a shared expert, QK-norm, GLM partial-rotary, softplus attention gate, hybrid full/sliding attention with dual RoPE) that registers with mlx-lm on import optiq. Install and import it before loading:

pip install "mlx-optiq>=0.4.7"
import optiq  # registers the laguna arch with mlx-lm
from mlx_lm import load, generate

model, tok = load("mlx-community/Laguna-XS-2.1-OptiQ-4bit")
prompt = tok.apply_chat_template(
    [{"role": "user", "content": "Write a Python function that returns the nth Fibonacci number."}],
    tokenize=False, add_generation_prompt=True,
)
print(generate(model, tok, prompt=prompt, max_tokens=400))

Laguna is a reasoning model. It thinks before answering, so give it a generous max_tokens. For an OpenAI + Anthropic-compatible server with mixed-precision KV cache, tool-call healing, and prompt caching, use optiq serve:

optiq serve --model mlx-community/Laguna-XS-2.1-OptiQ-4bit

Quantization details#

PropertyValue
MethodOptiQ mixed-precision (sensitivity-driven)
Average precision~4.5 bits-per-weight
Group size64
Reference for sensitivityuniform 4-bit
Calibration mixsix-domain mix (40 samples × 6 domains)
Layers40 · sigmoid MoE (shared expert, layer-0 dense)
On-disk size20 GB

Following the naming llama.cpp uses for its mixed quants (Q4_K_M and friends), the "4bit" label denotes the family, not the weighted average. The mixed allocation is what preserves capability at this size.

Benchmarks#

Six-metric Capability Score (the unweighted mean of MMLU, GSM8K, IFEval, BFCL, HumanEval, and HashHop). Scored in reasoning mode (generative MMLU + a large think-token budget), the setting that measures an always-on thinking model fairly.

MetricOptiQ-4bit
MMLU (reasoning, 969 samples)86.2%
GSM8K (1000 samples)95.6%
IFEval (full set, strict)76.5%
BFCL-V3 simple (200 calls)89.0%
HumanEval (164 problems, pass@1)82.9%
HashHop (long-context retrieval)84.0%
Capability Score (mean of 6)85.70

Every metric gets one equal vote. See the eval-framework writeup for the full methodology.

Files

16 files · 21.0 GBWeights 21.0 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md4.02 KBf2ecb082bbabb115f635a9dacf0494edb4d5025339dd70fd8ace400e5b3a51ee
chat_template.jinja3.87 KB2d3c724b3c2e9eb71fe9ccc5423ff268a370a8bfa89e9238b6de14fe000825c8
config.json105 KB35e601639357139685060519dbc77d9300deb5ea15733f245d686057432ab932
configuration_laguna.py13.2 KB403780a055babd84007313d07c994006b900d91a5bb6d0dfeea352d18b7ec0ea
generation_config.json477 Be1c5c1322a73e17b5d0a04132bd7828840d6354df40a02961619fa3b0eb0749d
kv_config.json2.63 KB083d5c9a3e5e5ca15e95be078984913e63d80082a9ca69240db8004920a1727f
model-00001-of-00004.safetensors5.20 GB88710551ebe81418d691dd21971468d94f0e13205e1c0266f7088a75def144a6
model-00002-of-00004.safetensors5.31 GB7d2a09aa6c1b9c0edf8dae7aa7dbcf02486c8896dcafe2593f094b7c8dd1bfc7
model-00003-of-00004.safetensors5.35 GB62d85a877d3ff9570ae19019042502b5cfd1df35bb2d9288bebb4460cf791af0
model-00004-of-00004.safetensors5.13 GB79888e05beaab08fa20a33be7e8b5c284c9277232eeaea6c435fccf8cdc54a20
model.safetensors.index.json141 KBc6e41713cc1be2a9b364ab8f4ee81b011f85ad426603e583de0855cac252029e
modeling_laguna.py41.1 KBb1279340f2f45952738269ce801c8ef841540eba4e04e9df966a23ad5f188650
optiq_metadata.json41.2 KB16a96d0ba302a2bd6140930c707dffe5f58f65f3b54951967366df2d495b1965
tokenizer.json7.29 MB27bde3901a530dbb29444a1784b0cf060b8799fd0a58f803e8c4b233c0b6bfb2
tokenizer_config.json489 Be35e1ce9e6a09a38c492fe2051fef3a4bce4c8ec0402948803c446fddde06b58
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
92398949b8 pinned now2026-11-15 00:21 UTC16 files · 21.0 GB

Use it

# custom terms: read the license before you download
$ fw get mlx-community/Laguna-XS-2.1-OptiQ-4bit
# manifest sha256 18a88736a819… · 21.0 GB · 16 files
$ fw verify ./Laguna-XS-2.1-OptiQ-4bit mlx-community/Laguna-XS-2.1-OptiQ-4bit
Terms that come with these files. OpenMDW 1.1: keep the agreement and the copyright notices with the files when you pass them on.
Custom license (custom). Read the license text first. Open this panel to show the commands once you accept its terms.
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/Laguna-XS-2.1-OptiQ-4bit.json --dir ./Laguna-XS-2.1-OptiQ-4bit $ python3 fw.py verify ./Laguna-XS-2.1-OptiQ-4bit ./mlx-community__Laguna-XS-2.1-OptiQ-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Laguna-XS-2.1-OptiQ-4bit --revision 92398949b86bced5240a19a8f815afcb22c66d17 --local-dir ./Laguna-XS-2.1-OptiQ-4bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mlx-community/Laguna-XS-2.1-OptiQ-4bit", revision="92398949b86bced5240a19a8f815afcb22c66d17") model = AutoModelForCausalLM.from_pretrained("mlx-community/Laguna-XS-2.1-OptiQ-4bit", revision="92398949b86bced5240a19a8f815afcb22c66d17", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Laguna-XS-2.1-OptiQ-4bit --revision 92398949b86bced5240a19a8f815afcb22c66d17

License

Name
OpenMDW-1.1
Id
OpenMDW-1.1
Class
Custom terms
Redistribution
click-through
Listing
Hosted (signed)
Terms
OpenMDW 1.1: keep the agreement and the copyright notices with the files when you pass them on.
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
f2ecb082bbabb115f635a9dacf0494edb4d5025339dd70fd8ace400e5b3a51ee
Terms gate
Yes. The commands stay folded until you open them after reading the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject: Laguna-XS-2.1-OptiQ-4bitDate: 2026-11-15Commit: 9239894Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Laguna-XS-2.1-OptiQ-4bit
Pinned commit
92398949b86bced5240a19a8f815afcb22c66d17
Manifest
Laguna-XS-2.1-OptiQ-4bit.json · .minisig
Manifest sha256
18a88736a8196ae753965137c84d2e962d0b5d80ace93c0fed44b6f934d2dc95
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 00:21 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Laguna-XS-2.1-OptiQ-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Laguna-XS-2.1-OptiQ-4bit.json.minisig $ minisign -Vm Laguna-XS-2.1-OptiQ-4bit.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

poolside/Laguna-XS-2.1 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Laguna-XS-2.1-OptiQ-4bit
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Laguna-XS-2.1-OptiQ-4bit.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B