GleghornLab / cdsBERT-plus

huggingface.co
Total runs: 14
24-hour runs: 0
7-day runs: -2
30-day runs: -12
Model's Last Updated: October 24 2023
feature-extraction

Introduction of cdsBERT-plus

Model Details of cdsBERT-plus

cdsBERT

Model description

cdsBERT+ is a pLM with a codon vocabulary that was seeded with ProtBERT and trained with a novel vocabulary extension pipeline called MELD. cdsBERT+ offers a highly biologically relevant latent space with excellent EC number prediction surpassing ProtBERT. Specifically, this is the half-precision checkpoint after student-teacher knowledge distillation with Ankh-base.

How to use
# Imports
import re
import torch
import torch.nn.functional as F
from transformers import BertModel, BertTokenizer

model = BertModel.from_pretrained('lhallee/cdsBERT') # load model
tokenizer = BertTokenizer.from_pretrained('lhallee/cdsBERT') # load tokenizer
device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu') # gather device
model.to(device) # move to device
model.eval() # put in eval mode

sequence = '(ZEVLPYGDEKLSPYGDGGDVGQIFsC#LQDTNNFFGAgQNK%OPKLGQIG%SK%uuieddRidDVLkn(TDK@pp^v]' # CCDS207.1|Hs110|chr1
sequence = ' '.join(list(sequence)) # need spaces in-between codons

example = tokenizer(sequence, return_tensors='pt', padding=False).to(device) # tokenize example
with torch.no_grad():
    matrix_embedding = model(**example).last_hidden_state.cpu()

vector_embedding = matrix_embedding.mean(dim=0)
Intended use and limitations

cdsBERT+ serves as a general-purpose protein language model with a codon vocabulary. Fine-tuning with Huggingface transformers models like BertForSequenceClassification enables downstream classification and regression tasks. Currently, the base capability enables feature extraction. The based checkpoint after MLM, cdsBERT, can conduct mask-filling.

Our lab

The Gleghorn lab is an interdisciplinary research group at the University of Delaware that focuses on solving translational problems with our expertise in engineering, biology, and chemistry. We develop inexpensive and reliable tools to study organ development, maternal-fetal health, and drug delivery. Recently we have begun exploration into protein language models and strive to make protein design and annotation accessible.

Please cite

@article {Hallee_cds_2023, author = {Logan Hallee, Nikolaos Rafailidis, and Jason P. Gleghorn}, title = {cdsBERT - Extending Protein Language Models with Codon Awareness}, year = {2023}, doi = {10.1101/2023.09.15.558027}, publisher = {Cold Spring Harbor Laboratory}, journal = {bioRxiv} }

Runs of GleghornLab cdsBERT-plus on huggingface.co

14
Total runs
0
24-hour runs
-2
3-day runs
-2
7-day runs
-12
30-day runs

More Information About cdsBERT-plus huggingface.co Model

More cdsBERT-plus license Visit here:

https://choosealicense.com/licenses/cc-by-nc-2.0

cdsBERT-plus huggingface.co

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

GleghornLab cdsBERT-plus online free

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

GleghornLab cdsBERT-plus online free url in huggingface.co:

https://huggingface.co/GleghornLab/cdsBERT-plus

cdsBERT-plus install

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

cdsBERT-plus install url in huggingface.co:

https://huggingface.co/GleghornLab/cdsBERT-plus

Url of cdsBERT-plus

Provider of cdsBERT-plus huggingface.co

GleghornLab
ORGANIZATIONS

Other API from GleghornLab

huggingface.co

Total runs: 774
Run Growth: 417
Growth Rate: 67.48%
Updated:September 25 2026
huggingface.co

Total runs: 78
Run Growth: -134
Growth Rate: -167.50%
Updated:September 25 2026
huggingface.co

Total runs: 54
Run Growth: 34
Growth Rate: 61.82%
Updated:August 01 2024
huggingface.co

Total runs: 16
Run Growth: 9
Growth Rate: 60.00%
Updated:October 02 2026
huggingface.co

Total runs: 16
Run Growth: -15
Growth Rate: -93.75%
Updated:October 24 2023
huggingface.co

Total runs: 12
Run Growth: 4
Growth Rate: 36.36%
Updated:August 01 2024
huggingface.co

Total runs: 11
Run Growth: -1
Growth Rate: -10.00%
Updated:August 01 2024
huggingface.co

Total runs: 8
Run Growth: 4
Growth Rate: 50.00%
Updated:November 13 2024