File size: 144 Bytes
5e5f37d
 
 
1
2
3
from transformers import TFAutoModelForSeq2SeqLM
model = TFAutoModelForSeq2SeqLM.from_pretrained("./", from_pt=True)
model.save_pretrained("./")