Back to models
Model Intelligence FileOpen source

nomic-ai/nomic-embed-text-v1.5 · Hugging Face

nomic-ai/nomic-embed-text-v1.5 is a high-performance, open-source text embedding model developed by Nomic AI. Built on the NomicBERT architecture, it is optimized for semantic search, clustering, and feature extraction tasks. The model stands out for its support of Matryoshka Representation Learning (MRL), allowing users to adjust embedding dimensions dynamically without retraining. It is released under the permissive Apache 2.0 license and is widely deployed via Hugging Face Transformers, sentence-transformers, ONNX Runtime, and Transformers.js.

Depth
1,228

word-level signal

Categories
1

topic cluster links

Index status
Live

Jun 29, 2026

Deep Brief

Overview and use cases

Overview

nomic-ai/nomic-embed-text-v1.5 is a robust text embedding model designed to generate dense vector representations of natural language text. Developed by Nomic AI, this model leverages the NomicBERT architecture, which has been extensively trained and fine-tuned to capture semantic nuances effectively. As of recent metrics, the model has garnered significant attention within the Natural Language Processing (NLP) community, evidenced by over 18.6 million downloads on the Hugging Face Hub.

The primary purpose of this model is to serve as a backbone for applications requiring understanding of text meaning rather than just keyword matching. It is particularly noted for its versatility in deployment formats, supporting standard PyTorch weights, ONNX, SafeTensors, and Transformers.js. This multi-format availability ensures that developers can integrate the model into diverse environments, ranging from high-performance GPU clusters to resource-constrained edge devices and web browsers. The model is evaluated on the Massive Text Embedding Benchmark (MTEB), ensuring that its performance meets rigorous standards for classification, clustering, and retrieval tasks.

Capabilities

The core capabilities of nomic-embed-text-v1.5 extend beyond simple vector generation, offering several advanced features that enhance its utility in production environments:

  • Sentence Similarity and Semantic Search: The model computes cosine similarity between text pairs with high accuracy. This makes it ideal for finding semantically related documents, even if they do not share exact keywords. It excels in scenarios where contextual meaning is critical, such as legal document retrieval or customer support ticket categorization.

  • Matryoshka Representation Learning (MRL): One of the most distinct features of this model is its support for MRL. This allows users to truncate the embedding dimensions at various levels (e.g., 256, 512, 768, 1024, 1536) while maintaining high performance at each level. This flexibility enables developers to optimize for storage and latency requirements without sacrificing significant quality, a feature not commonly found in standard embedding models.

  • Feature Extraction: Beyond similarity search, the embeddings can be used as input features for downstream machine learning tasks. These include text classification, sentiment analysis, and topic modeling. The dense vectors capture rich semantic information that traditional bag-of-words models miss.

  • Multi-Format Deployment Support: The model is available in multiple serialization formats:

    • PyTorch/SafeTensors: For native integration with Hugging Face Transformers and PyTorch ecosystems.
    • ONNX: For high-performance inference using ONNX Runtime, suitable for C++, Python, and .NET environments.
    • Transformers.js: Allows the model to run directly in the browser, enabling client-side semantic search applications without server-side infrastructure.
  • MTEB Benchmark Performance: The model has been rigorously tested on the MTEB leaderboard, achieving competitive scores across various tasks including classification, clustering, and reranking. This ensures that users can rely on its performance for enterprise-grade applications.

Use Cases

Given its capabilities, nomic-embed-text-v1.5 is applicable in a wide range of NLP applications:

  1. Semantic Search Engines: By embedding both queries and documents, developers can build search systems that return results based on intent and meaning. This is superior to traditional keyword-based search for handling synonyms, paraphrases, and complex queries.

  2. Retrieval-Augmented Generation (RAG): In Large Language Model (LLM) pipelines, this model is frequently used to retrieve relevant context from a knowledge base. The retrieved chunks are then fed to the LLM to ground its responses in factual data, reducing hallucinations.

  3. Document Clustering and Organization: The embeddings can be used to group similar documents together automatically. This is useful for organizing large corpora of customer reviews, support tickets, or news articles into coherent topics without manual tagging.

  4. Duplicate Detection: By comparing the similarity scores of embeddings, systems can identify near-duplicate content in datasets. This is crucial for data cleaning, deduplication in search indexes, and preventing redundant content in knowledge bases.

  5. Text Classification: The embeddings serve as powerful features for classifier models. Instead of training a classifier on raw text, one can train it on the fixed-length vector representations, often leading to faster training times and reduced computational overhead.

  6. Cross-Lingual Applications: While primarily optimized for English, the underlying architecture can be fine-tuned for multilingual tasks. However, for out-of-the-box multilingual support, other specific models may be preferred unless fine-tuning is performed.

License & Deployment

License: The model is released under the Apache 2.0 License. This is a permissive open-source license that allows for commercial use, modification, distribution, and patent use, provided that the original copyright and license notices are retained. This makes it highly attractive for enterprise adoption where legal clarity is essential.

Deployment Options:

  • Hugging Face Transformers: The standard way to load the model is via the AutoModel and AutoTokenizer classes. Users must set trust_remote_code=True due to the custom code required for MRL support.

    from transformers import AutoTokenizer, AutoModel
    tokenizer = AutoTokenizer.from_pretrained("nomic-ai/nomic-embed-text-v1.5", trust_remote_code=True)
    model = AutoModel.from_pretrained("nomic-ai/nomic-embed-text-v1.5", trust_remote_code=True)
    
  • Sentence-Transformers: For ease of use, the model integrates seamlessly with the sentence-transformers library, which provides a simplified API for encoding sentences and computing similarities.

    from sentence_transformers import SentenceTransformer
    model = SentenceTransformer("nomic-ai/nomic-embed-text-v1.5", trust_remote_code=True)
    embeddings = model.encode(["Hello world"])
    
  • ONNX Runtime: For production environments requiring low latency and high throughput, the ONNX version allows for efficient execution on CPUs and GPUs using the ONNX Runtime.

  • Browser-Based Inference: Using Transformers.js, developers can deploy the model directly in web browsers, enabling privacy-preserving client-side text processing.

Hardware Considerations: The model is relatively lightweight compared to larger LLMs, making it feasible to run on standard CPUs for moderate workloads. For high-throughput applications, GPU acceleration is recommended, especially when using the PyTorch or ONNX backends.

Alternatives

While nomic-embed-text-v1.5 is a strong contender, several other embedding models exist depending on specific needs:

  • OpenAI text-embedding-ada-002: A proprietary model known for high performance but requires API calls and incurs costs. It lacks the transparency and customization options of open-source models.
  • Cohere embed-multilingual-v3: Offers strong multilingual capabilities out of the box, whereas Nomic is primarily English-focused.
  • BGE (BAAI General Embedding): Another popular open-source family of models that offers strong performance on MTEB benchmarks, often competing directly with Nomic in terms of quality.
  • All-MiniLM-L6-v2: A smaller, faster model from the Sentence-Transformers library, suitable for resource-constrained environments where speed is prioritized over maximum accuracy.

FAQ

Q: Is this model free for commercial use? A: Yes, the model is licensed under Apache 2.0, which permits commercial use, modification, and distribution.

Q: What is Matryoshka Representation Learning (MRL)? A: MRL is a technique that allows the model to produce embeddings of varying dimensions (e.g., 256 to 1536) while maintaining high quality at each size. This enables users to balance between storage/compute efficiency and accuracy.

Q: Does the model support languages other than English? A: The model is primarily trained and optimized for English. While it may perform reasonably well on other languages due to the nature of BERT architectures, it is not specifically designed for multilingual tasks. For multilingual needs, consider models like Cohere's embed-multilingual or BGE-m3.

Q: How do I handle the trust_remote_code warning? A: Because the model uses custom code for MRL support, you must pass trust_remote_code=True when loading it via Hugging Face Transformers or Sentence-Transformers. This is safe as the code is hosted by Nomic AI on the Hugging Face Hub.

Q: Can I use this model for image embeddings? A: No, this is a text-only embedding model. For image embeddings, you would need a multimodal model like CLIP or SigLIP.

Keep Exploring

Related AI models

Model library

lpiccinelli

lpiccinelli/unidepth-v2-vitl14 · Hugging Face

UniDepth v2 (ViT-L/14) is a 0.4B-parameter PyTorch model for monocular metric depth estimation, leveraging a Vision Transformer backbone to predict scale-aware depth maps from single RGB images.

Open sourceUniDepth

Qwen

Qwen/Qwen3-8B · Hugging Face

Qwen/Qwen3-8B is an 8-billion parameter large language model developed by Alibaba Cloud's Qwen team, available on Hugging Face under the Apache 2.0 license. It is designed for advanced text generation, conversational AI, and complex reasoning tasks, featuring support for tool use and long-context understanding.

Open sourcetransformers

google-t5

google-t5/t5-small · Hugging Face

T5-small is a compact, multilingual encoder-decoder transformer model developed by Google and hosted on Hugging Face. Licensed under Apache 2.0, it supports text-to-text generation tasks such as translation, summarization, and question answering across multiple languages including English, French, German, and Romanian. It is optimized for low-latency inference and efficient deployment on various hardware backends.

Open sourcetransformers

Qwen

Qwen/Qwen3-0.6B · Hugging Face

Qwen/Qwen3-0.6B is a lightweight, open-source large language model developed by Alibaba Cloud's Qwen team. Released under the permissive Apache 2.0 license, this 0.6-billion-parameter model is designed for high-efficiency deployment on consumer-grade hardware, including CPUs and low-end GPUs. It features a 32,768-token context window, multilingual capabilities, and native support for tool-use and function calling, making it an ideal candidate for edge computing, real-time chatbots, and resource-constrained environments.

Open sourcetransformers

Ollama

llava

LLaVA (Large Language and Vision Assistant) is an open-source, end-to-end trained multimodal model that combines a vision encoder with a large language model (Vicuna) to enable visual understanding and reasoning. Developed by researchers from Microsoft, the University of Wisconsin-Madison, and Columbia University, LLaVA allows users to interact with images through natural language, supporting tasks such as visual question answering, image captioning, and complex visual reasoning. The latest iteration, LLaVA 1.6, introduces significant improvements in input resolution, visual instruction tuning, and logical reasoning capabilities. It is widely accessible for local deployment via Ollama, offering privacy, offline functionality, and flexible hardware requirements across various model sizes.

Open source

BAAI

BAAI/bge-small-en-v1.5 · Hugging Face

BAAI/bge-small-en-v1.5 is a lightweight, high-performance sentence embedding model developed by the Beijing Academy of Artificial Intelligence (BAAI). Based on the BERT architecture with approximately 33 million parameters, it generates 384-dimensional vector representations optimized for English text. It is widely used for semantic search, retrieval-augmented generation (RAG), and clustering tasks, offering a balance between computational efficiency and accuracy under the permissive MIT License.

Open sourcesentence-transformers

Site Discovery

Keep exploring ToolSeekAI

Move from model intelligence into tools, news, and rankings for a stronger AI decision path.