File size: 153 Bytes
34b9ad7
 
 
 
1
2
3
4
5
from transformers import RobertaConfig

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