Downloads · 30 days
49
7% of all-time downloads
ibm-research/biomed.rna.llama.32m.mlm.multitask.v1
biomed.rna.llama.32m.mlm.multitask.v1 is a machine learning model from ibm-research. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for biomed-multi-omic. The card lists the license as apache-2.0.
Biomedical foundational models for omics data. This package supports the development of foundation models for scRNA or for DNA data.
Downloads · 30 days
49
7% of all-time downloads
All-time downloads
661
Public
Repo size
389 MB
Likes
5
Public
Click a slice to open those files.
.ckpt389 MB · 100%
From the Hugging Face model README
Biomedical foundational models for omics data. This package supports the development of foundation models for scRNA or for DNA data.
biomed-multi-omic enables development and testing of foundation models for DNA sequences and for RNA expression,
with modular model and training methods for pretraining and fine-tuning, controllable via a declarative no-code interface.
biomed-multi-omic leverages anndata, HuggingFace Transformers, PyTorchLighting and Hydra.
For details on how the models were trained, please refer to the BMFM-RNA preprint.
Masked Language Modeling (MLM): Masked expression prediction and masked gene prediction.
Multitask objectives: multi-label classification (cell type, tissue, tissue general), and an adversarial loss to unlearn donor ID.
MLM + Multitask: Trained with both masked gene and masked expression objectives, along with multi-label classification (cell type, tissue, tissue general), and an adversarial loss to unlearn donor ID.
See section 2.3.2 of the BMFM-RNA manuscript for more details.
Using biomed.rna.llama.32m.mlm.multitask.v1 requires the codebase https://github.com/BiomedSciAI/biomed-multi-omic
For installation, please follow the instructions on github.
To get embeddings and predictions for scRNA data run:
export MY_DATA_FILE=... # path to h5ad file with raw counts and gene symbols
bmfm-targets-run -cn predict input_file=$MY_DATA_FILE working_dir=/tmp checkpoint=ibm-research/biomed.rna.llama.32m.mlm.multitask.v1
For more examples see the RNA tutorials on github.
@misc{danziger2026bmfmrnawholecellexpressiondecoding,
title={BMFM-RNA: whole-cell expression decoding improves transcriptomic foundation models},
author={Michael M. Danziger and Bharath Dandala and Viatcheslav Gurev and Matthew Madgwick and Sivan Ravid and Tim Rumbell and Akira Koseki and Tal Kozlovski and Ching-Huei Tsou and Ella Barkan and Tanwi Biswas and Jielin Xu and Yishai Shimoni and Jianying Hu and Michal Rosen-Zvi},
year={2026},
eprint={2506.14861},
archivePrefix={arXiv},
primaryClass={q-bio.GN},
url={https://arxiv.org/abs/2506.14861},
}