t5-large-wikisplit / convert_to_tensorflow.py
bhadresh-savani's picture
Saving weights and logs of epoch 1
57ca1f5
raw
history blame contribute delete
144 Bytes
from transformers import TFAutoModelForSeq2SeqLM
model = TFAutoModelForSeq2SeqLM.from_pretrained("./", from_pt=True)
model.save_pretrained("./")