Skip to content
Machine Learning
Skill

/nemotron-retrieval-recipes

Use for Nemotron embed/rerank recipes, including Nemotron 3.5 multimodal SDG, tuning, evaluation, and deployment. Not for generic retrieval.

From plugin
nemotron
2.4k13 skills

Claude Code

$ npx -y skills add nvidia-nemo/nemotron --skill nemotron-retrieval-recipes --agent claude-code

SKILL.md

nemotron-retrieval-recipes.SKILL.md
name: nemotron-retrieval-recipes
license: Apache-2.0
metadata:
  version: "0.4.0"
  author: "NVIDIA Nemotron Team <noreply@nvidia.com>"
  tags:
    - nemotron
    - retrieval
    - fine-tuning
    - embeddings
    - reranking
description: Use for Nemotron embed/rerank recipes, including Nemotron 3.5 multimodal SDG, tuning, evaluation, and deployment. Not for generic retrieval.

Nemotron Retrieval Recipes

Invocation: `$nemotron-retrieval-recipes`.

Purpose

Use this skill to plan, run, and debug public Nemotron embedding and reranking recipes. The bundled references support planning without a Nemotron checkout or network access. Before execution, verify the installed CLI's capabilities and the selected configuration because recipe interfaces can change.

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.

Runtime and Source Priority

Resolve `references/` links relative to this skill folder, not the working directory. External source links are optional, commit-pinned background. Do not require repository documentation to answer a planning question.

Execution examples assume a prepared Nemotron checkout. At the bundled revision, the CLI resolves recipe scripts from the working directory: run from the checkout root even if `nemotron` is installed globally. Use `uv run nemotron` there, or `nemotron` directly in an activated environment. Do not run `uv sync` in an unrelated project. Without a checkout or runtime, provide a plan from the bundled references and identify setup as an execution prerequisite. Never require a checkout just to explain the workflow.

For a new execution workspace, this setup selects the bundled revision. Use the user's existing checkout and revision when they already chose one:

git clone https://github.com/NVIDIA-NeMo/Nemotron.git
cd Nemotron
git checkout db6312b2d2aac53a341afd6b45c7784ee966b47c
uv sync --python 3.12

Resolve conflicts in this order:

1. User-selected runtime: installed CLI help and resolved configs, plus source files when a matching checkout is available. 2. Bundled references in this skill. 3. User-provided docs or saved snippets. 4. Memory.

Before execution, confirm the command, profile, input paths, and required environment exist. Missing runtime dependencies block execution, not planning.

Inputs

Gather only what the requested task needs:

  • Required: the goal or failure, recipe family, model profile, and target stage.
  • Optional, depending on the stage: corpus or prepared-data paths, artifact root, checkpoint, execution mode, GPU IDs, and whether credentials are configured.
  • Prefer explicit user choices over profile defaults. Infer available context from the conversation and checkout; ask only for missing information that changes the next action. Never request secret values.

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 when comparing families or planning work that spans both families.

2. Choose the model profile within the selected family.

  • For embed, use `-c nemotron-3` for Nemotron 3 Embed, `-c llama` for Llama Nemotron Embed, or `-c nemotron-3.5` for Nemotron 3.5 Embed with text, images, or paired documents.
  • For rerank, use `-c default` for Llama Nemotron Rerank or `-c nemotron-3.5` for Nemotron 3.5 Rerank.
  • For Nemotron 3.5 reranking from raw documents, also load the embedding reference's multimodal workflow: embedding SDG and preparation produce the shared training inputs. With prepared inputs, start from the rerank reference's handoff.
  • When the CLI is available, run `nemotron <family> info` if model identity is unclear. Read the selected profile's section in the family reference before composing commands.
  • Carry the selected profile and `artifact_root` through every stage; never combine artifacts from different 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. Select any additional references below for that task before composing commands. 5. Before execution, inspect CLI help and dry runs. When a matching checkout is available, use these optional implementation locations for debugging:

  • Recipe files: `src/nemotron/recipes/<embed|rerank>/`
  • CLI files: `src/nemotron/cli/commands/<embed|rerank>/`
  • Configs: `src/nemotron/recipes/<family>/stage*/config/<pr
Read more
@nvidia-nemo
Ships withnemotron

Open and efficient models for agentic AI. Training recipes, deployment guides, and use-case examples for the Nemotron family.

Stars on GitHub

Momentum

stars in total
2.4k
Star history of nvidia-nemo/nemotron on GitHub, a chart by star-history.com

Other skills on nemotron.

nemotron-add-model

nemotron-add-model

Onboard a new model family (Nemotron or third-party) into skills/ — paper chunks, recipe summaries, context packs, and model…

nemotron-add-pattern

nemotron-add-pattern

Add a cross-cutting decision pattern under src/nemotron/steps/patterns/. Use when a recurring ML decision (tokenizer lock, eval…

nemotron-add-step

nemotron-add-step

Add a new step under src/nemotron/steps/<category>/<step_id>/ — manifest (step.toml), runner glue, configs, and per-step…

nemotron-customize

nemotron-customize

Configure and chain repo-native Nemotron steps for curation, tokenizer extension, SDG/BYOB, training, conversion, optimization,…

nemotron-lightning35

nemotron-lightning35

Reference desk for NVIDIA Nemotron 3.5 Lightning (30B-A3B), a hybrid Mamba-Transformer MoE with MTP built from Nano 3 Base by…

nemotron-nano3

nemotron-nano3

Reference desk for Nemotron 3 Nano / Llama-Nemotron Nano 3 — architecture, training data, recipes, evaluation, quantization,…

More skills from other plugins.

analyze-ci

analyze-ci

Analyze failed GitHub Action jobs. Takes one or more GitHub URLs (job, workflow-run, or PR) and summarizes each failure with root…

mlflow4d29k
@mlflow@mlflowInstall Skill
hf-cli

hf-cli

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…

skills2w11k
@huggingface@huggingfaceInstall Skill
feast-architecture

feast-architecture

Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…

feast8d7.4k
@feast-dev@feast-devInstall Skill
add-ecosystem

add-ecosystem

Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu,…

civitai5d7.3k
@civitai@civitaiInstall Skill

Questions about nemotron-retrieval-recipes.

Which coding agents can use nemotron-retrieval-recipes?
nemotron-retrieval-recipes installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.