norwegian-roberta_large / create_config.py
pere's picture
Saving weights and logs of step 2500
6a0e8cd verified
raw
history blame contribute delete
154 Bytes
from transformers import RobertaConfig
config = RobertaConfig.from_pretrained("FacebookAI/roberta-large", vocab_size=50265)
config.save_pretrained("./")