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