# Code used for copying tokenizer and config | |
from transformers import XLMRobertaTokenizerFast, XLMRobertaConfig | |
tokenizer = XLMRobertaTokenizerFast.from_pretrained("xlm-roberta-base") | |
config = XLMRobertaConfig.from_pretrained("xlm-roberta-base") | |
tokenizer.save_pretrained("./") | |
config.save_pretrained("./") | |