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

LFM2.5-8B-A1B-OptiQ-4bit

Date: 2026-11-15Commit: 39bb7d4Signed: 2DC28CC7B26A283B ✓

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

8.5B params5.47GBLFM2.5-8B-A1B-OptiQ-4bitsafetensorscustom terms
FactsParams8.5BSize5.47 GBFormatssafetensorsTasktext generationLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get mlx-community/LFM2.5-8B-A1B-OptiQ-4bit
# manifest sha256 fbb819743186… · 5.47 GB · 12 files
$ fw verify ./LFM2.5-8B-A1B-OptiQ-4bit mlx-community/LFM2.5-8B-A1B-OptiQ-4bit
From sourceHosted (signed)mlx-community/LFM2.5-8B-A1B-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
5.47 GB
Weights
5.46 GB (safetensors)
Parameters
8.5B
Formats
safetensors
Task
text generation
License
LFM-1.0 (custom) (custom)
Files
12, 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-8B-A1B

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

mlx-community/LFM2.5-8B-A1B-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-8B-A1B, the sparse mixture-of-experts member of the LFM2.5 family. 5.46 GB on disk, down from 15.8 GB at bf16, with a 128k context.

LFM2.5-8B-A1B pairs the family's hybrid backbone — convolutional blocks interleaved with full attention, so only a few blocks carry a KV cache — with 32 routed experts and 4 active per token. OptiQ measures each layer's sensitivity and assigns per-layer bit-widths across both.

What it is#

PropertyValue
BaseLiquidAI/LFM2.5-8B-A1B
Architecturelfm2_moe — hybrid conv + attention, 24 layers, 32 experts, 4 active
MethodOptiQ mixed-precision, sensitivity-driven (uniform-4-bit reference)
On disk5.46 GB (bf16: 15.8 GB)
Context128k

The routed experts carry most of the parameters and mostly tolerate 4-bit: 60 of the 66 fused expert projections land there, with 6 kept at 8-bit alongside attention, the router and the layer edges.

Capability Score#

Six-metric mean, the standard OptiQ eval.

MetricScore
MMLU (5-shot, 969 samples)46.1%
GSM8K (1000 samples)54.6%
IFEval (full set, strict)32.9%
BFCL-V3 simple (200 calls)45.0%
HumanEval (164 problems, pass@1)14.0%
HashHop (long-context retrieval)0.0%
Capability Score (mean of 6)32.11

Grade-school maths is the strongest result here and the best in the family. Coding, world knowledge and long-context multi-hop retrieval are the weak spots.

Run it#

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

That gives you an OpenAI and Anthropic compatible endpoint with mixed-precision KV cache, tool-call healing and prompt caching.

Liquid's recommended sampling for LFM2.5 is temperature 0.1, top_k 50, repetition_penalty 1.1. Those ship in generation_config.json in this repo and optiq serve applies them automatically, so you get the publisher's settings without passing any flags.

Or from Python:

from mlx_lm import load, generate

model, tokenizer = load("mlx-community/LFM2.5-8B-A1B-OptiQ-4bit")
prompt = tokenizer.apply_chat_template(
    [{"role": "user", "content": "Extract every date from this email."}],
    add_generation_prompt=True, tokenize=False,
)
print(generate(model, tokenizer, prompt=prompt, max_tokens=512))

Files

12 files · 5.47 GBWeights 5.46 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md3.43 KB505369ddce0393464b6693c990f43a17bb5ca4698fe3869f44544c7bcfb8ce6c
chat_template.jinja4.82 KB4b8e3c791748d84dd125048b20b4b93781c4286222145c2ad06274b1fe9ad53f
config.json37.3 KB5769e8a0410452e9ed204d1421ea3a89becebe963b0739699f8ecab707b5761c
generation_config.json318 B11ddb22e01d6d45f5bc88baf7e9c897a0497f9f468b32f862cff709db4c931d9
kv_config.json396 B2b0be124c7cca10611c5a203c44ac0745b2762b718feef89d9ae6484f585cfc3
model-00001-of-00002.safetensors5.33 GBe063ee6b0545db683d418bb49b3b598b0051f6f1fe4597d29db913c583c5000a
model-00002-of-00002.safetensors125 MBbf7bab63ad839e53c634abd0617af2a2aa943375cdc72b18aa971f636ef14180
model.safetensors.index.json51.8 KB75d80566fd92cc8fdaac441b1929f476ed65e72c837878f4e1ce1626d4aa49c3
optiq_metadata.json14.4 KB13cd48cedacc50ae0ee0d2d6cdc549f9a53d53672aca83a124c4d8aba8901fc3
tokenizer.json17.9 MB695be7802a0e4b8a81048f0ff5ebb7fc811a0ba5a6be63dbb24deb5a81096f41
tokenizer_config.json344 Bf126b36bd0a83bbe72f51e76907bd381a71a2130e56f900f20b32a05fcae26fb
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
39bb7d49cc pinned now2026-11-15 00:21 UTC12 files · 5.47 GB

Use it

# custom terms: read the license before you download
$ fw get mlx-community/LFM2.5-8B-A1B-OptiQ-4bit
# manifest sha256 fbb819743186… · 5.47 GB · 12 files
$ fw verify ./LFM2.5-8B-A1B-OptiQ-4bit mlx-community/LFM2.5-8B-A1B-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-8B-A1B-OptiQ-4bit.json --dir ./LFM2.5-8B-A1B-OptiQ-4bit $ python3 fw.py verify ./LFM2.5-8B-A1B-OptiQ-4bit ./mlx-community__LFM2.5-8B-A1B-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-8B-A1B-OptiQ-4bit --revision 39bb7d49cc92118db10e30e9421c7f8f1f23bfe8 --local-dir ./LFM2.5-8B-A1B-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-8B-A1B-OptiQ-4bit", revision="39bb7d49cc92118db10e30e9421c7f8f1f23bfe8") model = AutoModelForCausalLM.from_pretrained("mlx-community/LFM2.5-8B-A1B-OptiQ-4bit", revision="39bb7d49cc92118db10e30e9421c7f8f1f23bfe8", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/LFM2.5-8B-A1B-OptiQ-4bit --revision 39bb7d49cc92118db10e30e9421c7f8f1f23bfe8

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
505369ddce0393464b6693c990f43a17bb5ca4698fe3869f44544c7bcfb8ce6c
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-8B-A1B-OptiQ-4bitDate: 2026-11-15Commit: 39bb7d4Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/LFM2.5-8B-A1B-OptiQ-4bit
Pinned commit
39bb7d49cc92118db10e30e9421c7f8f1f23bfe8
Manifest
LFM2.5-8B-A1B-OptiQ-4bit.json · .minisig
Manifest sha256
fbb819743186e933677c2196ea7b5c801d03ca33149884fa5ecf2043ca0c74ad
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-8B-A1B-OptiQ-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/LFM2.5-8B-A1B-OptiQ-4bit.json.minisig $ minisign -Vm LFM2.5-8B-A1B-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-8B-A1B (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-8B-A1B-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-8B-A1B-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