talira

snowflake-arctic-embed-xs

Snowflake's tiny Arctic Embed retrieval model: 22M parameters, 384 dimensions

open sourceApache-2.0self-hostablefree

snowflake-arctic-embed-xs is the smallest model in Snowflake's Arctic Embed family of English text embedding models, which are trained for retrieval quality in a multi-stage pipeline (about 400 million query and document pairs, then hard-negative fine-tuning); it's based on all-MiniLM-L6-v2. It produces 384-dimensional vectors from inputs of up to 512 tokens with CLS pooling; queries take the prefix 'Represent this sentence for searching relevant passages: ' and documents go in as they are. Snowflake reports an MTEB retrieval score (NDCG@10) of 50.15, against 41.95 for all-MiniLM-L6-v2 and 42.56 for bge-micro-v2. It runs with sentence-transformers, Transformers and Transformers.js, ships ONNX files, and is built into fastembed-rs; the weights are Apache-2.0 and free for commercial use.

Problems it solves

  • the smallest embedding model I can find that still retrieves well, for a latency budget of a few milliseconds
  • a drop-in upgrade from all-MiniLM-L6-v2 with better search results at the same size
  • embed millions of short documents on CPU without renting GPUs
  • an embedding model tiny enough to run on an edge device or inside a desktop app
  • retrieval embeddings with weights I can use commercially
  • rank passages for a question-answering bot on a cheap server
  • 384-dimensional vectors to keep a large vector index in memory

Features

  • 384-dimensional embeddings
  • 22M parameters (six layers, based on all-MiniLM-L6-v2)
  • MTEB retrieval NDCG@10 50.15 (Snowflake's figure)
  • query prefix for retrieval; documents need none
  • ONNX files including fp16 and 4-bit variants
  • Apache-2.0, free commercial use
  • built into fastembed-rs
  • in the Ollama library as snowflake-arctic-embed:22m

Limitations

  • Doesn't read inputs longer than 512 tokens: Snowflake's snowflake-arctic-embed-m-long is the long-context variant1

Alternatives

The same job

These do what snowflake-arctic-embed-xs does.

  1. bge-small-en-v1.5 BAAI's small 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. all-MiniLM-L6-v2 Sentence Transformers model that maps sentences and paragraphs to a 384-dimensional vector space
  4. potion-retrieval-32M Minish's static embedding model optimised for retrieval
  5. snowflake-arctic-embed-s Snowflake's small Arctic Embed retrieval model: 33M parameters, 384 dimensions
  6. text-embedding-3-large OpenAI's most capable embedding model, 3,072 dimensions that can be shortened

Compare snowflake-arctic-embed-xs with the top 3