alt.freeweights.lfm / LFM2.5-Embedding-350M-4bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.lfmSubject:

LFM2.5-Embedding-350M-4bit

Date: 2026-11-15Commit: 3ba909fSigned: 2DC28CC7B26A283B ✓

Sentence similarity model with 354M parameters. Safetensors weights, 204 MB in all. Published by mlx-community under LFM-1.0 (custom).

354M params204MBLFM2.5-Embedding-350M-4bitsafetensorscustom terms
FactsParams354MSize204 MBFormatssafetensorsTasksentence similarityLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get mlx-community/LFM2.5-Embedding-350M-4bit
# manifest sha256 2f818ea79d02… · 204 MB · 11 files
$ fw verify ./LFM2.5-Embedding-350M-4bit mlx-community/LFM2.5-Embedding-350M-4bit
From sourceHosted (signed)mlx-community/LFM2.5-Embedding-350M-4bitLast check: 2026-11-15 00:21 UTC

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

Fine-tune of LFM2.5-Embedding-350M.

Works with

Evaluate with

Overview

Size
204 MB
Weights
200 MB (safetensors)
Parameters
354M
Formats
safetensors
Task
sentence similarity
License
LFM-1.0 (custom) (custom)
Files
11, 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-Embedding-350M

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

LFM2.5-Embedding-350M — MLX (4-bit)#

MLX build of LiquidAI/LFM2.5-Embedding-350M, a multilingual dense bi-encoder (1024-dim CLS embedding, cosine similarity), for local inference on Apple Silicon with MLX.

All weights, architecture, and behavior are LiquidAI's. This repository changes the file format (PyTorch/safetensors → MLX) and post-training quantized to 4-bit (affine, group size 64) from the bf16 MLX conversion. Every Linear and embedding layer is quantized; the non-quantized layers (conv, norms) stay bf16. See the original model card for training details and intended use.

Quantization details#

  • Quantized with mlx.nn.quantize(mode='affine', bits=4, group_size=64) — the exact configuration benchmarked below.
  • Verified bit-exact: the reloaded checkpoint's encodings are identical (max abs diff 0) to the in-memory-quantized model used for the benchmark (verify_export.py) — the shipped artifact is the model measured below.
  • Reload applies the quant from config.json["quantization"] before loading weights (see retrieval.load_model).

Evaluation#

Retrieval quality of this checkpoint (and its sibling precisions), measured as NDCG@10 / Recall@10 on judged pools. Retention = metric ÷ bf16 metric, averaged per-dataset.

Setup. English = the four NanoBEIR sets (full small corpora, ~2–5k passages, 50 queries each). Multilingual = MIRACL dev (the real queries and relevance judgments) for Spanish, German, Japanese, Arabic, each scored over a reduced pool of ~6k passages (judged positives + hard-mined negatives + sampled distractors, from mteb/MIRACLRetrievalHardNegatives), 100 queries each. Reduced pools make absolute scores easier than full-corpus MIRACL and not leaderboard-comparable — but every precision searches the identical pool, so the retention numbers (the point of this table) are sound. ColBERT uses brute-force MaxSim with no query augmentation, so its absolute scores sit a touch below a full PLAID setup.

Summary (mean over 8 datasets)#
precisionNDCG@10NDCG retentionRecall@10Recall retentionsize
bf160.728100.0%0.775100.0%709 MB
8-bit0.729100.1%0.775100.0%377 MB
4-bit ◄0.730100.0%0.76698.6%200 MB
mxfp40.72599.8%0.76498.4%—
NDCG@10 by dataset#
datasetbf168-bit4-bit ◄mxfp4
NanoNQ · en0.7040.7040.7030.703
NanoFiQA2018 · en0.5040.5110.5020.498
NanoSciFact · en0.7160.7170.7140.712
NanoNFCorpus · en0.3420.3400.3350.345
MIRACL · es0.8910.8920.8950.893
MIRACL · de0.8090.8100.8190.812
MIRACL · ja0.9290.9280.9400.922
MIRACL · ar0.9260.9260.9280.916

License & attribution#

Redistributed under the LFM Open License v1.0 (LICENSE) — the same license as the original model. Per Section 4, this notice records that the files were modified (format conversion to MLX + 4-bit quantization). The original work is by Liquid AI; this repository is an independent conversion, not affiliated with or endorsed by Liquid AI. The license includes a commercial-use threshold (Section 5) — review it for your use case.

Base model: LiquidAI/LFM2.5-Embedding-350M

Files

11 files · 204 MBWeights 200 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE10.6 KB4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
README.md3.97 KB3363c5178c55bf40da181daa47bd9872fad325647877dcfd8afd654c6632002c
chat_template.jinja1.30 KB89e790f027916b5a2bca145a6a8454e06ffc7a5043bf3b6d97829aff86bb543f
config.json1.63 KB210d648665843dcc2110b150f7d31252644ed7ac58e9194dc98f213931af457e
config_sentence_transformers.json555 Ba6089803863955ce7b31274bd02ad3a5ddbabc061dfca7ba88460514b91399b0
lfm2_bidirectional.py10.0 KBf8d1ca84cab891c78961a3c1e4fc8a76be33a7e47fd7a415e6553b8b8f702684
model.safetensors200 MB787e837519c7dc70288190ff010749bb7f66a082f7c923ad0728ebc5f0d985ff
special_tokens_map.json434 B742aefe2b7dec496e8caffdba03a75d0c1a9925d53bd3f3e0d388c96b591b6f4
tokenizer.json4.73 MBeb89449ddea8caaff6bcefc4993f30da173f3f1c6f30ad96bc964863f692f1cf
tokenizer_config.json92.1 KB7787607af2d3ed1afe861f2c5da946f63b1ff7ee39460bfe847801ae612069af
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
3ba909f5f9 pinned now2026-11-15 00:21 UTC11 files · 204 MB

Use it

# custom terms: read the license before you download
$ fw get mlx-community/LFM2.5-Embedding-350M-4bit
# manifest sha256 2f818ea79d02… · 204 MB · 11 files
$ fw verify ./LFM2.5-Embedding-350M-4bit mlx-community/LFM2.5-Embedding-350M-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-Embedding-350M-4bit.json --dir ./LFM2.5-Embedding-350M-4bit $ python3 fw.py verify ./LFM2.5-Embedding-350M-4bit ./mlx-community__LFM2.5-Embedding-350M-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/LFM2.5-Embedding-350M-4bit --revision 3ba909f5f92375b1a370bf66f7a868c5f4e06c36 --local-dir ./LFM2.5-Embedding-350M-4bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("mlx-community/LFM2.5-Embedding-350M-4bit", revision="3ba909f5f92375b1a370bf66f7a868c5f4e06c36") model = AutoModel.from_pretrained("mlx-community/LFM2.5-Embedding-350M-4bit", revision="3ba909f5f92375b1a370bf66f7a868c5f4e06c36", device_map="auto")

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
LICENSE
Text sha256
4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
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-Embedding-350M-4bitDate: 2026-11-15Commit: 3ba909fSigned: 2DC28CC7B26A283B ✓
Upstream
mlx-community/LFM2.5-Embedding-350M-4bit
Pinned commit
3ba909f5f92375b1a370bf66f7a868c5f4e06c36
Manifest
LFM2.5-Embedding-350M-4bit.json · .minisig
Manifest sha256
2f818ea79d0292f61ad4b0c3695ac9d539a483e8797214ffe93f00428260e21c
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-Embedding-350M-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/LFM2.5-Embedding-350M-4bit.json.minisig $ minisign -Vm LFM2.5-Embedding-350M-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-Embedding-350M · this model is a finetune 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-Embedding-350M-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-Embedding-350M-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