bge-small-en-v1.5
by BAAI
384 dimensions and a 512-token window at 33M parameters, with an optional query prefix to apply consistently
BAAI/bge-small-en-v1.5Deploy bge-small-en-v1.5
Single-tenantMixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.
Overview
bge-small-en-v1.5 is a compact English text embedding model: 33.4 million parameters, 384-dimensional vectors and a 512-token window, downloaded 64 million times a month. Teams pick it when the embedding step has to run on CPU or when index size is the constraint, since a 384-dimensional vector takes a quarter of the space of a 1536-dimensional one.
Two details from the model card decide retrieval quality. Queries can carry the instruction prefix "Represent this sentence for searching relevant passages: " and passages never do; the card says v1.5 works without the prefix at a slight cost, so choose one convention and apply it to every query. Pooling uses the CLS token, and an encoding step that averages the token outputs instead produces vectors that look plausible and retrieve worse.
The card also warns that BGE similarity scores sit roughly between 0.6 and 1, even for unrelated text, and that v1.5 alleviates this without removing it. Use the scores for ranking, and set any cut-off from the score distribution on your own data.
Architecture
BERT encoder, 12 layers, 384-dimensional hidden state, 12 attention heads, 1536-dimensional feed-forward, 30,522-token vocabulary, 512 positions. 33,360,000 float parameters; the safetensors total of 33,360,512 includes the position-id buffer. CLS-token pooling (1_Pooling/config.json sets pooling_mode_cls_token true), max_seq_length 512, lower-cased input.
Mixpeek SDK Integration
// No Mixpeek extractor parameter takes a Hugging Face model id, so this model
// runs on your side and the vectors are upserted. On Enterprise the other path
// is uploading the weights through POST /v1/namespaces/{id}/models so a custom
// plugin loads them and the extraction runs on Mixpeek.
//
// Embed passages as they are. If you add the query instruction, add it to every
// query: "Represent this sentence for searching relevant passages: ".
const res = await fetch(
"https://api.mixpeek.com/v1/namespaces/ns_your_namespace/documents/upsert",
{
method: "POST",
headers: {
Authorization: "Bearer API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
collection_id: "col_your_collection",
documents: [
{
document_id: "caption-00412-0184",
// 384 floats, matching a 384-dimension cosine vector index on the collection.
vectors: { "text-embedding": yourVector },
payload: { source_key: "archive/2026/ep-412.vtt", start_ms: 184000 },
},
],
}),
},
);Capabilities
- 384-dimensional dense embeddings, a quarter of the storage of a 1536-dimensional index
- 512-token window, four times the 128 tokens of all-MiniLM-L12-v2
- Optional retrieval instruction on queries, with passages embedded as they are
- MIT license
Use Cases on Mixpeek
Benchmarks
| Dataset | Metric | Score | Source |
|---|---|---|---|
| MTEB English (56 datasets) | Average | 62.17 | Model card: BAAI/bge-small-en-v1.5 |
| MTEB English Retrieval (15 datasets) | Average | 51.68 | Model card: BAAI/bge-small-en-v1.5 |
Performance
Not benchmarked on our hardware. The card's MTEB table puts it at a 62.17 average against 63.55 for bge-base-en-v1.5 and 64.23 for bge-large-en-v1.5.
Common Pipeline Companions
Frequently Asked Questions
Do I need the query instruction with bge-small-en-v1.5?
It is optional. The card suggests adding "Represent this sentence for searching relevant passages: " to retrieval queries and never to passages, and says v1.5 without the instruction shows only a slight degradation. What matters more is consistency: a query set embedded partly with the prefix and partly without it ranks differently depending on which path each query took.
Why are similarity scores high even for unrelated text?
The card describes BGE similarity scores as falling roughly between 0.6 and 1, and v1.5 reduces this. Relative order is what the scores are for. If you need a threshold, the card suggests choosing it from the distribution on your own data, with 0.8, 0.85 or 0.9 as its examples.
bge-small, bge-base or bge-large?
By the card's MTEB English table: small is 384 dimensions with a 62.17 average, base is 768 dimensions at 63.55, large is 1024 dimensions at 64.23. All three take 512 tokens and share the query prefix and CLS pooling, so switching changes the model id and the index dimension, and every stored vector has to be re-embedded.
Does Mixpeek run this model for me?
Not on the managed tier. No Mixpeek extractor loads these weights, so you encode on your side and upsert the vectors, or upload the weights on a single-tenant Enterprise deployment and have a custom plugin run them.
Specification
Research Paper
C-Pack: Packed Resources For General Chinese Embeddings
arxiv.orgBuild a pipeline with bge-small-en-v1.5
Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.
Run it on your own data, free