alt.freeweights.embed / NeoBERT-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.embedSubject:

NeoBERT-ONNX

Date: 2026-11-15Commit: 051788eSigned: 2DC28CC7B26A283B ✓

Feature extraction model. Onnx weights, 3.68 GB in all. Published by onnx-community under MIT.

embed3.68GBNeoBERT-ONNXonnxpermissive
FactsParamsnot statedSize3.68 GBFormatsonnxTaskfeature extractionLicenseMITFrom sourcepermissive
$ fw get onnx-community/NeoBERT-ONNX
# manifest sha256 42525df7da4c… · 3.68 GB · 16 files
$ fw verify ./NeoBERT-ONNX onnx-community/NeoBERT-ONNX
From sourceHosted (signed)onnx-community/NeoBERT-ONNXLast check: 2026-11-15 05:29 UTC

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

Quantized of NeoBERT.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Evaluate with

Scan with

Overview

Size
3.68 GB
Weights
223 MB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
feature extraction
License
MIT (permissive)
Files
16, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Base model: chandar-lab/NeoBERT

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 05:29 UTCpassed

Model card

From the publisher at commit 051788e. Shown as plain text with links; images open at the publisher.

NeoBERT#

NeoBERT is a next-generation encoder model for English text representation, pre-trained from scratch on the RefinedWeb dataset. NeoBERT integrates state-of-the-art advancements in architecture, modern data, and optimized pre-training methodologies. It is designed for seamless adoption: it serves as a plug-and-play replacement for existing base models, relies on an optimal depth-to-width ratio, and leverages an extended context length of 4,096 tokens. Despite its compact 250M parameter footprint, it is the most efficient model of its kind and achieves state-of-the-art results on the massive MTEB benchmark, outperforming BERT large, RoBERTa large, NomicBERT, and ModernBERT under identical fine-tuning conditions.

Usage#

Transformers.js#

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

You can then compute embeddings using the pipeline API:

import { pipeline } from "@huggingface/transformers";

// Create feature extraction pipeline
const extractor = await pipeline("feature-extraction", "onnx-community/NeoBERT-ONNX");

// Compute embeddings
const text = "NeoBERT is the most efficient model of its kind!";
const embedding = await extractor(text, { pooling: "cls" });
console.log(embedding.dims); // [1, 768]

Or manually with the model and tokenizer classes:

import { AutoModel, AutoTokenizer } from "@huggingface/transformers";

// Load model and tokenizer
const model_id = "onnx-community/NeoBERT-ONNX";
const tokenizer = await AutoTokenizer.from_pretrained(model_id);
const model = await AutoModel.from_pretrained(model_id);

// Tokenize input text
const text = "NeoBERT is the most efficient model of its kind!";
const inputs = tokenizer(text);

// Generate embeddings
const outputs = await model(inputs);
const embedding = outputs.last_hidden_state.slice(null, 0);
console.log(embedding.dims); // [1, 768]
ONNXRuntime#
from transformers import AutoTokenizer
from huggingface_hub import hf_hub_download
import onnxruntime as ort

model_id = "onnx-community/NeoBERT-ONNX"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model_file = hf_hub_download(model_id, filename="onnx/model.onnx")
session = ort.InferenceSession(model_file)

text = ["NeoBERT is the most efficient model of its kind!"]
inputs = tokenizer(text, return_tensors="np").data
outputs = session.run(None, inputs)[0]
embeddings = outputs[:, 0, :]
print(f"{embeddings.shape=}") # (1, 768)

Conversion#

The export script can be found at ./export.py.

Files

16 files · 3.68 GBWeights 223 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md3.06 KB1615c93ca38480bd676046958d715600e75ecac03f778c3ad176847bf0862349
config.json698 B1cf88da74936c0376a8a7b19ddf6703db88506ed92d4e0e3ed611200a52dd9b5
export.py11.4 KBa6d1b4e365d5bb3c811fd9ce606ba5e0d3b8b48de297472fdb9be56067e87474
onnx/model.onnx888 MB80142477a450cc7422ea8231a283185d24476e59e4915a270fd5a61fce1cbd44
onnx/model_bnb4.onnx661 MB17325f3be6ee15af738dccc8d5c3d99e593588138fb375be6fa69061bc289dc4
onnx/model_fp16.onnx444 MBed72d9f816e57ed986cd7fc9ab0f7d0931e00e858a825e4ea5c4a5d3d9889598
onnx/model_int8.onnx223 MB77c6612cb5b0188660167340605e8b193871b67610e1b072f00518930ae2a582
onnx/model_q4.onnx665 MB3f4f1464e8a2054beb1cc0e5ee70d538ddde82297978b178981cf95e0c1ef942
onnx/model_q4f16.onnx349 MB3c3c393f8081a10742bf55cfec1e23a5750d0ae754ef9a2a9ae4a258fe02159b
onnx/model_quantized.onnx223 MB77c6612cb5b0188660167340605e8b193871b67610e1b072f00518930ae2a582
onnx/model_uint8.onnx223 MB3c0c5144581dd31412bef684a45473e2a4a83fc2e8e6745d3beb8ab8b384483b
special_tokens_map.json125 Bb6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3
tokenizer.json711 KBd241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66
tokenizer_config.json1.31 KBb57b9571381f792e7f19d87f78c22a9dc2bfd3704c2deb89064d504ace48c502
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
051788e9ab pinned now2026-11-15 05:29 UTC16 files · 3.68 GB

Use it

$ fw get onnx-community/NeoBERT-ONNX
# manifest sha256 42525df7da4c… · 3.68 GB · 16 files
$ fw verify ./NeoBERT-ONNX onnx-community/NeoBERT-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/NeoBERT-ONNX.json --dir ./NeoBERT-ONNX $ python3 fw.py verify ./NeoBERT-ONNX ./onnx-community__NeoBERT-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/NeoBERT-ONNX --revision 051788e9abded35be24438c658cde1564e62d6ad --local-dir ./NeoBERT-ONNX

License

Name
MIT License
Id
MIT
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
1615c93ca38480bd676046958d715600e75ecac03f778c3ad176847bf0862349
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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.embedSubject: NeoBERT-ONNXDate: 2026-11-15Commit: 051788eSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/NeoBERT-ONNX
Pinned commit
051788e9abded35be24438c658cde1564e62d6ad
Manifest
NeoBERT-ONNX.json · .minisig
Manifest sha256
42525df7da4cc8979e5b0d5af380e938ad45fd7bc530fd0dc6d0ca1b6e091e1b
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:29 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/NeoBERT-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/NeoBERT-ONNX.json.minisig $ minisign -Vm NeoBERT-ONNX.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

chandar-lab/NeoBERT · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/NeoBERT-ONNX
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. NeoBERT-ONNX.json. Provenance. Takedown history: none.
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens