File size: 147 Bytes
5d2e627
 
 
 
 
 
1
2
3
4
5
6
7
from transformers import RobertaConfig

model_dir = "./"

config = RobertaConfig.from_pretrained("roberta-base")
config.save_pretrained(model_dir)