If your NewModelConfig is a subclass of [~transformers.PretrainedConfig], make sure its | |
model_type attribute is set to the same key you use when registering the config (here "new-model"). |
If your NewModelConfig is a subclass of [~transformers.PretrainedConfig], make sure its | |
model_type attribute is set to the same key you use when registering the config (here "new-model"). |