norwegian-bert-base-test / create_config.py
pere's picture
Saving weights and logs of step 2500
7104f2a 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("./")