Nemotron Retrieval RecipesSAFE
Developer Asset Hub for NVIDIA Nemotron — A one-stop resource for training recipes, usage cookbooks, datasets, and full end-to-end reference examples to build with Nemotron models
Overview
Developer Asset Hub for NVIDIA Nemotron — A one-stop resource for training recipes, usage cookbooks, datasets, and full end-to-end reference examples to build with Nemotron models
441e9a359902OBSERVED · 2026-10-09Install
Commands as the repository documents them. They are shown, not run.
uv run nemotron rerank run -c default -d --from prep --to eval
uv run --no-sync nemotron embed --help
uv run --no-sync nemotron embed run -c default -d --from sdg --to prep
uv run --no-sync nemotron embed run -c default -d --from prep --to eval
uv run --no-sync nemotron rerank --help
uv run --no-sync nemotron rerank run -c default -d --from prep --to eval
Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| claude-code | mentioned | |
| codex | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: nemotron-retrieval-recipes version: "0.2.0" author: "NVIDIA Nemotron Team <[email protected]>" license: Apache-2.0 tags: - nemotron - retrieval - fine-tuning - embeddings - reranking metadata: author: "NVIDIA Nemotron Team <[email protected]>" tags: - nemotron - retrieval - fine-tuning - embeddings - reranking tools: - Read - Bash - Search description: Use when planning, debugging, tuning, evaluating, exporting, or deploying public Nemotron `embed`/`rerank` retrieval recipes. --- # Nemotron Retrieval Recipes Invocation: `$nemotron-retrieval-recipes`. ## Purpose Use this skill to work with public Nemotron embedding and reranking retrieval recipes in a source checkout or installed package. Prefer the current checkout over memory, because the recipe CLI, configs, containers, and output paths are actively changing. Treat each recipe family as available only after its recipe directory and matching CLI files are present. This is a public product skill, not contributor-only guidance. Its value over static docs is to make an agent route the user's retrieval failure to the right recipe family, reconcile docs with the current checkout, avoid accidental long-running launches, preserve secrets, and return concrete preview/execution/run-report commands. Use it only for tasks tied to the public Nemotron `embed` or `rerank` recipe flow. If the request is unrelated retrieval theory, generic vector database selection, generic benchmark advice, or non-recipe Docker/Slurm/NIM troubleshooting, stop with a short scope note and do not inspect recipe files in that turn. ## Security Notes Use `Bash` for repo-scoped inspection, help, dry-run, and user-approved execution commands. Do not run API, GPU, Docker, Slurm, NIM, or other long-running work unless the user explicitly asks for it. Before Stage 0 SDG for either family, confirm the user's data-governance policy permits sending corpus content to the configured inference endpoints; otherwise use an approved private or air-gapped path. Never run broad environment dumps or commands that expose secret values. Prefer dotlist overrides and config review over editing recipe defaults. ## Source Priority Resolve conflicts in this order: 1. Current checkout recipe, CLI, config, and source files. 2. Bundled references in this skill. 3. User-provided docs or saved snippets. 4. Memory. For runnable commands, treat the current checkout as authoritative. If a required recipe directory, CLI command, config, or env profile is missing, report the blocker instead of guessing. ## Prerequisites - Repo environment: `uv sync --all-extras` or the smallest relevant extra documented by the checkout. - Stage 0 SDG: `NVIDIA_API_KEY`; never ask users to paste secret values. - Stages 1–3 GPU work: CUDA/NVIDIA driver availability and enough VRAM. - Stage 4 export: NeMo Export-Deploy container when using TensorRT. The default Nemotron 3 Embed profile intentionally skips export. - Stage 5 deploy: Docker. Default Nemotron 3 Embed can use the checked-in vLLM path with `backend=vllm`, or a compatible `NEMOTRON3_EMBED_NIM_IMAGE` with `backend=nim`; Llama Embed and rerank deployment may require NGC access and `NGC_API_KEY`. - Remote execution: root `env.toml` profile for `--run` or `--batch`; load `references/remote.md` when remote scheduling, logs, or GPU placement matter. ## Instructions 1. Identify the recipe family. - Use `references/embed.md` for embedding, embed, bi-encoder, vector search, first-stage retrieval, low Recall@k, missing relevant documents, NIM embeddings, or `nemotron embed`. - Use `references/rerank.md` for rerank, reranker, cross-encoder, second-stage retrieval, acceptable recall but poor top-rank ordering, low nDCG with good Recall, or `nemotron rerank`. - Use both references only when the user asks about both families or asks which family to choose. 2. For `embed`, choose one model profile before composing stage commands. - Run `uv run nemotron embed info` when the requested model is unclear. - Use `-c default` for `nvidia/Nemotron-3-Embed-1B-BF16`. - Use `-c llama` for `nvidia/llama-nemotron-embed-1b-v2` and its export path. - Carry the selected profile and `artifact_root` through every stage; never combine artifacts from the two profiles. 3. Choose the model family to tune from the retrieval failure mode. - Prefer embedding fine-tuning when relevant documents are absent from the candidate set. - Prefer reranker fine-tuning when relevant documents are retrieved but ordered poorly near the top. - For production retrieval stacks, remember that these are complementary: embed first, rerank candidates second. 4. Identify the intent: plan a run, execute a stage, debug a failure, tune hyperparameters, interpret metrics, export/deploy a model, inspect configs, or propose dotlist overrides. 5. Inspect the current public surface before acting: - Recipe files: `src/nemotron/recipes/<embed|rerank>/` - CLI files: `src/nemotron/cli/commands/<embed|rerank>/` - Configs: `src/nemotron/recipes/<family>/stage*/config/<profile>.yaml` - Help and dry runs: `uv run nemotron <family> --help`, `uv run nemotron <family> <stage> -c <profile> -d` ## Safe Workflow 1. Gather only context relevant to the task: recipe family, selected profile, corpus path, existing SDG/training/eval data, target stage range, artifact root, checkpoint path, execution mode, GPU IDs, and whether required secrets are configured. Never ask users to paste secret values. 2. Start with cheap checks before expensive work: - `uv run nemotron <family> --help` - `uv run nemotron <family> <stage> --help` - `uv run nemotron <family> <stage> -c <profile> -d` - `uv run nemotron <family> run -c <profile> -d --from <stage> --to <stage>` - `run --help` may omit inherited `-c` and `-d` options even though `run -c default -d ...` works; validate by running the dry-run when unsure. - In an already prepared checkout
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
441e9a359902full audit observations/trust-audit/skill/nvidia-nemo__nemotron-retrieval-recipes.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 441e9a359902 | SAFE | B | 89 | first audit |
Questions
What does the Nemotron Retrieval Recipes skill do?
Developer Asset Hub for NVIDIA Nemotron — A one-stop resource for training recipes, usage cookbooks, datasets, and full end-to-end reference examples to build with Nemotron models
Is Nemotron Retrieval Recipes safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Nemotron Retrieval Recipes access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Nemotron Retrieval Recipes work with?
Its documentation mentions claude-code and codex. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (441e9a359902), read on 2026-10-09. The repository is watched, and a new audit runs when it changes — this is the first audit.