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