Xenova / bge-base-en-v1.5

huggingface.co
Total runs: 2.4M
24-hour runs: 713
7-day runs: 7.5K
30-day runs: -114.0K
Model's Last Updated: July 30 2025
feature-extraction

Introduction of bge-base-en-v1.5

Model Details of bge-base-en-v1.5

https://huggingface.co/BAAI/bge-base-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 @xenova/transformers

You can then use the model to compute embeddings, as follows:

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

// Create a feature-extraction pipeline
const extractor = await pipeline('feature-extraction', 'Xenova/bge-base-en-v1.5');

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

console.log(embeddings.tolist()); // Convert embeddings to a JavaScript list
// [
//   [ 0.019079938530921936, 0.041718777269124985, 0.037672195583581924, ... ],
//   [ 0.020936904475092888, 0.020080938935279846, -0.00787576474249363, ... ]
// ]

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

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

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

// 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: 'mean', 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: 'mean', 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.7787772374597298, 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.7071589521880506, text: 'I love pandas so much!' },
//   { id: 0, score: 0.4252782730390429, 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 ).

Runs of Xenova bge-base-en-v1.5 on huggingface.co

2.4M
Total runs
713
24-hour runs
21.8K
3-day runs
7.5K
7-day runs
-114.0K
30-day runs

More Information About bge-base-en-v1.5 huggingface.co Model

More bge-base-en-v1.5 license Visit here:

https://choosealicense.com/licenses/mit

bge-base-en-v1.5 huggingface.co

bge-base-en-v1.5 huggingface.co is an AI model on huggingface.co that provides bge-base-en-v1.5's model effect (), which can be used instantly with this Xenova bge-base-en-v1.5 model. huggingface.co supports a free trial of the bge-base-en-v1.5 model, and also provides paid use of the bge-base-en-v1.5. Support call bge-base-en-v1.5 model through api, including Node.js, Python, http.

bge-base-en-v1.5 huggingface.co Url

https://huggingface.co/Xenova/bge-base-en-v1.5

Xenova bge-base-en-v1.5 online free

bge-base-en-v1.5 huggingface.co is an online trial and call api platform, which integrates bge-base-en-v1.5's modeling effects, including api services, and provides a free online trial of bge-base-en-v1.5, you can try bge-base-en-v1.5 online for free by clicking the link below.

Xenova bge-base-en-v1.5 online free url in huggingface.co:

https://huggingface.co/Xenova/bge-base-en-v1.5

bge-base-en-v1.5 install

bge-base-en-v1.5 is an open source model from GitHub that offers a free installation service, and any user can find bge-base-en-v1.5 on GitHub to install. At the same time, huggingface.co provides the effect of bge-base-en-v1.5 install, users can directly use bge-base-en-v1.5 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bge-base-en-v1.5 install url in huggingface.co:

https://huggingface.co/Xenova/bge-base-en-v1.5

Url of bge-base-en-v1.5

bge-base-en-v1.5 huggingface.co Url

Provider of bge-base-en-v1.5 huggingface.co

Xenova
ORGANIZATIONS

Other API from Xenova

huggingface.co

Total runs: 521.1K
Run Growth: -180.2K
Growth Rate: -34.58%
Updated:August 28 2025
huggingface.co

Total runs: 97.2K
Run Growth: 11.6K
Growth Rate: 11.95%
Updated:December 17 2025
huggingface.co

Total runs: 63.9K
Run Growth: -40.2K
Growth Rate: -62.85%
Updated:December 17 2025
huggingface.co

Total runs: 55.6K
Run Growth: -1.4K
Growth Rate: -2.58%
Updated:July 22 2025
huggingface.co

Total runs: 55.0K
Run Growth: -89.5K
Growth Rate: -162.74%
Updated:February 11 2026
huggingface.co

Total runs: 41.1K
Run Growth: 14.0K
Growth Rate: 34.16%
Updated:July 11 2025
huggingface.co

Total runs: 34.1K
Run Growth: 27.7K
Growth Rate: 80.36%
Updated:January 09 2026
huggingface.co

Total runs: 33.7K
Run Growth: 2.6K
Growth Rate: 7.78%
Updated:July 12 2025
huggingface.co

Total runs: 30.1K
Run Growth: 4.7K
Growth Rate: 15.68%
Updated:June 25 2025
huggingface.co

Total runs: 20.3K
Run Growth: 889
Growth Rate: 4.38%
Updated:June 30 2025
huggingface.co

Total runs: 13.2K
Run Growth: -4.3K
Growth Rate: -32.68%
Updated:July 01 2025
huggingface.co

Total runs: 12.8K
Run Growth: -22
Growth Rate: -0.17%
Updated:July 26 2025
huggingface.co

Total runs: 9.4K
Run Growth: -130
Growth Rate: -1.38%
Updated:October 27 2025
huggingface.co

Total runs: 9.2K
Run Growth: 215
Growth Rate: 2.35%
Updated:July 11 2025
huggingface.co

Total runs: 6.9K
Run Growth: -305.8K
Growth Rate: -4430.60%
Updated:August 28 2025
huggingface.co

Total runs: 6.3K
Run Growth: 1.6K
Growth Rate: 25.77%
Updated:August 28 2025
huggingface.co

Total runs: 5.1K
Run Growth: 1.6K
Growth Rate: 32.11%
Updated:August 19 2025
huggingface.co

Total runs: 3.5K
Run Growth: 1.2K
Growth Rate: 36.09%
Updated:October 08 2024
huggingface.co

Total runs: 2.7K
Run Growth: -159
Growth Rate: -5.95%
Updated:August 19 2025
huggingface.co

Total runs: 2.6K
Run Growth: 252
Growth Rate: 9.68%
Updated:July 01 2025
huggingface.co

Total runs: 2.6K
Run Growth: -189
Growth Rate: -7.35%
Updated:June 25 2025
huggingface.co

Total runs: 2.7K
Run Growth: 648
Growth Rate: 25.26%
Updated:July 22 2025
huggingface.co

Total runs: 1.9K
Run Growth: 459
Growth Rate: 24.29%
Updated:December 17 2025
huggingface.co

Total runs: 1.7K
Run Growth: 288
Growth Rate: 17.27%
Updated:July 11 2025