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