from transformers import RobertaConfig config = RobertaConfig.from_pretrained("roberta-base") config.save_pretrained("./")