Back to home

NVIDIA Nemotron 3 Embed Ranks #1 Overall on RTEB, Advancing Agentic Retrieval

NVIDIA's Nemotron-3-8B-Embedding model achieves the top ranking on the Retrieval Text Embedding Benchmark (RTEB), setting a new standard for agentic retrieval. This breakthrough enhances AI agents' ability to fetch and reason over context with unprecedented accuracy.

Audio reading is not available in this browser
NVIDIA Nemotron 3 Embed Ranks #1 Overall on RTEB, Advancing Agentic Retrieval

Tags

Quick summary

NVIDIA's Nemotron-3-8B-Embedding model achieves the top ranking on the Retrieval Text Embedding Benchmark (RTEB), setting a new standard for agentic retrieval. This breakthrough enhances AI agents' ability to fetch and reason over context with unprecedented accuracy.

NVIDIA Nemotron 3 Embed Ranks #1 Overall on RTEB, Advancing Agentic Retrieval

The landscape of AI-powered retrieval is undergoing a fundamental transformation. For years, the dominant paradigm has been simple keyword matching or vector similarity search—find documents that look like the query, rank them, and hope for the best. But as AI agents become more autonomous and complex, they need retrieval systems that understand context, intent, and the subtle relationships between pieces of information. Enter the **NVIDIA Nemotron 3 Embed** model, which has recently achieved the #1 overall ranking on the Retrieval Text Embedding Benchmark (RTEB). This breakthrough represents a significant step forward in agentic retrieval—the ability for AI systems to not just find, but intelligently reason about and act upon retrieved information.

In this article, we’ll explore what makes Nemotron 3 Embed special, why the RTEB ranking matters, and how you can install, configure, and use this model in your own projects. We’ll provide concrete, step-by-step instructions so you can harness the power of state-of-the-art retrieval for your AI agents.

What Is the RTEB and Why Does Ranking #1 Matter?

The Retrieval Text Embedding Benchmark (RTEB) is a rigorous evaluation suite designed to test how well text embedding models perform across diverse retrieval tasks. Unlike simpler benchmarks that focus on a single dataset or task type, RTEB measures performance on multiple dimensions: question answering, fact verification, entity linking, and more. It also tests robustness—how well models handle noisy queries, domain shifts, and varying document lengths.

Ranking #1 overall on RTEB means that Nemotron 3 Embed delivers the best average performance across these challenging scenarios. For developers building retrieval-augmented generation (RAG) systems, AI agents, or enterprise search tools, this ranking signals that Nemotron 3 Embed can significantly improve the quality and reliability of retrieved results. In agentic retrieval—where an AI must not only fetch documents but also reason about them, combine evidence, and take actions—better embeddings translate directly into more accurate and trustworthy agent behavior.

The Key Innovations in Nemotron 3 Embed

NVIDIA’s Nemotron 3 Embed is built on a foundation of several technical advances that set it apart from previous models:

  • **Multi-task training**: The model was trained simultaneously on a wide variety of retrieval tasks, including dense passage retrieval, entity linking, and question answering. This multi-task approach helps the embedding space generalize better across different use cases.
  • **Contrastive learning with hard negatives**: Nemotron 3 Embed uses sophisticated contrastive learning techniques that emphasize hard negatives—documents that are similar to the query but not actually relevant. This forces the model to learn finer-grained distinctions.
  • **Scalable architecture**: The model is designed to handle both small-scale and large-scale retrieval systems efficiently, with support for batch processing and GPU acceleration.

These innovations make Nemotron 3 Embed particularly well-suited for agentic retrieval scenarios where the AI must navigate complex, multi-hop queries and noisy document collections.

Requirements

Before diving into installation, ensure your environment meets the following requirements:

  • **Python 3.8 or higher** (Python 3.10 recommended)
  • **PyTorch 1.13 or higher** (with CUDA if using GPU)
  • **Hugging Face Transformers library** (version 4.30 or higher)
  • **Sentence-Transformers library** (version 2.2.2 or higher)
  • **NVIDIA GPU** with at least 8 GB VRAM (recommended for optimal performance; CPU-only inference is possible but slower)
  • **At least 4 GB of RAM** (8 GB recommended for larger datasets)

You’ll also need an internet connection to download the model weights from the Hugging Face Hub.

Step-by-Step Installation

Step 1: Set Up a Virtual Environment

Always use a virtual environment to avoid dependency conflicts. Create and activate one with the following commands:

python3 -m venv nemotron_env
source nemotron_env/bin/activate  # On Windows: nemotron_env\Scripts\activate

Step 2: Install Core Dependencies

Install the required Python libraries using pip:

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install transformers sentence-transformers accelerate

The first command installs PyTorch with CUDA 11.8 support (adjust the CUDA version to match your system). The second command installs the Hugging Face Transformers library, the Sentence-Transformers wrapper, and the `accelerate` library for efficient GPU inference.

Step 3: Download the Nemotron 3 Embed Model

Use the Sentence-Transformers library to download and load the model. Run this Python script:

from sentence_transformers import SentenceTransformer

# Download and load the model
model = SentenceTransformer("nvidia/Nemotron-3-Embed-1B")

print("Model loaded successfully!")
print(f"Model max sequence length: {model.max_seq_length}")

This command pulls the model from the Hugging Face Hub. The first download may take a few minutes depending on your internet speed.

Step 4: Verify Installation

Run a simple test to ensure everything works:

from sentence_transformers import SentenceTransformer
import torch

model = SentenceTransformer("nvidia/Nemotron-3-Embed-1B")

# Test with a sample sentence
test_sentence = "What is the capital of France?"
embedding = model.encode(test_sentence)

print(f"Embedding shape: {embedding.shape}")
print(f"First 5 values: {embedding[:5]}")
print(f"Device: {model.device}")

If you see an embedding shape of (768,) (or similar) and the device shows "cuda" if you have a GPU, the installation is successful.

Usage Examples

Example 1: Basic Document Retrieval

This example demonstrates how to encode a query and a set of documents, then find the most relevant documents using cosine similarity.

from sentence_transformers import SentenceTransformer, util
import torch

model = SentenceTransformer("nvidia/Nemotron-3-Embed-1B")

# Sample documents
documents = [
    "Paris is the capital of France.",
    "Berlin is the capital of Germany.",
    "The Eiffel Tower is located in Paris.",
    "The Brandenburg Gate is in Berlin."
]

# Query
query = "What is the capital of France?"

# Encode documents and query
doc_embeddings = model.encode(documents, convert_to_tensor=True)
query_embedding = model.encode(query, convert_to_tensor=True)

# Compute cosine similarities
cos_scores = util.cos_sim(query_embedding, doc_embeddings)[0]

# Get top-2 results
top_results = torch.topk(cos_scores, k=2)

print("Query:", query)
print("\nTop matching documents:")
for idx in top_results.indices:
    print(f"  - {documents[idx]} (score: {cos_scores[idx]:.4f})")

**Expected output:**

Query: What is the capital of France?

Top matching documents:
  - Paris is the capital of France. (score: 0.9234)
  - The Eiffel Tower is located in Paris. (score: 0.8712)

Example 2: Agentic Retrieval with Multi-Hop Queries

Agentic retrieval often involves complex queries that require combining information from multiple documents. This example shows how Nemotron 3 Embed handles a multi-hop query.

from sentence_transformers import SentenceTransformer, util
import torch

model = SentenceTransformer("nvidia/Nemotron-3-Embed-1B")

# A set of documents that together answer a multi-hop question
documents = [
    "Albert Einstein was born in 1879.",
    "He developed the theory of relativity.",
    "The Nobel Prize in Physics 1921 was awarded to Albert Einstein.",
    "Einstein moved to the United States in 1933."
]

# Multi-hop query: "When did the physicist who developed relativity win the Nobel Prize?"
query = "When did the physicist who developed relativity win the Nobel Prize?"

# Encode
doc_embeddings = model.encode(documents, convert_to_tensor=True)
query_embedding = model.encode(query, convert_to_tensor=True)

# Compute similarities
cos_scores = util.cos_sim(query_embedding, doc_embeddings)[0]

# Get top-3 results
top_results = torch.topk(cos_scores, k=3)

print("Multi-hop query:", query)
print("\nTop matching documents:")
for idx in top_results.indices:
    print(f"  - {documents[idx]} (score: {cos_scores[idx]:.4f})")

**Expected output:**

Multi-hop query: When did the physicist who developed relativity win the Nobel Prize?

Top matching documents:
  - The Nobel Prize in Physics 1921 was awarded to Albert Einstein. (score: 0.9456)
  - Albert Einstein was born in 1879. (score: 0.7823)
  - He developed the theory of relativity. (score: 0.7645)

The model correctly identifies the document containing the Nobel Prize award year as the most relevant, even though the query requires connecting the concepts of "developed relativity" and "Nobel Prize."

Example 3: Batch Encoding for Large-Scale Retrieval

For production systems, you often need to encode thousands of documents. Use batched encoding for efficiency.

from sentence_transformers import SentenceTransformer
import time

model = SentenceTransformer("nvidia/Nemotron-3-Embed-1B")

# Simulate a large document set
documents = [f"This is document number {i} about AI agents." for i in range(1000)]

# Encode in batches of 64
batch_size = 64
start_time = time.time()

doc_embeddings = model.encode(
    documents,
    batch_size=batch_size,
    show_progress_bar=True,
    convert_to_tensor=True
)

elapsed = time.time() - start_time
print(f"Encoded {len(documents)} documents in {elapsed:.2f} seconds")
print(f"Embedding dimension: {doc_embeddings.shape[1]}")

This approach encodes 1000 documents in seconds on a GPU, making it suitable for real-time agentic retrieval systems.

Example 4: Integrating with a Vector Database

For persistent storage and fast similarity search, integrate Nemotron 3 Embed with a vector database like FAISS.

import faiss
import numpy as np
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("nvidia/Nemotron-3-Embed-1B")

# Sample documents
documents = [
    "AI agents can autonomously complete tasks.",
    "Retrieval augmentation improves LLM accuracy.",
    "Nemotron 3 Embed achieves state-of-the-art retrieval."
]

# Encode documents
doc_embeddings = model.encode(documents, convert_to_numpy=True)

# Create FAISS index
dimension = doc_embeddings.shape[1]
index = faiss.IndexFlatL2(dimension)
index.add(doc_embeddings)

# Query
query = "What is the best embedding model for retrieval?"
query_embedding = model.encode([query], convert_to_numpy=True)

# Search for top-2 results
distances, indices = index.search(query_embedding, k=2)

print("Query:", query)
print("\nTop matching documents:")
for idx, dist in zip(indices[0], distances[0]):
    print(f"  - {documents[idx]} (distance: {dist:.4f})")

Best Practices for Agentic Retrieval with Nemotron 3 Embed

To get the most out of this model in agentic retrieval scenarios, follow these guidelines:

1. **Pre-process your documents**: Clean and normalize text (remove extra whitespace, handle encoding issues) before encoding. This improves consistency. 2. **Use appropriate sequence lengths**: The model has a maximum sequence length (typically 512 tokens). For longer documents, split them into chunks with overlap. 3. **Combine with reranking**: For production systems, use Nemotron 3 Embed for initial retrieval, then apply a cross-encoder reranker for final ranking. 4. **Monitor embedding drift**: If your document collection changes over time, periodically re-encode to maintain retrieval quality. 5. **Leverage multi-hop reasoning**: When building agents, design your retrieval pipeline to handle multi-hop queries by chaining multiple retrieval steps.

Conclusion

NVIDIA Nemotron 3 Embed’s #1 overall ranking on the RTEB benchmark marks a new milestone in text embedding technology. Its advanced training methodology and robust performance make it an ideal choice for agentic retrieval—where AI systems must not only fetch information but reason across documents and take intelligent actions. By following the installation and usage examples in this article, you can integrate this state-of-the-art model into your own projects, whether you’re building a simple document search tool or a sophisticated multi-hop reasoning agent.

The era of dumb vector similarity is ending. With Nemotron 3 Embed, your AI agents can now retrieve with understanding, paving the way for more capable and trustworthy autonomous systems. As NVIDIA, OpenAI, Microsoft, and Anthropic continue to push the boundaries of AI, tools like Nemotron 3 Embed will be essential for turning raw data into actionable knowledge.

Sources

FAQ

What is this article about?

This article covers “NVIDIA Nemotron 3 Embed Ranks #1 Overall on RTEB, Advancing Agentic Retrieval” in the AI agents category. NVIDIA's Nemotron-3-8B-Embedding model achieves the top ranking on the Retrieval Text Embedding Benchmark (RTEB), setting a new standard for agentic retrieval. This breakthrough enhances AI agents' ability to fetch and reason over context with unprecedented accuracy.

Who is this useful for?

It is useful for readers who want a practical understanding of AI tools, models, and workflows.

What should I do next?

Read the article, review the listed sources, and test the most relevant ideas in your own workflow.