norwegian-bert-base-newcode / create_config.py
pere's picture
Saving weights and logs of step 2500
2c46bdc verified
raw
history blame contribute delete
145 Bytes
from transformers import BertConfig
config = BertConfig.from_pretrained("NbAiLab/nb-bert-base", vocab_size=119547)
config.save_pretrained("./")