HELM-BERT is built upon the DeBERTa architecture, pre-trained on ~75k peptides from four databases (ChEMBL, CREMP, CycPeptMPDB, Propedia) using Masked Language Modeling (MLM) with a Warmup-Stable-Decay (WSD) learning rate schedule.
1from transformers import AutoModel, AutoTokenizer
2
3model = AutoModel.from_pretrained("Flansma/helm-bert", trust_remote_code=True)
4tokenizer = AutoTokenizer.from_pretrained("Flansma/helm-bert", trust_remote_code=True)
5
6# Cyclosporine A
7inputs = tokenizer("PEPTIDE1{[Abu].[Sar].[meL].V.[meL].A.[dA].[meL].[meL].[meV].[Me_Bmt(E)]}$PEPTIDE1,PEPTIDE1,1:R1-11:R2$$$", return_tensors="pt")
8outputs = model(**inputs)
9embeddings = outputs.last_hidden_state
Train/test 9:1, val 10% from train. Scaffold split by Murcko scaffolds.
Train/test 8:2, val 10% from train, 1:4 positive:negative ratio.
Val 10% from train.
1@article{lee2026helmbert,
2 title={HELM-BERT: Topology-Aware Representations for Chemically Modified Peptides},
3 author={Lee, Seungeon and Koyama, Takuto and Maeda, Itsuki and Matsumoto, Shigeyuki and Okuno, Yasushi},
4 journal={Journal of Chemical Information and Modeling},
5 year={2026},
6 doi={10.1021/acs.jcim.6c00451},
7 publisher={American Chemical Society},
8 url={https://pubs.acs.org/doi/10.1021/acs.jcim.6c00451}
9}