talira

bge-small-en-v1.5

BAAI's small English general embedding model, version 1.5

open sourceMITself-hostablefree

bge-small-en-v1.5 is the smallest English model in BAAI's BGE v1.5 series of text embedding models, from the FlagEmbedding project: it maps text to 384-dimensional vectors for retrieval, semantic search, clustering and classification, with inputs up to 512 tokens. Version 1.5 has a more reasonable similarity distribution and retrieves well without an instruction; for short queries against passages, BAAI suggests prefixing queries with 'Represent this sentence for searching relevant passages: ' and leaving passages as they are. It's the default text model of fastembed-rs, its repository includes an ONNX export, and the MIT-licensed weights can be used commercially free of charge. bge-base-en-v1.5 is its larger, 768-dimensional sibling.

Problems it solves

  • a small English embedding model that runs fast on a CPU server with no GPU
  • compute text embeddings locally instead of paying an embedding API for every document
  • an open-weight embedding model I can ship in a commercial product without licence worries
  • keep my vector index small: I want 384-dimensional vectors, not 1,536
  • embed my documents for a RAG pipeline on a laptop in minutes
  • find support tickets that mean the same thing even when they use different words
  • match short search queries to longer passages that share no keywords
  • an embedding model small enough for a serverless function with tight memory limits
  • a well-known default embedding model that ONNX-based embedding libraries support out of the box
  • hybrid search: add dense vectors next to BM25 without running a big model
  • fine-tune a small embedding model on my own query and passage pairs

Features

  • 384-dimensional embeddings
  • 512-token input
  • about 33M parameters
  • optional query instruction for short-query retrieval; passages need none
  • MTEB average 62.17 over 56 datasets, retrieval 51.68 (BAAI's figures)
  • ONNX export in the repository (onnx/model.onnx)
  • MIT licence, free commercial use
  • default text model of fastembed-rs
  • fine-tuning scripts in FlagEmbedding

Limitations

  • Doesn't read inputs longer than 512 tokens: its maximum sequence length is 5121
  • Doesn't embed languages other than English: BAAI publishes bge-small-zh-v1.5 for Chinese and bge-m3 for multilingual text1

Alternatives

The same job

These do what bge-small-en-v1.5 does.

  1. bge-base-en-v1.5 BAAI's English general embedding model, version 1.5
  2. potion-base-8M Minish's small static English embedding model, distilled from bge-base-en-v1.5
  3. snowflake-arctic-embed-s Snowflake's small Arctic Embed retrieval model: 33M parameters, 384 dimensions
  4. snowflake-arctic-embed-xs Snowflake's tiny Arctic Embed retrieval model: 22M parameters, 384 dimensions
  5. nomic-embed-text-v1.5 Resizable production embeddings with Matryoshka Representation Learning
  6. all-MiniLM-L6-v2 Sentence Transformers model that maps sentences and paragraphs to a 384-dimensional vector space

Compare bge-small-en-v1.5 with the top 3