t5-v1_1-base-wikisplit / convert_to_tensorflow.py
bhadresh-savani's picture
added files
5e5f37d
raw
history blame
144 Bytes
from transformers import TFAutoModelForSeq2SeqLM
model = TFAutoModelForSeq2SeqLM.from_pretrained("./", from_pt=True)
model.save_pretrained("./")