LucaOne/LucaOne
The resources of LucaOne, including: the model code, training scripts, embedding inference code, and trained checkpoints.
What it solves
Many biological analyses require understanding DNA, RNA, and protein sequences. Traditionally, these are treated as separate data types, and models are built independently. LucaOne aims to unify them into a single language model, so that insights from one type can inform the others. It provides a general-purpose foundation that can be adapted to many specific tasks, reducing the need to build models from scratch.
How it works
LucaOne is pre-trained on a large collection of nucleic acid and protein sequences using multiple pre-training tasks (e.g., masked language modeling). This produces a model that can generate meaningful embeddings for any biological sequence. The README describes three variants: LucaOne (handles both gene and protein), LucaOne-Gene (only DNA/RNA), and LucaOne-Prot (only protein). The model can be used for embedding inference, and it also supports further training via the Hugging Face interface, allowing fine-tuning for sequence-level or token-level classification and regression tasks. Task-specific heads are provided for sequence embedding, masked language modeling, sequence classification, and token classification. Training scripts and datasets are available, and the model can automatically download checkpoints from an FTP server.
Who it's for
LucaOne is aimed at researchers and developers working in bioinformatics, computational biology, and AI-driven life science. It suits anyone who needs to analyze biological sequences, predict properties, or build custom predictive models—for example, predicting protein family, solubility, secondary structure, binding sites, or post-translational modifications. It requires some familiarity with machine learning and Python, but the Hugging Face integration lowers the barrier.
Highlights
- Unified language model covering both nucleic acid (DNA/RNA) and protein sequences.
- Supports the Hugging Face transformers API, enabling easy fine-tuning with AutoModel, AutoModelForMaskedLM, AutoModelForSequenceClassification, AutoModelForTokenClassification, etc.
- Multiple pre-trained variants: LucaOne, LucaOne-Gene, LucaOne-Prot, with different checkpoints.
- Pre-training dataset publicly available via CNSA and FTP.
- Provides embedding inference code and a separate downstream task project (LucaOneTasks).
- Published in Nature Machine Intelligence (2025) and available on Zenodo.
Related
- Project
- Project
- Project
- Project