AIDO.Protein-16B is a protein language model, trained on 1.2 trillion amino acids sourced from UniRef90 and ColabFoldDB.
By leveraging MoE layers, AIDO.Protein efficiently scales to 16 billion parameters, delivering exceptional performance across a vast variety of tasks in protein sequence understanding and sequence generation. Remarkably, AIDO.Protein demonstrates exceptional capability despite being trained solely on single protein sequences. Across over 280 DMS protein fitness prediction tasks, our model outperforms previous state-of-the-art protein sequence models without MSA and achieves 99% of the performance of models that utilize MSA, highlighting the strength of its learned representations.
Model Architecture Details
AIDO.Protein is a transformer encoder-only architecture with the dense MLP layer in each transformer block replaced by a sparse MoE layer. It uses single amino acid tokenization and is optimized using a masked languange modeling (MLM) training objective. For each token, 2 experts will be selectively activated by the top-2 rounting mechiansim.
More architecture details are shown below:
Model Arch Component
Value
Num Attention Head
36
Num Hidden Layer
36
Hidden Size
2304
Num MoE Layer per Block
8
Num MoE Layer per Token
2
Vocab Size
44
Context Length
2048
Pre-training of AIDO.Protein-16B
Here we briefly introduce the details of pre-training of AIDO.Protein 16B. For more information, please refer to
our paper
Data
Inspired by previous work, We initially trained AIDO.Protein with 1.2 trillion amino acids sourced from the combination of Uniref90 and ColabeFoldDB databases. Given the effectiveness of Uniref90 for previous protein language models and the observed benefits of continuous training on domina-specific data for enhancing downstream task performance, AIDO.Protein is further trained on an additional 100 billion amino acids from Uniref90.
Training Details
The weights of our 16 billion parameter model occupy over 200GB of memory in 32 bit precision. To train a model of this size, we use model and tensor parallelism to split training across 256 H100 GPUs using the Megatron-LM framework. We also employed bfloat16 mixed precision training to allow for training with large context length at scale. With this configuration, AIDO.Protein 16B took 25 days to train.
Hyper-params
Value
Global Batch Size
2048
Per Device Micro Batch Size
8
Precision
Mixed FP32-BF16
1st Stage LR
[2e-6,2e-4]
2nd Stage LR
[1e-6,1e-5]
3rd Stage LR
[1e-6,1e-5]
1st Stage Num Tokens
1 trillion
2nd Stage Num Tokens
200 billion
3rd Stage Num Tokens
100 billion
Tokenization
We encode protein sequence with single amino acid resolution with 44 vocabularies, where 24 tokens represent amino acid types and 20 are special tokens. Sequences were also suffixed with a
[SEP]
token as hooks for downstream tasks.
Evaluation of AIDO.Protein 16B
We assess the advantages of pretraining AIDO.Protein 16B through experiments across more than 300 tasks from two important protein benchmarks, xTrimoPGLM benchmark and ProteinGym DMS benchmark, encompassing residue-level, sequence-level, and protein-protein interaction (PPI) level tasks. We further adapted our model for structure-conditioned protein sequence generation tasks
Results
xTrimoPGLM Benchmark
ProteinGym DMS Benchmark
Inverse Folding Generation
How to Use
Build any downstream models from this backbone with ModelGenerator
from modelgenerator.tasks import SequenceRegression
model = SequenceRegression.from_config({"model.backbone": "aido_protein_16b"}).eval()
collated_batch = model.collate({"sequences": ["HELLQ", "WRLD"]})
logits = model(collated_batch)
print(logits)
Citation
Please cite AIDO.Protein using the following BibTex code:
@inproceedings{sun_mixture_2024,
title = {Mixture of Experts Enable Efficient and Effective Protein Understanding and Design},
url = {https://www.biorxiv.org/content/10.1101/2024.11.29.625425v1},
doi = {10.1101/2024.11.29.625425},
publisher = {bioRxiv},
author = {Sun, Ning and Zou, Shuxian and Tao, Tianhua and Mahbub, Sazan and Li, Dian and Zhuang, Yonghao and Wang, Hongyi and Cheng, Xingyi and Song, Le and Xing, Eric P.},
year = {2024},
booktitle={NeurIPS 2024 Workshop on AI for New Drug Modalities},
}
Runs of genbio-ai AIDO.Protein-16B on huggingface.co
66
Total runs
0
24-hour runs
2
3-day runs
12
7-day runs
-541
30-day runs
More Information About AIDO.Protein-16B huggingface.co Model
AIDO.Protein-16B huggingface.co is an AI model on huggingface.co that provides AIDO.Protein-16B's model effect (), which can be used instantly with this genbio-ai AIDO.Protein-16B model. huggingface.co supports a free trial of the AIDO.Protein-16B model, and also provides paid use of the AIDO.Protein-16B. Support call AIDO.Protein-16B model through api, including Node.js, Python, http.
AIDO.Protein-16B huggingface.co is an online trial and call api platform, which integrates AIDO.Protein-16B's modeling effects, including api services, and provides a free online trial of AIDO.Protein-16B, you can try AIDO.Protein-16B online for free by clicking the link below.
genbio-ai AIDO.Protein-16B online free url in huggingface.co:
AIDO.Protein-16B is an open source model from GitHub that offers a free installation service, and any user can find AIDO.Protein-16B on GitHub to install. At the same time, huggingface.co provides the effect of AIDO.Protein-16B install, users can directly use AIDO.Protein-16B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.