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