Логотип Nemotron 3 Ultra Text2sql Lora

Nemotron 3 Ultra Text2sql Lora

ОрганізаціяПопулярне
NVIDIA-NeMo
nemotron-3-ultra-text2sql-lora

Run the Nemotron-3 Ultra Text2SQL LoRA fine-tuning tutorial (NeMo Megatron-Bridge) end-to-end for the user on their SLURM cluster: data prep, distributed checkpoint conversion, and packed LoRA fine-tuning of the 550B hybrid Mamba-Transformer MoE, ending at a saved adapter. Use when the user wants to run this cookbook, fine-tune Nemotron-3 Ultra with LoRA, or adapt the notebook to their own cluster.

Add to TypingMind

Огляд

ВидавецьNVIDIA-NeMo
РепозиторійNemotron
Назва навичкиnemotron-3-ultra-text2sql-lora
Зірки
2.1K
Форки
419
Файли в пакеті
10
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 10

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: NVIDIA-NeMo. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Nemotron 3 Ultra Text2sql Lora у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/NVIDIA-NeMo/Nemotron/tree/main/usage-cookbook/Nemotron-3-Ultra/lora-text2sql/nemo-megatron-bridge
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-NeMo/Nemotron.git /tmp/Nemotron
mkdir -p .claude/skills
cp -r /tmp/Nemotron/usage-cookbook/Nemotron-3-Ultra/lora-text2sql/nemo-megatron-bridge .claude/skills/nemotron-3-ultra-text2sql-lora
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Nemotron 3 Ultra Text2sql Lora в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Nemotron 3 Ultra Text2sql Lora, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Nemotron 3 Ultra Text2sql Lora не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Nemotron-3 Ultra Text2SQL LoRA — runbook for a coding agent

This skill helps you run the cookbook in this directory (mbridge_lora_cookbook.ipynb) on the user's behalf. The notebook is generic and ships with placeholders; your job is to gather the user's environment details, fill them in, launch the SLURM jobs, watch them, and report results.

What the tutorial does

Three steps, in order, each a SLURM job:

  1. Data prep — builds a BIRD Text2SQL training.jsonl from both the no-reasoning and reasoning splits, formatted with Ultra's tokenizer/chat template. Short CPU job.
  2. Convert — distributed import of the Hugging Face base checkpoint into Megatron-Bridge format. A multi-node GPU job (CPU import is not feasible for a 550B model).
  3. LoRA fine-tune — packed-sequence LoRA training on the prepared data; saves a LoRA adapter. A multi-node GPU job.

What you must understand before running

  • Ultra is a 550B-total / A55B-active hybrid Mamba-Transformer MoE. It does not fit on one node, so every heavy step is a multi-node SLURM job submitted with sbatch and run in a container via Pyxis/enroot. Run everything from a cluster login node where sbatch/squeue/ sacct are available.
  • Scale. At the shipped parallel settings, both convert and train need 48 GPUs. Node count is derived automatically as 48 / GPUS_PER_NODE (e.g. 12 nodes at 4 GPUs/node). The user's QOS must permit a job of that size — an interactive or small-node-capped QOS will not work.
  • Single config. Everything is driven by one file, config.env, which the notebook's setup cell generates from the values you fill in. Every step and every slurm/*.sbatch script sources it. You can run the notebook cell, or write config.env directly with the same keys.
  • One output root. WORKSPACE is the single output root; everything generated lands under $WORKSPACE/{base, dataprep, trained, cache/hf, logs}. The base checkpoint (HF_MODEL_PATH) is the only separate, read-only path.
  • The rhythm per step: a launch cell submits the job, a re-runnable check cell shows status (sacct/squeue), and a sanity cell confirms the expected output exists before you move on. Follow this loop; don't skip the sanity check.

Information to gather from the user

Before launching anything, ask the user for the following and confirm the prerequisites. Don't guess these — a wrong value wastes a large multi-node allocation. Prefer asking all of them up front in one batch.

How to reach the cluster

  • How do you connect to the login node where SLURM jobs are submitted (e.g. the ssh host)?
  • Is there a separate data-transfer host you prefer for large file moves?

SLURM settings

  • SLURM account to charge.
  • GPU partition and a QOS that allows a multi-node job of 48 / GPUS_PER_NODE nodes (not an interactive or small-node-capped QOS). Confirm the wall-clock limit is enough (convert is short; training is well under a couple of hours by default).
  • CPU partition and QOS for the short data-prep job.
  • GPUs per node on the target nodes (the tutorial targets GB200 at 4 GPUs/node; the node count derives from this).

Paths (all on a shared filesystem the compute nodes can mount)

  • WORKSPACE — the output root to create/use.
  • HF_MODEL_PATH — where the already-downloaded Ultra base checkpoint lives (read-only input). The tutorial does not download the base model; confirm it is present.
  • The shared-filesystem root to bind-mount into the container (must contain both WORKSPACE and HF_MODEL_PATH).

Container & credentials

  • The container image to use (path to a prepared image or a registry reference). The notebook ships a placeholder; this must be filled with a real Ultra-capable image.
  • A Hugging Face token so BIRD can be downloaded during data prep. The tutorial expects it at ${WORKSPACE}/cache/hf/token; ask the user to place it there (or provide it so you can), and reference it by path — never print or echo a token.

If the user has an environment-reference document for their cluster, ask for it first and pull these values from there instead of asking one by one.

How to run it

  1. From the login node, cd into this cookbook directory (it must be on the shared filesystem).
  2. Fill the config: either edit the notebook's Environment & SLURM Setup cell and run it, or write config.env directly with the values gathered above. The setup cell has a guard that refuses to proceed while any placeholder (<...>) remains — make sure none are left.
  3. Run the three steps in order. For each: submit via the launch cell/sbatch, poll the check cell until the job reaches COMPLETED, then run the sanity cell.
  4. Poll, don't block. These are long-running multi-node jobs. Submit, then check back periodically with sacct/squeue — do not hold an interactive session open waiting, and do not stream logs live.

Verifying success per step

  • Data prep: $WORKSPACE/dataprep/training.jsonl exists and has many rows; a sampled record shows the Nemotron-3 chat template.
  • Convert: $WORKSPACE/base/latest_checkpointed_iteration.txt plus an iter_* checkpoint dir exist.
  • Train: under $WORKSPACE/trained/<experiment-name>/ there is a latest_checkpointed_iteration.txt and an iter_* adapter checkpoint; the training log shows the loss trending down and ends with a LORA_TRAIN_DONE marker.

Report per-step status and elapsed time (from sacct) and the final training loss.

Things already handled — do not change them

  • Synchronous checkpoint saving is set on purpose (async_save=False). Under some container runtimes the async-save path can hang; leave it as configured.
  • Parallelism / resharding. Convert uses one tensor-parallel layout and train uses another; only the tensor-parallel degree differs, so the converted checkpoint reshards cleanly on load. Don't retune these unless you change GPUS_PER_NODE, in which case keep the world size at 48 GPUs.
  • Packed sequences and the LoRA target modules (including the Mamba projections) come from the Ultra recipe — no need to configure them.
  • Steps are idempotent: data prep skips if training.jsonl exists; convert skips if the checkpoint already exists. Safe to re-run.

Expected friction (so you don't misread it)

  • The first training iteration is slow — graph capture and MoE warmup can take on the order of ~15 minutes with no log output and the GPUs at 100%. This is normal; do not cancel the job. Later iterations are fast.
  • A multi-node GPU job that, in the rare case, sits at "loading distributed checkpoint" with zero progress for far longer than the warmup window can be cancelled and resubmitted; a fresh allocation usually clears it.
  • Benign noise in the convert log (framework stack-trace fragments, bare NCCL version lines) is not a crash — judge success by the job state and the sanity check, not by log chatter.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Nemotron 3 Ultra Text2sql Lora?

Run the Nemotron-3 Ultra Text2SQL LoRA fine-tuning tutorial (NeMo Megatron-Bridge) end-to-end for the user on their SLURM cluster: data prep, distributed checkpoint conversion, and packed LoRA fine-tuning of the 550B hybrid Mamba-Transformer MoE, ending at a saved adapter. Use when the user wants to run this cookbook, fine-tune Nemotron-3 Ultra with LoRA, or adapt the notebook to their own cluster.

Навіщо використовувати Nemotron 3 Ultra Text2sql Lora у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Nemotron 3 Ultra Text2sql Lora — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Nemotron 3 Ultra Text2sql Lora у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/NVIDIA-NeMo/Nemotron/tree/main/usage-cookbook/Nemotron-3-Ultra/lora-text2sql/nemo-megatron-bridge. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Nemotron 3 Ultra Text2sql Lora?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Nemotron 3 Ultra Text2sql Lora?

Зі скількома забажаєте. У TypingMind ви можете використовувати Nemotron 3 Ultra Text2sql Lora із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Nemotron 3 Ultra Text2sql Lora?

Так. На GitHub цю навичку публікує NVIDIA-NeMo за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип garrytan

Gstack Openclaw Ceo Review

garrytan
СпільнотаПопулярне

Використовуйте, коли вас просять перевірити план, поставити під сумнів пропозицію, провести рев’ю з позиції CEO, знайти слабкі місця в підході, ширше поглянути на обсяг робіт або вирішити, чи варто розширити або скоротити план.

19.9K
133.5K
Інструкції
Відкрити
Логотип JuliusBrussee

Caveman Stats

JuliusBrussee
СпільнотаПопулярне

Показує записане використання токенів у виводі та зчитування з кешу, а також атрибуцію режиму для поточного сеансу Claude Code або знаходить вбудований звіт про використання на хості. Виклик: /caveman-stats.

6.2K
106.3K
Інструкції
Відкрити
Логотип pytorch

Ci Metrics

pytorch
ОрганізаціяПопулярне

Отримуйте дані про CI PyTorch, GitHub Actions, HUD, Grafana та інфраструктурні метрики. Використовуйте цю навичку, коли користувачі запитують про тривалість CI, збої завдань, час очікування в черзі, тенденції робочих процесів, стан раннерів, дані…

31K
103.6K
Файлів: 1
Відкрити
Логотип openclaw

Notcrawl

openclaw
ОрганізаціяПопулярне

Архів Notion: пошук, актуальність синхронізації, сторінки й бази даних, експорт у Markdown, підрахунок записів SQL і робота з репозиторієм Notcrawl.

82.2K
391K
Файлів: 1
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇