diffusion-models-class

GitHub

Materials for the Hugging Face Diffusion Models Course

4,314 stars Jupyter Notebook Markdown CodeWiki
AI Prompts & Endpoints
CodeWiki Knowledge Base

Hugging Face Diffusion Models Course

[](https://github.com/huggingface/diffusion-models-class/blob/main/LICENSE)  
[](https://github.com/dhakalnirajan/diffusion-models-class)  
[](https://jupyter.org/try)  


In this free course, you will:
- πŸ‘©β€πŸŽ“ Study the theory behind diffusion models
- 🧨 Learn how to generate images and audio with the popular πŸ€— Diffusers library
- πŸ‹οΈβ€β™‚οΈ Train your own diffusion models from scratch
- πŸ“» Fine-tune existing diffusion models on new datasets
- πŸ—Ί Explore conditional generation and guidance
- πŸ§‘β€πŸ”¬ Create your own custom diffusion model pipelines


Register via the signup form and then join us on Discord to get the conversations started. Instructions on how to join specific categories/channels are here.

Syllabus

| πŸ“† Publishing date | πŸ“˜ Unit | πŸ‘©β€πŸ’» Hands-on |
|---------------|----------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| November 28, 2022 | An Introduction to Diffusion Models| Introduction to Diffusers and Diffusion Models From Scratch |
| December 12, 2022 | Fine-Tuning and Guidance | Fine-Tuning a Diffusion Model on New Data and Adding Guidance |
| December 21, 2022 | Stable Diffusion | Exploring a Powerful Text-Conditioned Latent Diffusion Model |
| January 2023 (TBC) | Doing More with Diffusion | Advanced Techniques to Take Diffusion Further |

More information coming soon!


Prerequisites


- Good skills in Python 🐍
- Basics in Deep Learning and Pytorch

If it's not the case yet, you can check these free resources:
- Python: https://www.udacity.com/course/introduction-to-python--ud1110
- Intro to Deep Learning with PyTorch: https://www.udacity.com/course/deep-learning-pytorch--ud188
- PyTorch in 60 min: https://pytorch.org/tutorials/beginner/deep_learning_60min_blitz.html

FAQ


Is this class free?

Yes, totally free πŸ₯³.


Do I need to have a Hugging Face account to follow the course?

Yes, to push your custom models and pipelines to the hub, you need an account (it's free) πŸ€—.

You can create one here πŸ‘‰ https://huggingface.co/join


What’s the format of the class?

The course will consist of at least 4 Units. More will be added as time goes on, on topics like diffusion for audio.

Each unit consists of some theory and background alongside one or more hands-on notebooks. Some units will also contain suggested projects and we'll have competitions and swag for the best pipelines and demos (more details TDB).

🌎 Languages and translations

Members of the πŸ€— community have begun translating the course! We're planning to host this course on the Hugging Face website, so if you're interested in contributing a translation, we recommend waiting until we've formatted the English content in it's final form.

| Language | Authors |
|:------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
| Chinese | @darcula1993 @XhrLeokk @SuSung-boy @Hoi2022|
| Japanese | @eltociear @nazuki155|
| Korean | @deep-diver