InstaDeepAI / isoformer

huggingface.co
Total runs: 101
24-hour runs: 0
7-day runs: 19
30-day runs: 78
Model's Last Updated: June 13 2025
fill-mask

Introduction of isoformer

Model Details of isoformer

Isoformer

Isoformer is a model able to accurately predict differential transcript expression, outperforming existing methods and leveraging the use of multiple modalities. Our framework achieves efficient transfer knowledge from three pre-trained encoders: Enformer for the DNA modality, Nucleotide Transformer v2 for the RNA modality and ESM2 for the protein modality.

Developed by: InstaDeep

How to use

A small snippet of code is given here in order to retrieve embeddings and gene expression predictions given a DNA, RNA and protein sequence.

from transformers import AutoTokenizer, AutoModelForMaskedLM
import numpy as np
import torch

# Import the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained("InstaDeepAI/isoformer", trust_remote_code=True)
model = AutoModelForMaskedLM.from_pretrained("InstaDeepAI/isoformer",trust_remote_code=True)

protein_sequences = ["RSRSRSRSRSRSRSRSRSRSRL" * 9]
rna_sequences = ["ATTCCGGTTTTCA" * 9]
sequence_length = 196_608
rng = np.random.default_rng(seed=0)
dna_sequences = ["".join(rng.choice(list("ATCGN"), size=(sequence_length,)))]

torch_tokens = tokenizer(
    dna_input=dna_sequences, rna_input=rna_sequences, protein_input=protein_sequences
)
dna_torch_tokens = torch.tensor(torch_tokens[0]["input_ids"])
rna_torch_tokens = torch.tensor(torch_tokens[1]["input_ids"])
protein_torch_tokens = torch.tensor(torch_tokens[2]["input_ids"])

torch_output = model.forward(
    tensor_dna=dna_torch_tokens,
    tensor_rna=rna_torch_tokens,
    tensor_protein=protein_torch_tokens,
    attention_mask_rna=rna_torch_tokens != 1,
    attention_mask_protein=protein_torch_tokens != 1,
)

print(f"Gene expression predictions: {torch_output['gene_expression_predictions']}")
print(f"Final DNA embedding: {torch_output['final_dna_embeddings']}")
Training data

Isoformer is trained on RNA transcript expression data obtained from the GTex portal, namely Transcript TPMs measurements across 30 tissues which come from more than 5000 individuals. In total, the dataset is made of ∼170k unique transcripts, of which 90k are protein-coding and correspond to ∼20k unique genes.

Runs of InstaDeepAI isoformer on huggingface.co

101
Total runs
0
24-hour runs
5
3-day runs
19
7-day runs
78
30-day runs

More Information About isoformer huggingface.co Model

isoformer huggingface.co

isoformer huggingface.co is an AI model on huggingface.co that provides isoformer's model effect (), which can be used instantly with this InstaDeepAI isoformer model. huggingface.co supports a free trial of the isoformer model, and also provides paid use of the isoformer. Support call isoformer model through api, including Node.js, Python, http.

InstaDeepAI isoformer online free

isoformer huggingface.co is an online trial and call api platform, which integrates isoformer's modeling effects, including api services, and provides a free online trial of isoformer, you can try isoformer online for free by clicking the link below.

InstaDeepAI isoformer online free url in huggingface.co:

https://huggingface.co/InstaDeepAI/isoformer

isoformer install

isoformer is an open source model from GitHub that offers a free installation service, and any user can find isoformer on GitHub to install. At the same time, huggingface.co provides the effect of isoformer install, users can directly use isoformer installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

isoformer install url in huggingface.co:

https://huggingface.co/InstaDeepAI/isoformer

Url of isoformer

Provider of isoformer huggingface.co

InstaDeepAI
ORGANIZATIONS

Other API from InstaDeepAI

huggingface.co

Total runs: 229
Run Growth: 31
Growth Rate: 12.50%
Updated:July 09 2025
huggingface.co

Total runs: 190
Run Growth: 171
Growth Rate: 90.00%
Updated:November 10 2025
huggingface.co

Total runs: 3
Run Growth: -2
Growth Rate: -66.67%
Updated:June 04 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 05 2023