initial commit 4da0fcf
Bilal Onur Eskili commited on
How to use bonur/t5-base-tr with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("bonur/t5-base-tr")
model = AutoModelForSeq2SeqLM.from_pretrained("bonur/t5-base-tr", device_map="auto")