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