Multi-Modal Foundation · FreakingPotato
RNAElectra
A nucleotide-resolution RNA language model producing contextual embeddings for transcriptomic and regulatory analysis.
What RNAElectra is
RNAElectra is a nucleotide-resolution RNA foundation model developed by FreakingPotato for sequence representation learning. Built to support computational biology and transcriptomics, it generates contextualised embeddings across full RNA sequences to help researchers model molecular functions and regulatory mechanisms.
Instead of using conventional masked token reconstruction, the model employs an ELECTRA-style training setup that identifies corrupted nucleotides. This framework yields representations suited for downstream sequence-level analysis and fine-tuning across transcriptomic tasks.
How it works
RNAElectra is built on a ModernBERT-style transformer discriminator architecture adapted for nucleotide sequences. The network comprises 22 layers, a hidden dimension of 512, and 16 attention heads, using full global self-attention across every layer. Inputs are parsed at single-nucleotide resolution using the NucEL tokenizer.
The model was trained for 30 epochs on a corpus derived from RNAcentral using a two-part generator–discriminator framework. During pre-training, a generator proposes corrupted tokens while the discriminator is trained on replaced-token detection to determine whether each token is original or altered. Only the trained discriminator network is released for inference and downstream modelling.
Key facts
- Architecture
- ModernBERT-style transformer discriminator (22 layers, hidden size 512, 16 attention heads)
- Token resolution
- Single-nucleotide
- Attention mechanism
- Global self-attention in every layer
- Training objective
- ELECTRA-style replaced-token detection
- Pre-training corpus
- RNAcentral-derived dataset (30 epochs)
- Input
- RNA nucleotide sequences
- Output
- Contextualised nucleotide embeddings
What you can use it for
- RNA-binding protein interaction modelling
- Extracting nucleotide-level contextual representations to predict and map binding sites for RNA-binding proteins (RBPs).
- RNA stability assessment
- Using learned sequence features to model transcript half-life and predict RNA degradation rates.
- Regulatory element identification
- Analysing untranslated and non-coding sequence patterns to detect functional transcriptomic regulatory elements.
- RNA function prediction
- Fine-tuning the discriminator backbone on downstream datasets to classify RNA functional categories and biological roles.
Run it here
We list this model but cannot run it yet: its first test run here did not return a result, so it is tried again in a week.
Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.
Strengths and limits
Good at
- Captures nucleotide-level sequence details using single-nucleotide tokenisation.
- Applies full global self-attention across all 22 layers rather than windowed local attention.
- Trained using an efficient replaced-token detection objective that avoids standard token reconstruction.
Watch out for
- Only the discriminator component is published, meaning the pre-training generator is unavailable.
- Not designed or validated for medical diagnostics or clinical decision-making.
- Requires high dependency versions, including Python 3.12.3 or newer, PyTorch 2.10.0 or newer, and Transformers 5.0.0 or newer.
Inputs and outputs
You provide
Sequence or text
A protein or nucleotide sequence, or free text — whichever this model was trained on.
You get back
Mean-pooled representation, one vector per input.
Licence
Check the licence before commercial use · apache-2.0
The apache-2.0 licence carries terms worth reading before you depend on it.
Questions
Can I use RNAElectra commercially?
Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.
What kind of tokenizer does RNAElectra use?
It uses a dedicated single-nucleotide tokenizer named NucEL_Tokenizer that parses individual RNA bases.
Are both the generator and discriminator models available?
No. The pre-training framework relied on a generator and discriminator, but only the discriminator weights are distributed.
Can this model be applied in diagnostic or clinical workflows?
No. The model is strictly intended for research representation learning, feature extraction, and downstream transcriptomic analysis, not medical diagnostics or clinical use.
Written from RNAElectra's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.
