codonfm-finetune
Fine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning.
Skill by NVIDIA BioNeMo <bionemofeedback@nvidia.com>
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nvidia-codonfm-finetune
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, model-inference
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/codonfm-finetune
What's inside
- Skill name
codonfm-finetune- Description
- Fine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning. Use when a user explicitly asks to fine-tune CodonFM or Encodon for regression or classification. Support generic public-v1 Encodon workflows only; reject Decodon, MissenseDataset, missense_synom_agg, and generation workflows.
- License
- Apache-2.0
- Metadata
- author: NVIDIA BioNeMo <bionemofeedback@nvidia.com>
- Instructions
- 195 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: "codonfm-finetune" does not match folder "bionemo-codonfm-finetune"
Files (13)
- BENCHMARK.md
- SKILL.md
- openai.yaml · agents/
- evals.json · evals/
- codonfm_source.zip · evals/files/
- encodon_checkpoint.json · evals/files/
- ribonn_smoke.provenance.json · evals/files/
- ribonn_smoke.tsv · evals/files/
- variants_labeled.csv · evals/files/
- variants_labeled.provenance.json · evals/files/
- prepare_ribonn.py · scripts/
- skill-card.md
- skill.oms.sig
SKILL.md (first lines)
# Fine-tune public Encodon
Use `--pretrained_ckpt_path` for public v1. Do not substitute
`--checkpoint_path`: the public runner does not forward that argument to the
fine-tuning task.
## Instructions
Resolve the target label, dataset, checkpoint, and output directory from the
request and available files. Reuse existing data and weights. For training,
check the project's ML dependencies and a compatible NVIDIA GPU before launch.
If a required resource is unavailable, complete the available data preparation
and return the command with the missing prerequisite clearly identified.
When training is requested and the prerequisites are met, execute it and check
the resulting checkpoints and metrics. A request for preparation ends with the
validated inputs and command.
Use the user's labeled dataset when provided. For a demonstration of sequence
regression without a dataset, use the public human RiboNN translation-efficiency
data below and state that choice. This is not a substitute for a user's intended
assay or for labeled coding variants. If variant labels are missing, return the
required schema and a command template promptly; do not search for labels or
invent measured effects.
Default demonstration checkpoint: `nvidia/NV-CodonFM-Encodon-80M-v1`, revision
`399ca9fe17b57941a7bebc6788033919b417413c`, file
`NV-CodonFM-Encodon-80M-v1.safetensors` with sibling `config.json`.
The [public weights](https://huggingface.co/nvidia/NV-CodonFM-Encodon-80M-v1)
are about 307 MB. Download them when needed for the requested work; input
preparation can record an intended checkpoint path. These are the original Encodon weights; the `-TE-`
checkpoints use the separate TransformerEngine implementation.
For an unsupported Decodon or missense-aggregation request, inspect the public
parser/model configuration, explain the missing feature, and finish. Do not
implement the missing model or search private repositories.
## Examples
Prepare a small public-data example with the standard-library helper
[prepare_ribonn.py](scripts/prepare_ribonn.py), running from the repository root.
Set `CODONFM_DATA_PATH` to the CSV you want to create:
```bash
python skills/codonfm-finetune/scripts/prepare_ribonn.py \
--output "$CODONFM_DATA_PATH"
```
With an existing raw file, add `--input "$RIBONN_DATA_PATH"`. The default reads
at most eight accepted rows per split; `--max-rows-per-split 0` processes the full
input. Remote streaming has a time budget and no automatic retries; use a local
file if it fails. The helper follows the CDS slicing in the
[RiboNN notebook](../../notebooks/4-EnCodon-Downstream-Task-riboNN.ipynb):
- Read the upstream `.csv` with a **tab** delimiter.
- Set `ref_seq = tx_sequence[utr5_size:utr5_size + cds_size]`, `id = transcript_id`,
and `value = mean_te` unchanged. Do not take another logarithm.
- Preserve source fold groups: 0–7 become `train`, 8 becomes `val`, 9 becomes
`test`. This is a demonstration holdout, not the notebook's cross-validation.
- Exclude invalid/non-finite rows and CDSs exceeding 2046 codons instead of
silently truncating labeled examples. Record counts and source in the adjacent
`.metadata.json`. A small subset does not establish predictive performance.
The pinned dataset URL is in the helper; its source is
[CenikLab/TE_classic_ML](https://github.com/CenikLab/TE_classic_ML/tree/main/data).
The notebook extracts frozen Encodon embeddings and trains a random-forest
regressor with fold-based cross-validation. This skill reuses its data source,
CDS extraction, and target for a separate fine-tuning example; it does not
reproduce the notebook's training procedure or results.
## Supported strategies
- `lora`: adapter fine-tuning; default choice for smaller datasets.
- `head_only_random`: freeze the backbone and train a new head.
- `head_only_pretrained`: train an existing compatible pretrained head.
- `full`: update the complete model.
Accept only `encodon_80m`, `encodon_600m`, or `encodon_1b`.
## Sequence-level regression or classification
Require `id`, `ref_seq`, `value`, and `split` columns. Extra columns are allowed.
Map the user's columns to this loader schema; the RiboNN helper is only for
RiboNN source data. Training needs `train` rows and, when validation is enabled,
`val` rows. A `test` split is needed only for later evaluation. Labels in unused
splits need not be populated. Regression targets must be finite numbers;
classification targets must be integer class indices from zero through
`num_classes - 1`. Use a downstream head for scalar targets.
Check sequence preparation with the user’s assay in mind. The loader converts
uppercase RNA `U` to `T`, and the tokenizer uppercases bases. Ambiguous bases and
incomplete codons can produce unknown tokens; overlength sequences are truncated.
Review these cases rather than silently dropping user records. Choose batches
and a training budget appropriate to the dataset; small training sets may be
resampled by the loader.
Set `CODONFM_CHECKPOINT_PATH` to the checkpoint file and `CODONFM_RUN_DIR` to
your chosen output directory. This example runs ten steps to check the workflow;
choose the training budget for the actual dataset and task:
```bash
python -m src.runner finetune \
--exp_name property_finetune \
--model_name encodon_80m \
--pretrained_ckpt_path "$CODONFM_CHECKPOINT_PATH" \
--data_path "$CODONFM_DATA_PATH" \
--process_item codon_sequence \
--dataset_name CodonBertDataset \
--finetune_strategy lora \
--lora_alpha 32 \
--lora_r 16 \
--lora_dropout 0.1 \
--loss_type regression \
--use_downstream_head \
--lr 2e-5 \
--max_steps 10 \
--warmup_iterations 1 \
--check_val_every_n_epoch 1 \
--train_batch_size 4 \
--val_batch_size 4 \From NVIDIA/skills, Apache-2.0.
More from NVIDIA/skills
- 0.846score
nemo-fabric-integrate
NVIDIA Corporation and Affiliates
Use this skill when integrating NVIDIA NeMo Fabric into a consumer application, service, evaluation harness, or platform through the typed Python SDK —…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
jetson-video-pipeline
Vinit Bansal <vinitkumarb@nvidia.com>
Use when planning, executing, and independently validating Jetson Video Codec SDK or PyNvVideoCodec encode/decode, transcode, segmentation, container decode…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
nvflare-convert-pytorch
NVIDIA FLARE Team <federatedlearning@nvidia.com>
Convert existing plain or manual PyTorch training code into an NVFLARE federated job using Client API model exchange, local validation, and job export; use…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
nemo-relay-get-started
NVIDIA Corporation and Affiliates
Use this skill when first-time NeMo Relay users want help selecting and following an appropriate quick-start guide or verifying their first working integration.
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
jetson-video-recipe
Vinit Bansal <vinitkumarb@nvidia.com>
Use when turning a Jetson encoder use case into one surface-neutral recipe with native Video Codec SDK and PyNvVideoCodec projections.
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
nvidia-broadcast
NVIDIA Broadcast Team <broadcast-skills-dev@nvidia.com>
Use when controlling NVIDIA Broadcast through MCP to apply effects, process local media, select devices, or change camera resolution, or when Broadcast is…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
jetson-video-setup
Vinit Bansal <vinitkumarb@nvidia.com>
Use when installing, repairing, reusing, inspecting, or verifying readiness of the native NVIDIA Video Codec SDK or PyNvVideoCodec on Jetson, including the…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
nvflare-diagnose-job
NVIDIA FLARE Team <federatedlearning@nvidia.com>
Use when the user asks why a reported NVFLARE job failure signal occurred: the job failed, stalled, timed out, lost clients, ended with EXECUTION_EXCEPTION…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
nvflare-convert-lightning
NVIDIA FLARE Team <federatedlearning@nvidia.com>
Convert existing PyTorch Lightning training code into an NVFLARE federated job using the Lightning Client API patch, local validation, and job export; use…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
nemo-relay-install
NVIDIA Corporation and Affiliates
Use this skill when choosing or running NeMo Relay installation for an agent runtime, application language, framework integration, or plugin bundle, or…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
nvflare-fed-stats
NVIDIA FLARE Team <federatedlearning@nvidia.com>
Compute federated statistics over tabular data (count, sum, mean, stddev, var, histogram, quantile, noise-protected min/max) and image data (count…
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.846score
jetson-video-capability
Vinit Bansal <vinitkumarb@nvidia.com>
Use when Jetson codec, profile, chroma, bit-depth, dimension, engine-count, or operational support must be reconciled from live APIs, authenticated NVIDIA…
SkillAFreshness: A★ 3.7KClaude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 3,718
- Forks
- 457
- Open issues
- 8
- Last commit (this folder)
- Oct 9, 2026 (18 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/NVIDIA/skills
- Website
- docs.nvidia.com/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from NVIDIA BioNeMo <bionemofeedback@nvidia.com>
- 0.838score
rfd4-proteina-nim
NVIDIA BioNeMo <bionemofeedback@nvidia.com>
Run RFD4-Proteina NIM for joint protein structure and sequence design, conditioned generation, and reward-guided search using the NVIDIA hosted API or a…
SkillAFreshness: A★ 3.7KClaude Code - 0.838score
codonfm-embed
NVIDIA BioNeMo <bionemofeedback@nvidia.com>
Validate coding-sequence CSVs, extract public CodonFM/Encodon embeddings, and choose checkpoints for downstream property modeling.
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.836score
codonfm-score
NVIDIA BioNeMo <bionemofeedback@nvidia.com>
Validate, prepare, or run public CodonFM Encodon masked-codon variant scoring and review compatibility of its scoring workflows.
SkillAFreshness: A★ 3.7KClaude Code +9 - 0.831score
codonfm-setup
NVIDIA BioNeMo <bionemofeedback@nvidia.com>
Set up the public CodonFM v1 repository and download public Encodon checkpoints.
SkillAFreshness: A★ 3.7KClaude Code +9
Cite this page
codonfm-finetune skill. Agent Mart. https://agentmart.dev/skills/nvidia-codonfm-finetune (last updated 2026-10-24)