roberta-swahili / create_config.py
Patrick von Platen
push
220637f
raw
history blame
142 Bytes
from transformers import RobertaConfig
config = RobertaConfig.from_pretrained("roberta-base", vocab_size=25165)
config.save_pretrained("./")