
nvidia/Nemotron-3-Embed-8B-BF16
Nemotron 3 Embed 8B is a high-accuracy embedding model for semantic search, code retrieval, and AI agents across complex, large-scale datasets.
NVIDIA Nemotron 3 Embed 8B is an accuracy-first embedding model designed for semantic search, code retrieval, and AI agents. It delivers leading retrieval quality across major benchmarks, making it well suited for complex knowledge bases and accuracy-critical workloads where finding the most relevant content is the priority.
Input
import os
from openai import OpenAI
# Replace the empty string with your model id below
model_id = ""
baseten_api_key = os.environ["BASETEN_API_KEY"]
client = OpenAI(
base_url=f"https://model-{model_id}.api.baseten.co/environments/production/sync/v1",
api_key=os.getenv("BASETEN_API_KEY")
)
inputs = ["query: What is the capital of France?",
"passage: Paris is the capital of France."]
# Call model endpoint
resp = client.embeddings.create(
model="nvidia/Nemotron-3-Embed-8B-BF16",
input=inputs
)
# Print the output of the model
print(resp.to_json())Output
{
"data": [
{
"embedding": [
0.001,
0.001
],
"index": 1,
"object": "embedding"
}
],
"model": "nvidia/Nemotron-3-Embed-1B-BF16",
"object": "list",
"usage": {
"prompt_tokens": 19,
"total_tokens": 19,
"completion_tokens": 0,
"prompt_tokens_details": null
},
"id": "embd-xxxx",
"created": 1784142524
}