norwegian-roberta_base / create_config.py
pere's picture
Saving weights and logs of step 2500
34b9ad7 verified
raw
history blame
153 Bytes
from transformers import RobertaConfig
config = RobertaConfig.from_pretrained("FacebookAI/roberta-base", vocab_size=50265)
config.save_pretrained("./")