一键导入
nemotron-retrieval-recipes
Use when planning, debugging, tuning, evaluating, exporting, or deploying public Nemotron `embed`/`rerank` retrieval recipes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when planning, debugging, tuning, evaluating, exporting, or deploying public Nemotron `embed`/`rerank` retrieval recipes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community detection, and query/path/explain tools.
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Trace and interpret the Pareto frontier across competing objectives using repeated single-objective cuOpt solves (weighted-sum and ε-constraint).
LP, MILP, and QP (beta) with cuOpt — C API only. Use when the user is embedding LP, MILP, or QP in C/C++.
LP, MILP, and QP (beta) with cuOpt — CLI only (MPS files, cuopt_cli). Use when the user is solving LP, MILP, or QP from MPS via command line.
Solve LP, MILP, QP (beta) with cuOpt Python API — linear/quadratic objectives, integer variables, scheduling, portfolio, least squares.
| name | nemotron-retrieval-recipes |
| version | 0.1.0 |
| author | NVIDIA Nemotron Team <noreply@nvidia.com> |
| license | Apache-2.0 |
| tags | ["nemotron","retrieval","fine-tuning","embeddings","reranking"] |
| metadata | {"author":"NVIDIA Nemotron Team <noreply@nvidia.com>","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. |
Invocation: $nemotron-retrieval-recipes.
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.
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. Never run broad environment dumps or commands that expose secret values. Prefer dotlist overrides and config review over editing recipe defaults.
Resolve conflicts in this order:
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.
uv sync --all-extras or the smallest relevant extra documented by the checkout.NVIDIA_API_KEY; never ask users to paste secret values.NGC_API_KEY.env.toml profile for --run or --batch; load references/remote.md when remote scheduling, logs, or GPU placement matter.references/embed.md for embedding, embed, bi-encoder, vector search, first-stage retrieval, low Recall@k, missing relevant documents, NIM embeddings, or nemotron embed.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.src/nemotron/recipes/<embed|rerank>/src/nemotron/cli/commands/<embed|rerank>/src/nemotron/recipes/<family>/stage*/config/default.yamluv run nemotron <family> --help, uv run nemotron <family> <stage> -c default -duv run nemotron <family> --helpuv run nemotron <family> <stage> --helpuv run nemotron <family> <stage> -c default -duv run nemotron <family> run -c default -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.uv run --no-sync ... --help or uv run --no-sync ... -d can avoid unexpected dependency sync during read-only checks.uv sync --all-extras or the smallest relevant extra if documented by the repo.NVIDIA_API_KEY.NGC_API_KEY.env.toml profile for --run or --batch; load references/remote.md when remote scheduling, logs, or GPU placement matter.CUDA_VISIBLE_DEVICES=<ids>.uv run nemotron <family> run -c default --from <stage> --to <stage>. The default run target stops at eval; export and deploy are opt-in.PITFALLS.md, localize the failing stage, then inspect the stage config, expected inputs, output directory, and corresponding CLI wrapper or run_uv.py.references/embed.md: embedding recipe stages, commands, defaults, output paths, and operating patterns.references/rerank.md: rerank recipe stages, commands, defaults, output paths, and operating patterns.references/evaluation.md: metric interpretation, comparison hygiene, and deployment readiness checks.references/remote.md: remote execution profiles, batch/run mode, GPU scoping, logs, and polling.PITFALLS.md: common failures and recovery moves for SDG, prep, training, eval, export, deploy, and CLI setup.User asks: "Recall is decent, but nDCG is poor and the right passage is around rank 40. Should I tune embed or rerank?"
Load references/rerank.md and references/evaluation.md, explain that acceptable recall with poor top-rank ordering points to reranker tuning, then offer a cheap preview before training.
uv run nemotron rerank run -c default -d --from prep --to eval
For failures, load PITFALLS.md first. Localize the failing stage, then inspect the stage config, expected inputs, output directory, and corresponding CLI wrapper or run_uv.py.
For planning or debugging recommendations, use this shape when it helps: Decision, Why, Required inputs, Preview command, Execution command, Avoid, and Next step. Omit fields that are irrelevant to a short answer.
Give concrete commands and file paths. State assumptions, expected inputs, expected outputs, and the cheapest validation step that proves the next action is ready. For long-running stages, separate preview commands from execution commands so the user can choose deliberately.
When reporting a dry-run or real run, include a compact run report: command, mode, config, dotlist overrides, input paths, output paths, validation signal or metric file, and next cheapest check. Include the checkout commit when it is available.