from transformers import GPT2Config class OldModelConfig(GPT2Config): model_type = "new-gpt-model"