pere's picture
fist submit after clone
17ac2d5
raw
history blame
163 Bytes
from transformers import RobertaConfig
model_dir = "./" # ${MODEL_DIR}
config = RobertaConfig.from_pretrained("roberta-base")
config.save_pretrained(model_dir)