alt.freeweights.lfm / LFM3-1.7B-OptiQ-4bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.lfmSubject:

LFM3-1.7B-OptiQ-4bit

Date: 2026-11-15Commit: 82d0e45Signed: 2DC28CC7B26A283B ✓

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

1.7B params1.36GBLFM3-1.7B-OptiQ-4bitsafetensorscustom terms
FactsParams1.7BSize1.36 GBFormatssafetensorsTasktext generationLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get mlx-community/LFM3-1.7B-OptiQ-4bit
# manifest sha256 34c4ae554fea… · 1.36 GB · 15 files
$ fw verify ./LFM3-1.7B-OptiQ-4bit mlx-community/LFM3-1.7B-OptiQ-4bit
From sourceHosted (signed)mlx-community/LFM3-1.7B-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 LFM3-1.7B.

Works with

Overview

Size
1.36 GB
Weights
1.34 GB (safetensors)
Parameters
1.7B
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/LFM3-1.7B

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

mlx-community/LFM3-1.7B-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

An OptiQ mixed-precision quant of LiquidAI/LFM3-1.7B, the first model in Liquid's LFM3 family. It is 1.3 GB on disk, down from 3.5 GB at bf16, with a 256k context.

LFM3 keeps Liquid's hybrid backbone of short convolutions and attention, and adds sliding-window attention, so only 6 of its 24 layers keep a full-length KV cache. OptiQ measures each layer's sensitivity and assigns its bit-width from that.

What it is#

PropertyValue
BaseLiquidAI/LFM3-1.7B
Architecturelfm3: 24 layers, 13 convolution, 5 sliding-window attention (256 tokens), 6 full attention
MethodOptiQ mixed-precision, sensitivity-driven (bf16 reference)
On disk1.3 GB (bf16: 3.5 GB)
Context256k

About half of the weight matrices stay at 8-bit (75 of 153), the ones whose quantization moved the output most. The rest are at 4-bit.

Capability Score#

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

MetricOptiQUniform 4-bit
MMLU (generative)77.6%76.3%
GSM8K92.4%92.4%
IFEval (strict)72.6%66.5%
BFCL-V3 simple (200 calls)91.5%93.0%
HumanEval (164 problems, pass@1)72.6%64.0%
HashHop (long-context retrieval)21.0%14.0%
Capability Score (mean of 6)71.2967.70

The OptiQ quant is ahead by 3.6 points overall. The gains are on instruction following (+6.1) and code (+8.6). BFCL is 1.5 points behind, inside its ±3.5 point margin on 200 calls.

Run it#

pip install -U mlx-optiq
optiq serve --model mlx-community/LFM3-1.7B-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 it answers, so give it a generous max_tokens. Liquid's recommended sampling (temperature 0.1, top_k 50, repetition_penalty 1.1) ships in generation_config.json, and optiq serve applies it automatically.

Or from Python. mlx-lm does not know the LFM3 architecture yet, so register OptiQ's implementation first:

from optiq.models import install_vendored
from mlx_lm import load, generate

install_vendored()
model, tokenizer = load("mlx-community/LFM3-1.7B-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 · 1.36 GBWeights 1.34 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md3.62 KB2fd17801300efb86abd798fbbc69e624c4aef30cbb117d0ece353bbd31511fc3
chat_template.jinja12.1 KBf45005c50cd2a97329722bf3a2dee9f16c04cdf825a589b280fb7e99e6827818
config.json35.0 KB2229d07f932770186307a02466316100c5ecf98e4972f323dfa3ff19cf19eac3
configuration_lfm3.py6.11 KB176cced35657aedfea7d7002221360582d1c05fcaca882c21508bc3a73b282e5
generation_config.json328 B0095ba7158e938b1e2d3082d412f00d8be85e42cbbd7608b63866f7a081cf270
kv_config.json724 B06cabd63988c2040e3b280bd37f54d48175b38f6a7d069dd85477dcdf93744d8
lfm3_conv.py8.53 KB80d4a985382a22774212759248a6b4c737bfbf9c2a47b3dd7f797dda748e4bb4
model.safetensors1.34 GB7d166c997a1e9fdd41659c5e63b46cc5e8243243f9767aa881b70d32c4699f58
model.safetensors.index.json41.8 KB461f25bfb2a4e4327775f1b7628d507e512a6494ab5d062bfb5b6d563aa71e9c
modeling_lfm3.py42.4 KBe8cd5254ea99ce6bd731b57b10908c2e8b5010ce8315341f895a38484885eeab
optiq/metadata.json13.7 KB480f29ae5b216c702104e86347b4bada9c5c86b42d9450bd58eadadd2ae72267
optiq/sensitivity.json34.3 KBe5bf520dab54297e86f62316f100ccfeec69b3bd02ba52d8b4600be4a84340cc
tokenizer.json17.9 MB41927bd314d17d7d7fadb44e10cd0919f7b71528d7741596d8cbd15c6945ec44
tokenizer_config.json1.90 KB236f21425c08d31bfa5062767da6a3f1354ca0b89ac4138cfa9bdbb47a6700b2
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
82d0e45972 pinned now2026-11-15 00:21 UTC15 files · 1.36 GB

Use it

# custom terms: read the license before you download
$ fw get mlx-community/LFM3-1.7B-OptiQ-4bit
# manifest sha256 34c4ae554fea… · 1.36 GB · 15 files
$ fw verify ./LFM3-1.7B-OptiQ-4bit mlx-community/LFM3-1.7B-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/LFM3-1.7B-OptiQ-4bit.json --dir ./LFM3-1.7B-OptiQ-4bit $ python3 fw.py verify ./LFM3-1.7B-OptiQ-4bit ./mlx-community__LFM3-1.7B-OptiQ-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/LFM3-1.7B-OptiQ-4bit --revision 82d0e45972a9343db2ab5534b257b2d6fb3edd46 --local-dir ./LFM3-1.7B-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/LFM3-1.7B-OptiQ-4bit", revision="82d0e45972a9343db2ab5534b257b2d6fb3edd46") model = AutoModelForCausalLM.from_pretrained("mlx-community/LFM3-1.7B-OptiQ-4bit", revision="82d0e45972a9343db2ab5534b257b2d6fb3edd46", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/LFM3-1.7B-OptiQ-4bit --revision 82d0e45972a9343db2ab5534b257b2d6fb3edd46

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
2fd17801300efb86abd798fbbc69e624c4aef30cbb117d0ece353bbd31511fc3
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: LFM3-1.7B-OptiQ-4bitDate: 2026-11-15Commit: 82d0e45Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/LFM3-1.7B-OptiQ-4bit
Pinned commit
82d0e45972a9343db2ab5534b257b2d6fb3edd46
Manifest
LFM3-1.7B-OptiQ-4bit.json · .minisig
Manifest sha256
34c4ae554fea633b35deaa0e501df915720652fef0ec82e77cff126ae5d76588
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/LFM3-1.7B-OptiQ-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/LFM3-1.7B-OptiQ-4bit.json.minisig $ minisign -Vm LFM3-1.7B-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/LFM3-1.7B · 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/LFM3-1.7B-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. LFM3-1.7B-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