from transformers import AutoModelForSeq2SeqLM | |
model = AutoModelForSeq2SeqLM.from_pretrained("./", from_flax=True) | |
model.save_pretrained("./") |
from transformers import AutoModelForSeq2SeqLM | |
model = AutoModelForSeq2SeqLM.from_pretrained("./", from_flax=True) | |
model.save_pretrained("./") |