maltehb
initial commit
6338e91
raw history blame
No virus
295 Bytes
'''Create the configuration for the model'''
from transformers import RobertaConfig
from .utils import model_dir
# Currently it merely copies the `roberta-base` config, but we can change this
# of course
config = RobertaConfig.from_pretrained("roberta-base")
config.save_pretrained(model_dir)