
nvidia/Nemotron-3-Embed-1B-BF16
Nemotron 3 Embed 8B is a compact embedding model built for fast, accurate retrieval across enterprise knowledge and code.
NVIDIA Nemotron 3 Embed 1B is a compact, efficient embedding model designed for semantic search, code retrieval, and AI agents. It generates high-quality text and code embeddings quickly, making it well suited for indexing large collections and keeping retrieval systems fresh as content changes.
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-1B-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
}