--- license: mit tags: - pytorch - diffusers - unconditional-image-generation - diffusion-models-class --- # Model Card for Unit 1 of the [Diffusion Models Class 🧨](https://github.com/huggingface/diffusion-models-class) This model is a diffusion model for unconditional image generation of black-and-white images of handwritten digits. The number of cycles of the training loop is 10. Learning rate is 4e-4. This model has a good generation effect. ## Usage ```python from diffusers import DDPMPipeline pipeline = DDPMPipeline.from_pretrained('BackTo2014/mnist-demo3') image = pipeline().images[0] image ```