Views
No views yet
1from transformers import AutoModelForMaskedLM, AutoTokenizer, AutoConfig
2
3# 加载模型
4model = AutoModelForMaskedLM.from_pretrained("ssyypp111/ESM2-150M-TokenWise", trust_remote_code=True)
5tokenizer = AutoTokenizer.from_pretrained("ssyypp111/ESM2-150M-TokenWise", trust_remote_code=True)
6
7具体使用方式参考GitHub仓库: https://github.com/ssyypp1/InstructPLM-muconfig.json: 模型配置pytorch_model.bin: 模型权重modeling_esm.py: 模型定义structure.py: 结构处理模块tokenization_iPLM.py: 分词器1@article{xu2025instructplm,
2 title={InstructPLM-mu: 1-Hour Fine-Tuning of ESM2 Beats ESM3 in Protein Mutation Predictions},
3 author={Xu, Junde and Shi, Yapin and Lang, Lijun and Cui, Taoyong and Zhang, Zhiming and Chen, Guangyong and Qiu, Jiezhong and Heng, Pheng-Ann},
4 journal={arXiv preprint arXiv:2510.03370},
5 year={2025}
6}