Back to AI News
MarkTechPost

NVIDIA Releases CodonFM 5B, an Open Codon-Level RNA Foundation Model

NVIDIA published CodonFM 5B and CodonFM 5B-CDWT, two open RNA foundation models with 4.85B parameters that tokenize protein-coding sequences by codon rather than by amino acid, preserving synonymous codon distinctions that protein models collapse. Both are transformer encoders trained with a masked-codon objective on more than 130 million coding sequences across over 22,000 species, with human-affecting pathogen sequences excluded for biosafety. Weights are on Hugging Face under the NVIDIA Open Model License for commercial and non-commercial use, with Apache-2.0 code, a 2,046-codon context limit and roughly 19.4 GB FP32 weights requiring a 40 GB GPU. NVIDIA reports that the CDWT variant reaches about 0.67 AUROC on ClinVar synonymous variants and that frozen 5B embeddings score about 0.72 Spearman on translation efficiency, though the figures are read from model-card plots rather than published tables.

AI Brief

It gives readers a concrete, openly licensed genomics foundation model with unusual codon-level tokenization, deployment requirements and benchmark claims they can evaluate directly.

NVIDIA has released CodonFM 5B and CodonFM 5B-CDWT, two open RNA foundation models that read protein-coding sequences one codon at a time. The CodonFM 5B RNA foundation model is the largest member of a family that previously topped out at 1B parameters, and it targets a gap most protein models leave open: synonymous variants. Weights are on Hugging Face, code is Apache-2.0, and the models are cleared for commercial use.

TL;DR

  • Size: 4.85 × 10⁹ parameters each. 24 layers, hidden size 4096, 32 attention heads, rotary position embeddings. Context window of 2048 tokens, capped at 2,046 codons.
  • Runs on: 1 datacenter GPU. The FP32 checkpoint puts 19.4 GB of weights in memory before activations, so NVIDIA says plan for a 40 GB card or larger. Tested on A100; Ampere and Hopper supported. Linux, Python 3.12.
  • Performance: Best in its family on every published benchmark, and ahead of the anonymized published baselines NVIDIA compares against.
  • Best: ClinVar synonymous variants, where 5B-CDWT reaches roughly 0.67 AUROC against about 0.61 for the strongest published comparison.
  • Worst: That 0.67 AUROC is still a modest absolute number, and the model sees coding sequence only, so UTRs, introns and non-coding RNA are out of scope.

What is CodonFM 5B?

CodonFM is a family of open RNA foundation models from NVIDIA that tokenize a coding sequence by codon rather than by amino acid. GAA and GAG both encode glutamate. A protein model collapses them into one token. CodonFM keeps them apart, which is the whole point: the choice between synonymous codons changes transcript folding, ribosome speed and whether a protein folds correctly.

Two checkpoints shipped. CodonFM 5B uses uniform random codon masking. CodonFM 5B-CDWT weights masking by codon usage bias, hiding rarer codons more often. NVIDIA recommends the base model for codon optimization, expression prediction and somatic variants, and the CDWT variant for germline variant scoring and species-specific work.

How was it trained?

Both models are transformer encoders trained with a masked-codon objective on more than 130 million coding sequences spanning over 22,000 species. Human-affecting pathogen sequences were excluded for biosafety. The preprint paper describes a BERT-style bidirectional encoder with CLS and SEP tokens, and the published config.json confirms 24 layers at 4096 hidden width.

How does CodonFM 5B perform on benchmarks?

NVIDIA publishes results as figures rather than tables, so the numbers below are read from the model card figure descriptions and should be treated as approximate.

Validation loss falls from about 2.9 at 80M to roughly 2.25 at 1B and about 1.95 at 5B, and synonymous codon confusion drops with scale. On 129,384 ClinVar synonymous variants, 5B-CDWT leads at roughly 0.67 AUROC. On 1,471 cancer-observed synonymous variants matched between COSMIC and gnomAD, the 5B models reach about 10 on the negative log-10 p scale, against roughly 2 for the PhyloP conservation score.

For mRNA design, random forests on frozen 5B embeddings score about 0.72 Spearman on translation efficiency, drawn from 3,819 ribosome profiling datasets across more than 140 human and mouse cell types, and about 0.73 on mRFP protein expression across 1,459 synonymous CDS variants. No fine-tuning is involved. In wet-lab work with Arc Institute and Ansa Bio, CodonFM-guided designs raised expression in A549 cells by nearly 4x for GFP and 2x for luciferase relative to wild type.

NVIDIA · Open RNA Foundation Model
CodonFM 5B, explained
4.85B parameters, codon-level tokenization, 2,046-codon context. Released December 2, 2026.

Same protein, different words

Six codons spell leucine. A protein model collapses them into one token and loses the distinction. CodonFM keeps each as its own word. Click a codon to see what changes.

Protein model sees
L (leucine)
Identical for all 4. No signal left to use.
CodonFM sees
CTG
A distinct token with its own learned context.

That difference is what lets the model score a silent mutation at all, and it is why NVIDIA reports gains on synonymous variants that amino-acid models structurally cannot reach.

What is inside the checkpoint

Both 5B checkpoints share one transformer encoder configuration, published in the model repository's config file.

24Layers
4096Hidden size
32Heads
69Vocab size
2,046Max codons
19.4 GBFP32 weights
130M+Training CDS
22,000+Species

Two masking objectives ship separately. CodonFM 5B masks codons uniformly at random. CodonFM 5B-CDWT masks rarer codons more often, which NVIDIA says improves germline pathogenicity scoring and species-specific codon selection.

Reported results

NVIDIA publishes these as figures rather than tables, so values are read from the model card figure descriptions and are approximate.

From reads to scored variants

CodonFM scores a coding sequence. Getting one from raw sequencing data is what the Genomic Analysis Blueprint handles. Step through it.

Variant callingRaw Illumina FASTQ reads are aligned to the human reference with Parabricks BWA, then variants are called with DeepVariant. GPU accelerated.
Gene annotationGENCODE is processed to pull out protein-coding sequences, and called variants are mapped onto genes and transcripts.
Effect predictionEach variant is scored with CodonFM through the mutation_prediction task, which returns a log-likelihood ratio between the reference and alternate codon. Synonymous variants included.
EmbeddingsThe embedding_prediction task returns one 4096-wide CLS vector per sequence. Fit a light regressor on frozen vectors to predict translation efficiency, expression or stability from your own assay data.

What it does not do

  • Coding sequence only. UTRs, introns and non-coding RNA are out of scope, so regulatory effects outside the CDS are invisible.
  • Context caps at 2,046 codons. Longer transcripts are silently truncated.
  • The likelihood ratio does not predict whether expression rises or falls. NVIDIA calls it a research signal, not a clinical call.
  • Training data excludes human-affecting pathogen sequences for biosafety.
  • The GitHub README still documents only the 80M through 1B checkpoints and does not mention the 5B release.

Weights are under the NVIDIA Open Model License and cleared for commercial and non-commercial use. Code is Apache-2.0.

Sources: NVIDIA Technical Blog, Hugging Face model cards, CodonFM preprint Built by Marktechpost

How does it compare?

MetricsCodonFM 5BEnCodon 1BEvo 2 7BESM-2 650MCodonBERT
Parameters4.85 × 10⁹9.11 × 10⁸7B650MNot disclosed
Token unitCodonCodonNucleotideAmino acidCodon
Context2,046 codons2,046 codons1M tokens1024 charactersNot disclosed
Training corpus130M+ CDS, 22,000+ species130M+ CDS, 22,000+ species9.3T base pairsUR50 protein sequences10M mRNA sequences
ObjectiveMasked codon (random)Masked codon (random)AutoregressiveMasked language modelingMLM plus taxonomy prediction
LicenseNVIDIA Open Model LicenseNVIDIA Open Model LicenseNVIDIA Open Model LicenseMITAcademic, non-commercial
Commercial useYesYesYesYesNo

How do you run it?

Clone the GitHub repo, run run_dev.sh to build the Docker image, then pull weights with hf download nvidia/CodonFM-Encodon-5B-v1. The EncodonInference class exposes two tasks: mutation_prediction returns a log-likelihood ratio for a reference-versus-alternate codon swap, and embedding_prediction returns one 4096-wide CLS vector per sequence.

For teams starting from raw reads rather than a clean CDS, the Genomic Analysis Blueprint chains Parabricks BWA alignment, DeepVariant calling and GENCODE annotation ahead of CodonFM scoring. Agent-driven workflows can use the BioNeMo Agent Toolkit skills.

Key Takeaways

  • CodonFM 5B and 5B-CDWT are 4.85B-parameter codon-level RNA encoders, open for commercial use.
  • Codon tokenization lets the model score synonymous variants that amino-acid models cannot see.
  • 5B-CDWT leads on ClinVar germline synonymous variants; plain 5B is better for somatic and expression work.
  • Frozen 5B embeddings beat published baselines on translation efficiency and protein expression with no fine-tuning.
  • A 40 GB GPU and a 2,046-codon ceiling are the practical constraints.


Weights, code and the preprint are linked above, and all CodonFM checkpoints are collected in the CodonFM collection on Hugging Face. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post NVIDIA Releases CodonFM 5B, an Open Codon-Level RNA Foundation Model appeared first on MarkTechPost.

Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!