QizhiPei/BioT5_finetune_dataset
Viewer • Updated • 33 • 416 • 6
How to use QizhiPei/biot5-base-peer-human_ppi with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("QizhiPei/biot5-base-peer-human_ppi")
model = AutoModelForSeq2SeqLM.from_pretrained("QizhiPei/biot5-base-peer-human_ppi")from transformers import AutoTokenizer, T5ForConditionalGeneration
tokenizer = AutoTokenizer.from_pretrained("QizhiPei/biot5-base-human-ppi", model_max_length=512)
model = T5ForConditionalGeneration.from_pretrained('QizhiPei/biot5-base-human-ppi')
For more information, please refer to our paper and GitHub repository.
GitHub: BioT5
Authors: Qizhi Pei, Wei Zhang, Jinhua Zhu, Kehan Wu, Kaiyuan Gao, Lijun Wu, Yingce Xia, and Rui Yan