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

LFM2.5-Embedding-350M-bf16

Date: 2026-11-15Commit: 14f2953Signed: 2DC28CC7B26A283B ✓

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

354M params714MBLFM2.5-Embedding-350M-bf16safetensorscustom terms
FactsParams354MSize714 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-bf16
# manifest sha256 9a2495b61e9c… · 714 MB · 11 files
$ fw verify ./LFM2.5-Embedding-350M-bf16 mlx-community/LFM2.5-Embedding-350M-bf16
From sourceHosted (signed)mlx-community/LFM2.5-Embedding-350M-bf16Last 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
714 MB
Weights
709 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 14f2953. Shown as plain text with links; images open at the publisher.

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

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 kept at the original bf16 precision — it is not quantized. Quantized variants (8-bit / 4-bit) are available as sibling repos; see the table below. See the original model card for training details and intended use.

Conversion details#

  • Converted with mlx; weights unchanged apart from tensor layout (bf16 → MLX bf16).
  • The architecture is Lfm2BidirectionalModel (a bidirectional LFM2 encoder), which mlx-lm / mlx-embeddings do not support out of the box, so a small self-contained MLX implementation is included as lfm2_bidirectional.py.
  • Verified against the original (PyTorch, float32, identical token ids): worst-case cosine of the CLS embedding ≈ 1.0 across short prompts and a 130-token passage.

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
bf16 ◄0.728100.0%0.775100.0%709 MB
8-bit0.729100.1%0.775100.0%377 MB
4-bit0.730100.0%0.76698.6%200 MB
mxfp40.72599.8%0.76498.4%—
NDCG@10 by dataset#
datasetbf16 ◄8-bit4-bitmxfp4
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). 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 · 714 MBWeights 709 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.95 KB5da9588c9e054d74eb430271d63e853e60fb5445ecd3a59df72615952f0edeb2
chat_template.jinja1.30 KB89e790f027916b5a2bca145a6a8454e06ffc7a5043bf3b6d97829aff86bb543f
config.json1.55 KB52e0f7e82a9161efca5dc02f5bbaf6bfe1f05d0bf5d81c1f5ed84aaf43dd5c58
config_sentence_transformers.json555 Ba6089803863955ce7b31274bd02ad3a5ddbabc061dfca7ba88460514b91399b0
lfm2_bidirectional.py10.0 KBf8d1ca84cab891c78961a3c1e4fc8a76be33a7e47fd7a415e6553b8b8f702684
model.safetensors709 MBbcd50fd7ea9a91744b56542f138414f0fecc42b57481e4bd262e50b55ed080ca
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
14f29539bf pinned now2026-11-15 00:21 UTC11 files · 714 MB

Use it

# custom terms: read the license before you download
$ fw get mlx-community/LFM2.5-Embedding-350M-bf16
# manifest sha256 9a2495b61e9c… · 714 MB · 11 files
$ fw verify ./LFM2.5-Embedding-350M-bf16 mlx-community/LFM2.5-Embedding-350M-bf16
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-bf16.json --dir ./LFM2.5-Embedding-350M-bf16 $ python3 fw.py verify ./LFM2.5-Embedding-350M-bf16 ./mlx-community__LFM2.5-Embedding-350M-bf16.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-bf16 --revision 14f29539bf823aec87252f92d69c9f1af9fdcbfd --local-dir ./LFM2.5-Embedding-350M-bf16
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-bf16", revision="14f29539bf823aec87252f92d69c9f1af9fdcbfd") model = AutoModel.from_pretrained("mlx-community/LFM2.5-Embedding-350M-bf16", revision="14f29539bf823aec87252f92d69c9f1af9fdcbfd", 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-bf16Date: 2026-11-15Commit: 14f2953Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/LFM2.5-Embedding-350M-bf16
Pinned commit
14f29539bf823aec87252f92d69c9f1af9fdcbfd
Manifest
LFM2.5-Embedding-350M-bf16.json · .minisig
Manifest sha256
9a2495b61e9c6d3f2f401b1545c7c9e722ffce89a092a95071224e2197defc20
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-bf16.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/LFM2.5-Embedding-350M-bf16.json.minisig $ minisign -Vm LFM2.5-Embedding-350M-bf16.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-bf16
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-bf16.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