test_w5_long_dataset / create_config.py
pere's picture
Saving weights and logs of step 5000
cdcb06b
raw
history blame contribute delete
163 Bytes
from transformers import RobertaConfig
model_dir = "./" # ${MODEL_DIR}
config = RobertaConfig.from_pretrained("roberta-base")
config.save_pretrained(model_dir)