alt.freeweights.embed / bge-small-en-v1.5-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.embedSubject:

bge-small-en-v1.5-ONNX

Date: 2026-11-14Commit: 4a9a46cSigned: 2DC28CC7B26A283B ✓

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

embed331MBbge-small-en-v1.5-ONNXonnxpermissive
FactsParamsnot statedSize331 MBFormatsonnxTaskfeature extractionLicenseMITFrom sourcepermissive
$ fw get onnx-community/bge-small-en-v1.5-ONNX
# manifest sha256 4ae5821bf8e5… · 331 MB · 17 files
$ fw verify ./bge-small-en-v1.5-ONNX onnx-community/bge-small-en-v1.5-ONNX
From sourceHosted (signed)onnx-community/bge-small-en-v1.5-ONNXLast check: 2026-11-14 21:31 UTC

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

Quantized of bge-small-en-v1.5.

Works with

Runs with

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

Convert with

Evaluate with

Scan with

Overview

Size
331 MB
Weights
33.8 MB (smallest of 5 ONNX variants)
Parameters
not stated
Formats
onnx
Task
feature extraction
License
MIT (permissive)
Files
17, each with a sha256
Publisher
onnx-community
Added
2026-11-14
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Base model: BAAI/bge-small-en-v1.5

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-14 21:31 UTCpassed

Model card

From the publisher at commit 4a9a46c. Shown as plain text with links; images open at the publisher.

https://huggingface.co/BAAI/bge-small-en-v1.5 with ONNX weights to be compatible with Transformers.js.

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 use the model to compute embeddings, as follows:

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

// Create a feature-extraction pipeline
const extractor = await pipeline('feature-extraction', 'onnx-community/bge-small-en-v1.5-ONNX');

// Compute sentence embeddings
const texts = ['Hello world.', 'Example sentence.'];
const embeddings = await extractor(texts, { pooling: 'cls', normalize: true });
console.log(embeddings);
// Tensor {
//   dims: [ 2, 384 ],
//   type: 'float32',
//   data: Float32Array(768) [ -0.019706636667251587, -0.028999386355280876, ... ],
//   size: 768
// }

console.log(embeddings.tolist()); // Convert embeddings to a JavaScript list
// [
//   [ -0.019706636667251587, -0.028999386355280876, 0.030835328623652458, ... ],
//   [ -0.020751159638166428, 0.007133616600185633, 0.024070002138614655, ... ]
// ]

You can also use the model for retrieval. For example:

import { pipeline, cos_sim } from '@huggingface/transformers';

// Create a feature-extraction pipeline
const extractor = await pipeline('feature-extraction', 'onnx-community/bge-small-en-v1.5-ONNX');

// List of documents you want to embed
const texts = [
    'Hello world.',
    'The giant panda (Ailuropoda melanoleuca), sometimes called a panda bear or simply panda, is a bear species endemic to China.',
    'I love pandas so much!',
];

// Compute sentence embeddings
const embeddings = await extractor(texts, { pooling: 'cls', normalize: true });

// Prepend recommended query instruction for retrieval.
const query_prefix = 'Represent this sentence for searching relevant passages: '
const query = query_prefix + 'What is a panda?';
const query_embeddings = await extractor(query, { pooling: 'cls', normalize: true });

// Sort by cosine similarity score
const scores = embeddings.tolist().map(
    (embedding, i) => ({
        id: i,
        score: cos_sim(query_embeddings.data, embedding),
        text: texts[i],
    })
).sort((a, b) => b.score - a.score);
console.log(scores);
// [
//   { id: 1, score: 0.819299738162704, text: 'The giant panda (Ailuropoda melanoleuca), sometimes called a panda bear or simply panda, is a bear species endemic to China.' },
//   { id: 2, score: 0.7127886435498881, text: 'I love pandas so much!' },
//   { id: 0, score: 0.4215074419638722, text: 'Hello world.' }
// ]

Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Files

17 files · 331 MBWeights 33.8 MB (smallest of 5 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.gitattributes1.83 KBba44193cf00eb237e2824cbfa212775d626f48f7c4caa3e630deda0908552db2
README.md3.16 KB77d64cf33f08c3f5542d8603630c8a80a85afa4908fa80f052e109656c34e71b
config.json867 B26ad1d93a1ba37422fc25472191cfa230010631fa6a01f9d9f81fa13df2d0917
onnx/model.onnx107 KBa2825cd804c4c2d144c517f493370170f871db75975bee55014cfc6eb358c857
onnx/model.onnx_data133 MBaa8184d029db68ff515cc5254a2d5e57ec2a3a89c7479b14c61e0df19ea4006a
onnx/model_fp16.onnx185 KB347346075c9dc81f6a2fcf7ce2eabc6fed58b66ebd5bf510ccf4465b0bd6e246
onnx/model_fp16.onnx_data66.3 MB1a18ccffb18caa52d6174a3a6fb33843967abf71abbd07224788351b8f7842ba
onnx/model_q4.onnx133 KB266acb3edd98a1932f876d15bd8f7881a4955d0d53a6d5e79900f788b432de09
onnx/model_q4.onnx_data61.2 MB77aff1dfb1e0591a40b61a91e5a97796f14c2aff56706e345bef5cbb3613b8cc
onnx/model_q4f16.onnx211 KB91631c4d6c6b0117ca92d0b8752b9c60d6330698142aac86087eb30573c8de6e
onnx/model_q4f16.onnx_data35.8 MB109f6b5458513980acd499ec9b656d5a40de640fba61da5fca3cb75acbc2bd67
onnx/model_quantized.onnx414 KB4d46eaef91aaa13133a32aafba250a05265c220d1e526797fb55359bfb5a953a
onnx/model_quantized.onnx_data33.4 MBbf3c4475ba4cac85907418ef34a48dbdfcf628ee91c85415ca6b0c3e70a94cbb
special_tokens_map.json695 B5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a
tokenizer.json534 KBea77de727ef7fd34d177b83b4b1f1d3bb8884c95c90b6554a0adb0b3b65350a9
tokenizer_config.json1.27 KBeebe14d184cfbd65f6a11d2a5ff39385c4044c8a670a89acf1a13331e04faa60
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
4a9a46c7b8 pinned now manifest updated, same commit2026-11-14 21:31 UTC17 files · 331 MB
4a9a46c7b82026-11-14 21:31 UTC17 files · 331 MB

Use it

$ fw get onnx-community/bge-small-en-v1.5-ONNX
# manifest sha256 4ae5821bf8e5… · 331 MB · 17 files
$ fw verify ./bge-small-en-v1.5-ONNX onnx-community/bge-small-en-v1.5-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/bge-small-en-v1.5-ONNX.json --dir ./bge-small-en-v1.5-ONNX $ python3 fw.py verify ./bge-small-en-v1.5-ONNX ./onnx-community__bge-small-en-v1.5-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/bge-small-en-v1.5-ONNX --revision 4a9a46c7b88fa408e650a571a1800243f26309bd --local-dir ./bge-small-en-v1.5-ONNX

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
Inherited from the base model BAAI/bge-small-en-v1.5: the strictest license along the lineage applies. 2026-11-14
Text in
README.md
Text sha256
77d64cf33f08c3f5542d8603630c8a80a85afa4908fa80f052e109656c34e71b
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: bge-small-en-v1.5-ONNXDate: 2026-11-14Commit: 4a9a46cSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/bge-small-en-v1.5-ONNX
Pinned commit
4a9a46c7b88fa408e650a571a1800243f26309bd
Manifest
bge-small-en-v1.5-ONNX.json · .minisig
Manifest sha256
4ae5821bf8e5b0848c13465841a3c3c058871dccdf3a1508a0494bfcd39137de
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:31 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

BAAI/bge-small-en-v1.5 · 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/bge-small-en-v1.5-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. bge-small-en-v1.5-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