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