Views
No views yet
1# recommended
2huggingface-cli download jozhang97/ism_t33_650M_uc30pdb_L1022 --local-dir /path/to/save/ism
3
4# alternative
5git clone https://huggingface.co/jozhang97/ism_t33_650M_uc30pdb_L10221import esm
2model, alphabet = esm.pretrained.esm2_t33_650M_UR50D()
3ckpt = torch.load('/path/to/ism_t33_650M_uc30pdb_L1022/checkpoint.pth')
4model.load_state_dict(ckpt)1from transformers import AutoTokenizer, AutoModel
2config_path = "/path/to/ism_t33_650M_uc30pdb_L1022/"
3model = AutoModel.from_pretrained(config_path)
4tokenizer = AutoTokenizer.from_pretrained(config_path)/path/to/ism_t33_650M_uc30pdb_L1022 to the path where the model is downloaded.1@article{ouyangzhang2024distilling,
2 title={Distilling Structural Representations into Protein Sequence Models},
3 author={Ouyang-Zhang, Jeffrey and Gong, Chengyue and Zhao, Yue and Kr{\"a}henb{\"u}hl, Philipp and Klivans, Adam and Diaz, Daniel J},
4 journal={bioRxiv},
5 doi={10.1101/2024.11.08.622579},
6 year={2024},
7 publisher={Cold Spring Harbor Laboratory}
8}