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