from transformers import TFAutoModelForSeq2SeqLM | |
model = TFAutoModelForSeq2SeqLM.from_pretrained("./", from_pt=True) | |
model.save_pretrained("./") |
from transformers import TFAutoModelForSeq2SeqLM | |
model = TFAutoModelForSeq2SeqLM.from_pretrained("./", from_pt=True) | |
model.save_pretrained("./") |