From: mlx-community <huggingface.co/mlx-community> Newsgroups: alt.freeweights.embedSubject: nomicai-modernbert-embed-base-bf16 Date: 2026-11-15Commit: 5bfbc20Signed: 2DC28CC7B26A283B ✓ Sentence similarity model with 149M parameters. Safetensors weights, 302 MB in all. Published by mlx-community under Apache-2.0.
149M params 302 MB nomicai-modernbert-embed-base-bf16 safetensors permissive Facts Params 149M Size 302 MB Formats safetensors Task sentence similarity License Apache-2.0 From sourcepermissive
fw
$ fw get mlx-community/nomicai-modernbert-embed-base-bf16
# manifest sha256 13ad3d66bfb7… · 302 MB · 11 files
$ fw verify ./nomicai-modernbert-embed-base-bf16 mlx-community/nomicai-modernbert-embed-base-bf16
From sourceHosted (signed) mlx-community/nomicai-modernbert-embed-base-bf16 Last check: 2026-11-15 03:35 UTC
Get help: custom fine-tune or private deploy. We review your setup before we quote.
Fine-tune of ModernBERT-base .
Works with
Runs with Ranked by fit to this model (safetensors), then by GitHub stars.
Overview
Size 302 MB
Weights 298 MB (safetensors)
Parameters 149M
Formats safetensors
Task sentence similarity
License Apache-2.0 (permissive)
Files 11, each with a sha256
Publisher mlx-community
Added 2026-11-15
Section alt.freeweights.embed
Lineage
Original release from the publisher.
Base model: answerdotai/ModernBERT-base
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
Badge Host Last check Result From sourcehuggingface.co 2026-11-15 03:35 UTC passed
Model card From the publisher at commit
5bfbc20 . Shown as plain text with links; images open at the publisher.
The Model mlx-community/nomicai-modernbert-embed-base-bf16 was converted to MLX format from nomic-ai/modernbert-embed-base using mlx-lm version 0.0.3 .
Use with mlx#
pip install mlx-embeddings Copy
from mlx_embeddings import load, generate
import mlx.core as mx
model, tokenizer = load("mlx-community/nomicai-modernbert-embed-base-bf16")
# For text embeddings
output = generate(model, processor, texts=["I like grapes", "I like fruits"])
embeddings = output.text_embeds # Normalized embeddings
# Compute dot product between normalized embeddings
similarity_matrix = mx.matmul(embeddings, embeddings.T)
print("Similarity matrix between texts:")
print(similarity_matrix)
Copy Files 11 files · 302 MB Weights 298 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256 File Size sha256 .gitattributes 1.52 KB 11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361 README.md 562 KB 65e0998b8cada1d10ac75d0e83cfeaf7acf963cf05ce1835a8b84fba855a7d92 config.json 1.30 KB dabf4fe976b2ac8416317226ac5b973f812287bd3f79c44befa0c8d54568d23f config_sentence_transformers.json 210 B 4d3adefab0a4c1eccd38fac58b37c240573a6008087ba33b9e7c674940067588 model.safetensors 298 MB a149d73096d05b5df0d80f9edf1d22801f83f1c8d5bd117d6a15a831302ba198 model.safetensors.index.json 8.53 KB be01fb558985d6382c16259715508c7d65b5bb3c0ce5f8e988eef5ec62ac697f modules.json 349 B 84e40c8e006c9b1d6c122e02cba9b02458120b5fb0c87b746c41e0207cf642cf sentence_bert_config.json 54 B eb9b44b13c0f52a3b3685c3b1cbdea1ba8b04bea123b98f61610048940776eb1 special_tokens_map.json 694 B ea97ecdbcc73713039d8d64dbb05e3689495c96657fbd9a18f5bed381be81049 tokenizer.json 3.58 MB 6c8aaa9a542084f2457eab775d4eeb51f92a70c0fd9de28d5edb0ddec3c08d30 tokenizer_config.json 20.8 KB c16f1b07f93d05be753ec0acf8cb511d895a8bdb09669f6b156df81e3f96c2eb
Versions Each time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commit Date Contents 5bfbc2093c pinned now 2026-11-15 03:35 UTC 11 files · 302 MB
Use it fw
$ fw get mlx-community/nomicai-modernbert-embed-base-bf16
# manifest sha256 13ad3d66bfb7… · 302 MB · 11 files
$ fw verify ./nomicai-modernbert-embed-base-bf16 mlx-community/nomicai-modernbert-embed-base-bf16fw.py Checks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/nomicai-modernbert-embed-base-bf16.json --dir ./nomicai-modernbert-embed-base-bf16
$ python3 fw.py verify ./nomicai-modernbert-embed-base-bf16 ./mlx-community__nomicai-modernbert-embed-base-bf16.json Copyhf The Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT =https://freeweights.allternit.com hf download mlx-community/nomicai-modernbert-embed-base-bf16 --revision 5bfbc2093cbc41d44548a8de02c0c26f801938e1 --local-dir ./nomicai-modernbert-embed-base-bf16 Copytransformers Load 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/nomicai-modernbert-embed-base-bf16", revision="5bfbc2093cbc41d44548a8de02c0c26f801938e1")
model = AutoModel.from_pretrained("mlx-community/nomicai-modernbert-embed-base-bf16", revision="5bfbc2093cbc41d44548a8de02c0c26f801938e1", device_map="auto") Copysentence-transformers Embed text with sentence-transformers.
import os
os.environ["HF_ENDPOINT" ] = "https://freeweights.allternit.com"
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("mlx-community/nomicai-modernbert-embed-base-bf16", revision="5bfbc2093cbc41d44548a8de02c0c26f801938e1")
vectors = model.encode(["Hello"]) CopyLicense Name Apache License 2.0 Id Apache-2.0 Class Permissive Redistribution yes Listing Hosted (signed) Decided License as declared by the publisher. No person read it. 2026-11-15 Text in README.md Text sha256 65e0998b8cada1d10ac75d0e83cfeaf7acf963cf05ce1835a8b84fba855a7d92 Terms gate No extra terms beyond 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.embedSubject: nomicai-modernbert-embed-base-bf16 Date: 2026-11-15Commit: 5bfbc20Signed: 2DC28CC7B26A283B ✓
How to verify
$ curl -O https://freeweights.allternit.com/manifests/mlx-community/nomicai-modernbert-embed-base-bf16.json
$ curl -O https://freeweights.allternit.com/manifests/mlx-community/nomicai-modernbert-embed-base-bf16.json.minisig
$ minisign -Vm nomicai-modernbert-embed-base-bf16.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq
$ shasum -a 256 <file> # compare with the Files tab Copy
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 No model in the catalog names this one as its parent.
Get it
Download
$ HF_ENDPOINT =https://freeweights.allternit.com hf download mlx-community/nomicai-modernbert-embed-base-bf16 Copy
Open in Freeweights Studio Pull, verify and run it in the Allternit app on Desktop, web or phone.
23M params 795 MB all-MiniLM-L6-v1 onnx openvino safetensors permissive Facts Params 23M Size 795 MB Formats onnx, openvino, safetensors Task sentence similarity License Apache-2.0 From sourcepermissive flip From: sentence-transformers <huggingface.co/sentence-transformers> Subject: all-MiniLM-L6-v1 23M params 977 MB all-MiniLM-L6-v2 onnx openvino safetensors permissive Facts Params 23M Size 977 MB Formats onnx, openvino, safetensors Task sentence similarity License Apache-2.0 From sourcepermissive flip From: unsloth <huggingface.co/unsloth> Subject: all-MiniLM-L6-v2 23M params 13.9 MB all-MiniLM-L6-v2-4bit safetensors permissive Facts Params 23M Size 13.9 MB Formats safetensors Task sentence similarity License Apache-2.0 From sourcepermissive flip From: mlx-community <huggingface.co/mlx-community> Subject: all-MiniLM-L6-v2-4bit 109M params 3.82 GB all-mpnet-base-v1 onnx openvino safetensors permissive Facts Params 109M Size 3.82 GB Formats onnx, openvino, safetensors Task sentence similarity License Apache-2.0 From sourcepermissive flip From: sentence-transformers <huggingface.co/sentence-transformers> Subject: all-mpnet-base-v1 110M params 4.28 GB allenai-specter onnx openvino safetensors permissive Facts Params 110M Size 4.28 GB Formats onnx, openvino, safetensors Task sentence similarity License Apache-2.0 From sourcepermissive flip From: sentence-transformers <huggingface.co/sentence-transformers> Subject: allenai-specter 109M params 4.70 GB bert-base-nli-max-tokens onnx openvino safetensors permissive Facts Params 109M Size 4.70 GB Formats onnx, openvino, safetensors Task sentence similarity License Apache-2.0 From sourcepermissive flip From: sentence-transformers <huggingface.co/sentence-transformers> Subject: bert-base-nli-max-tokens