File size: 256 Bytes
2835721
 
 
ea0132b
853cd83
 
ea0132b
1
2
3
4
5
6
7
8
#!/usr/bin/env python
from transformers import RobertaConfig
config = RobertaConfig.from_pretrained("roberta-large")
config.save_pretrained("./configs/large")

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