█

AI/TLDR

Buy me a coffee
Buy me a coffee
Embedding Models & InferenceOpen source
Language
Python
License
Apache-2.0
$pip install sentence-transformers
IN SHORT

What is Snowflake Arctic Embed?

Snowflake Arctic Embed is a family of open-source text embedding models built for retrieval. The models turn queries and documents into vectors so you can rank documents by relevance, which is the core building block of semantic search and retrieval-augmented generation (RAG) pipelines. It sits in the Embedding Models & Inference category of the Retrieval & Knowledge (RAG) tools and is open-source, written in Python and licensed Apache-2.0.

Overview

Snowflake Arctic Embed is a family of open-source text embedding models built for retrieval. The models turn queries and documents into vectors so you can rank documents by relevance, which is the core building block of semantic search and retrieval-augmented generation (RAG) pipelines.

The suite comes in several sizes, from a 22M-parameter xs model with 384 dimensions up to the 335M-parameter l model with 1024 dimensions, plus newer multilingual v2.0 variants. This range lets you trade off accuracy against latency and cost: the smaller models fit tight budgets, while the largest can stand in for closed-source embedding APIs.

It fits in the embedding-models category alongside other retrieval encoders. The models load through standard tooling such as Sentence Transformers, Hugging Face Transformers, and Transformers.js, so they drop into existing search and RAG stacks without a custom runtime.

What it does

  • Multiple model sizes (xs, s, m, m-long, l) covering 22M to 335M parameters and 384 to 1024 embedding dimensions
  • Tuned for retrieval quality on the MTEB/BEIR benchmarks at each size profile
  • Multilingual v2.0 variants (m-v2.0 and l-v2.0) for cross-language retrieval
  • Loadable via Sentence Transformers, Hugging Face Transformers, and Transformers.js (JavaScript)
  • Uses a query prefix and CLS-token pooling to improve search relevance
  • Apache-2.0 licensed and published on Hugging Face for open use

Getting started

The quickest path is the Sentence Transformers library, which loads a model by its Hugging Face ID and encodes text with a single call.

Install Sentence Transformers

Install the library that wraps model loading and encoding.

bashbash
pip install sentence-transformers

Embed queries and documents and rank by similarity

Load a model, encode queries with the query prompt and documents without it, then score by dot product.

pythonpython
import torch
from sentence_transformers import SentenceTransformer
from torch.nn.functional import normalize

# Model constant.
MODEL_ID = "Snowflake/snowflake-arctic-embed-m-v1.5"

# Your queries and docs.
queries = ['what is snowflake?', 'Where can I get the best tacos?']
documents = ['The Data Cloud!', 'Mexico City of Course!']

# Load the model.
model = SentenceTransformer(
    MODEL_ID, model_kwargs=dict(add_pooling_layer=False),
)

# Generate text embeddings.
query_embeddings = model.encode(queries, prompt_name="query")
document_embeddings = model.encode(documents)

# Scores via dotproduct.
scores = query_embeddings @ document_embeddings.T

# Pretty-print the results.
for query, query_scores in zip(queries, scores):
    doc_score_pairs = list(zip(documents, query_scores))
    doc_score_pairs = sorted(doc_score_pairs, key=lambda x: x[1], reverse=True)
    print(f'Query: "{query}"')
    for document, score in doc_score_pairs:
        print(f'Score: {score:.4f} | Document: "{document}"')
    print()

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Power semantic search over a document collection by ranking documents against a user query
  • Build the retrieval step of a RAG pipeline that feeds relevant context to an LLM
  • Run cross-language retrieval with the multilingual v2.0 models
  • Replace a closed-source embedding API with a self-hosted, Apache-2.0 model to control cost and data

How Snowflake Arctic Embed compares

Snowflake Arctic Embed alongside other open-source embedding models & inference tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Sentence Transformers★ 19.3kThe standard Python framework for loading, training, and computing embeddings with sentence and reranking models.
OpenCLIP★ 14.3kAn open implementation of CLIP for training and running image-text embedding models, with a large catalogue of pretrained checkpoints for zero-shot classification and retrieval.
PyTorch Metric Learning★ 6.3kPyTorch library of losses, miners, distances, samplers, trainers and accuracy testers for training embedding models with deep metric and self-supervised learning.
EmbeddingGemma (Gemma)★ 5.9kGoogle DeepMind's Gemma repo, home to EmbeddingGemma, a 308M multilingual embedding model small enough to run on-device for RAG and semantic search.
Text Embeddings Inference (TEI)★ 5.1kHugging Face's Rust-based server for deploying embedding, reranking, and sequence-classification models with high throughput on GPU or CPU.
text2vec★ 5kPython library for sentence embeddings and text similarity, implementing Word2Vec, BM25, Sentence-BERT, CoSENT and BGE with Chinese and multilingual models.
Infinity (Embeddings)★ 3kA high-throughput serving engine for text embeddings, rerankers, CLIP, and ColPali models, exposing an OpenAI-compatible API.
Snowflake Arctic Embed★ 93Snowflake's open family of retrieval-tuned text embedding models