File size: 148 Bytes
2e61b14
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from transformers import RobertaConfig

model_dir = "./"

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