roberta-swedish-scandi / save_updated.py
birgermoell's picture
Updated model
5754438
raw
history blame contribute delete
216 Bytes
from transformers import AutoTokenizer, RobertaModel
model = RobertaModel.from_pretrained('.',from_flax=True)
tokenizer = AutoTokenizer.from_pretrained(".")
tokenizer.save_pretrained('.')
model.save_pretrained('.')