Instructions to use zjunlp/OntoProtein with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zjunlp/OntoProtein with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="zjunlp/OntoProtein")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("zjunlp/OntoProtein") model = AutoModelForMaskedLM.from_pretrained("zjunlp/OntoProtein", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files16 unmodified lines1718192021222324252616 unmodified lines### BibTeX entry and citation info```bibtex@article{zhang2022ontoprotein,title={OntoProtein: Protein Pretraining With Gene Ontology Embedding},author={Zhang, Ningyu and Bi, Zhen and Liang, Xiaozhuan and Cheng, Siyuan and Hong, Haosen and Deng, Shumin and Lian, Jiazhang and Zhang, Qiang and Chen, Huajun},journal={arXiv preprint arXiv:2201.11147},year={2022}}```16 unmodified lines17181920212223242526272816 unmodified lines### BibTeX entry and citation info```bibtex@inproceedings{zhang2022ontoprotein,title={OntoProtein: Protein Pretraining With Gene Ontology Embedding},author={Ningyu Zhang and Zhen Bi and Xiaozhuan Liang and Siyuan Cheng and Haosen Hong and Shumin Deng and Qiang Zhang and Jiazhang Lian and Huajun Chen},booktitle={International Conference on Learning Representations},year={2022},url={https://openreview.net/forum?id=yfe1VMYAXa4}}```
README.md+7-5