File size: 141 Bytes
2adc854
69f03f3
2adc854
 
1
2
3
4
5
from transformers import XLMRobertaForMaskedLM
model = XLMRobertaForMaskedLM.from_pretrained(".",from_flax=True)
model.save_pretrained(".")