versae's picture
Scripts for perplexity sampling and fixes
853cd83
raw
history blame
247 Bytes
#!/usr/bin/env python
from transformers import RobertaConfig
config = RobertaConfig.from_pretrained("roberta-large")
config.save_pretrained("./")
config = RobertaConfig.from_pretrained("roberta-base")
config.save_pretrained("./config-base.json")