alt.freeweights.lfm / LFM2.5-24B-A2B-OptiQ-4bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.lfmSubject:

LFM2.5-24B-A2B-OptiQ-4bit

Date: 2026-11-15Commit: b5552f7Signed: 2DC28CC7B26A283B ✓

Text generation model with 24B parameters. Safetensors weights, 16.7 GB in all. Published by mlx-community under LFM-1.0 (custom).

24B params16.7GBLFM2.5-24B-A2B-OptiQ-4bitsafetensorscustom terms
FactsParams24BSize16.7 GBFormatssafetensorsTasktext generationLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get mlx-community/LFM2.5-24B-A2B-OptiQ-4bit
# manifest sha256 f9fc16aa7972… · 16.7 GB · 15 files
$ fw verify ./LFM2.5-24B-A2B-OptiQ-4bit mlx-community/LFM2.5-24B-A2B-OptiQ-4bit
From sourceHosted (signed)mlx-community/LFM2.5-24B-A2B-OptiQ-4bitLast check: 2026-11-15 00:21 UTC

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

Works with

Overview

Size
16.7 GB
Weights
16.7 GB (safetensors)
Parameters
24B
Formats
safetensors
Task
text generation
License
LFM-1.0 (custom) (custom)
Files
15, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.lfm
Lineage

Original release from the publisher.

Base model: LiquidAI/LFM2.5-24B-A2B

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 b5552f7. Shown as plain text with links; images open at the publisher.

mlx-community/LFM2.5-24B-A2B-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. All OptiQ quants · Docs · LFM2.5 family

An OptiQ mixed-precision quant of LiquidAI/LFM2.5-24B-A2B, the largest model in the LFM2.5 family. It is 16.7 GB on disk, down from 47.9 GB at bf16, with a 128k context.

LFM2.5-24B-A2B is a sparse mixture of experts on Liquid's hybrid backbone. Convolutional blocks alternate with full attention, so only 10 of its 40 layers keep a KV cache. Each token is routed to 4 of 64 experts. OptiQ measures each layer's sensitivity and assigns its bit-width from that.

What it is#

PropertyValue
BaseLiquidAI/LFM2.5-24B-A2B
Architecturelfm2_moe: hybrid conv + attention, 40 layers (10 attention), 64 experts, 4 active
MethodOptiQ mixed-precision, sensitivity-driven (uniform-4-bit reference)
On disk16.7 GB (bf16: 47.9 GB)
Context128k

Most of the routed expert weights sit at 4-bit: 87 of the 114 fused expert projections. Attention, the routers and nearly all of the convolution blocks stay at 8-bit.

Capability Score#

Six-metric mean, the standard OptiQ eval, run in reasoning mode because the model always thinks before it answers. The baseline is a uniform 4-bit quant of the same model, scored the same way.

MetricOptiQUniform 4-bit
MMLU (generative)81.1%80.3%
GSM8K94.4%93.2%
IFEval (strict)88.0%84.5%
BFCL-V3 simple (200 calls)91.5%89.5%
HumanEval (164 problems, pass@1)91.5%67.1%
HashHop (long-context retrieval)1.0%0.0%
Capability Score (mean of 6)74.5969.10

The OptiQ quant is ahead on every metric. The big gap is HumanEval: the uniform quant often writes a correct function and then keeps re-checking it until it runs out of tokens, even with a 16k reasoning budget. A reply that never finishes counts as a failure. HashHop is the weak spot for both, because the model copies the lookup table into its reasoning and runs out of budget before it answers.

Run it#

pip install mlx-optiq
optiq serve --model mlx-community/LFM2.5-24B-A2B-OptiQ-4bit

That gives you an OpenAI and Anthropic compatible endpoint with mixed-precision KV cache (kv_config.json in this repo), tool calling, and prompt caching.

The model reasons before every answer, so give it a generous max_tokens. Liquid's recommended sampling (temperature 0.1, top_k 50, repetition_penalty 1.05) ships in generation_config.json, and optiq serve applies it automatically.

Or from Python:

from mlx_lm import load, generate

model, tokenizer = load("mlx-community/LFM2.5-24B-A2B-OptiQ-4bit")
prompt = tokenizer.apply_chat_template(
    [{"role": "user", "content": "Summarise this contract clause in two sentences."}],
    add_generation_prompt=True, tokenize=False,
)
print(generate(model, tokenizer, prompt=prompt, max_tokens=4096))

Files

15 files · 16.7 GBWeights 16.7 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md3.87 KB692f75ed279270c431c6fa7f3c6c96e9dcb7066f3bba45de87008a13866b5c4c
chat_template.jinja5.44 KBea663864491de7ade391839479860ca95541f892f72665c73251fbd4643b1bef
config.json61.7 KB4feddba177b137076d08b01c087c3d6b2acbe2913c6395154536539a92bf47fc
generation_config.json329 Bd1ecad152cd278e57220364423f5a5b19350f1e6e230ff82281a5c23a3173f16
kv_config.json660 Be57a56da8c3a2ad5336c0b54cc296bb72abd09718e2e5dfefb21e7d99a9ce76e
model-00001-of-00004.safetensors5.30 GB4d7098a0724e7366d465bd6f27a049cb02a283d4b175b508eb487925bbd162c9
model-00002-of-00004.safetensors5.37 GB0618aa025a4d5f61317f342ec24fcd4bd1c3f57602e57623c0c805fbec2680db
model-00003-of-00004.safetensors5.30 GB8255962bf517936bae8741218c201796c91f4089c1e32eb54dc00b6597fc0d3c
model-00004-of-00004.safetensors697 MBa1677ef46d752b53b1b0cdfd980cfa305f1fc39c0d8418450cd6a53704c24e2d
model.safetensors.index.json86.9 KB37e57b0868733e4fe6f1af6a08761d0f0d6c764b69b6c7abf0ace2a45167622d
optiq/metadata.json24.3 KB3ab4d1c73506917b244850542406a646adb2ad72fb9aa58cb9703699e9d7fee6
optiq/sensitivity.json53.8 KB05a786028fa787dc89ca17d540eb0e639a76919ca3645cff571d4d580d942671
tokenizer.json17.9 MB695be7802a0e4b8a81048f0ff5ebb7fc811a0ba5a6be63dbb24deb5a81096f41
tokenizer_config.json363 B11f1de897317b489dd09199284528382eeb17f566398b16e2039bb2266d26b09
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
b5552f7f7e pinned now2026-11-15 00:21 UTC15 files · 16.7 GB

Use it

# custom terms: read the license before you download
$ fw get mlx-community/LFM2.5-24B-A2B-OptiQ-4bit
# manifest sha256 f9fc16aa7972… · 16.7 GB · 15 files
$ fw verify ./LFM2.5-24B-A2B-OptiQ-4bit mlx-community/LFM2.5-24B-A2B-OptiQ-4bit
Terms that come with these files. LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
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/LFM2.5-24B-A2B-OptiQ-4bit.json --dir ./LFM2.5-24B-A2B-OptiQ-4bit $ python3 fw.py verify ./LFM2.5-24B-A2B-OptiQ-4bit ./mlx-community__LFM2.5-24B-A2B-OptiQ-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/LFM2.5-24B-A2B-OptiQ-4bit --revision b5552f7f7e597e2ca02653f89098dea86b8818af --local-dir ./LFM2.5-24B-A2B-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/LFM2.5-24B-A2B-OptiQ-4bit", revision="b5552f7f7e597e2ca02653f89098dea86b8818af") model = AutoModelForCausalLM.from_pretrained("mlx-community/LFM2.5-24B-A2B-OptiQ-4bit", revision="b5552f7f7e597e2ca02653f89098dea86b8818af", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/LFM2.5-24B-A2B-OptiQ-4bit --revision b5552f7f7e597e2ca02653f89098dea86b8818af

License

Name
LFM Open License v1.0
Id
LicenseRef-LFM-1.0
Class
Custom terms
Redistribution
click-through
Listing
Hosted (signed)
Terms
LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
692f75ed279270c431c6fa7f3c6c96e9dcb7066f3bba45de87008a13866b5c4c
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.lfmSubject: LFM2.5-24B-A2B-OptiQ-4bitDate: 2026-11-15Commit: b5552f7Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/LFM2.5-24B-A2B-OptiQ-4bit
Pinned commit
b5552f7f7e597e2ca02653f89098dea86b8818af
Manifest
LFM2.5-24B-A2B-OptiQ-4bit.json · .minisig
Manifest sha256
f9fc16aa797280e5cc9f907c6988d7ec0dc94bdd1f62ba6bd065b851f20d3e1a
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/LFM2.5-24B-A2B-OptiQ-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/LFM2.5-24B-A2B-OptiQ-4bit.json.minisig $ minisign -Vm LFM2.5-24B-A2B-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

LiquidAI/LFM2.5-24B-A2B (not in this catalog) · 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/LFM2.5-24B-A2B-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. LFM2.5-24B-A2B-OptiQ-4bit.json. Provenance. Takedown history: none.
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Extract
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-RAG
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Tool
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B-Exp