File size: 142 Bytes
0c24d02
 
 
1
2
3
from transformers import AutoModelForSeq2SeqLM
model = AutoModelForSeq2SeqLM.from_pretrained("./", from_flax=True)
model.save_pretrained("./")