The documentation page MAIN_CLASSES/#TRANSFORMERS.PRETRAINEDCONFIG.NAME_OR_PATH doesn’t exist in v4.44.2, but exists on the main version. Click here to redirect to the main version of the documentation.