File size: 154 Bytes
6a0e8cd
 
 
 
1
2
3
4
5
from transformers import RobertaConfig

config = RobertaConfig.from_pretrained("FacebookAI/roberta-large", vocab_size=50265)
config.save_pretrained("./")