# AutoModel [`AutoModel`] automatically retrieves the correct model class from the checkpoint `config.json` file. ## AutoModel [[autodoc]] AutoModel - all - from_pretrained