How to use SEBIS/code_trans_t5_small_transfer_learning_pretrain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="SEBIS/code_trans_t5_small_transfer_learning_pretrain")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("SEBIS/code_trans_t5_small_transfer_learning_pretrain") model = AutoModel.from_pretrained("SEBIS/code_trans_t5_small_transfer_learning_pretrain")
· Sign up or log in to comment