or transformers from which the "class" should be loaded
The "class" field corresponds to the name of the class, e.g. BertTokenizer or UNet2DConditionModel

Loading models
	
Models as defined under src/diffusers/models can be loaded via the ModelMixin.from_pretrained() function. The API is very similar the DiffusionPipeline.from_pretrained() and works in the same way:
Download the latest version of the model weights and configuration with diffus