File size: 216 Bytes
a27c158
 
 
 
5754438
 
1
2
3
4
5
6
7

from transformers import AutoTokenizer, RobertaModel
model = RobertaModel.from_pretrained('.',from_flax=True)
tokenizer = AutoTokenizer.from_pretrained(".")
tokenizer.save_pretrained('.')
model.save_pretrained('.')