from transformers import RobertaConfig | |
model_dir = "./" # ${MODEL_DIR} | |
config = RobertaConfig.from_pretrained("roberta-large") | |
config.save_pretrained(model_dir) | |
from transformers import RobertaConfig | |
model_dir = "./" # ${MODEL_DIR} | |
config = RobertaConfig.from_pretrained("roberta-large") | |
config.save_pretrained(model_dir) | |