src/transformers/models/auto/configuration_auto.py/AutoConfig/__init__
class AutoConfig:    def __init__(self):
        raise EnvironmentError(
            "AutoConfig is designed to be instantiated "
            "using the `AutoConfig.from_pretrained(pretrained_model_name_or_path)` method."
        )