-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from huggingface/intro_chapter
[hf.co/learn] Intro chapter
- Loading branch information
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Hugging Face Diffusion Models Course | ||
|
||
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 | ||
|
||
|
||
## Prerequisites | ||
This course requires a good level in Python and a grounding 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 60min: https://pytorch.org/tutorials/beginner/deep_learning_60min_blitz.html | ||
|
||
To upload your models to the Hugging Face Hub, you'll need an account. You can create one for free at the following address: [https://huggingface.co/join](https://huggingface.co/join). | ||
|
||
|
||
## What is the syllabus? | ||
|
||
The course consists in four units. Each unit is made up of a theory section, which also lists resources/papers, and two *notebooks*. More specifically, we have: | ||
- Unit 1: Introduction to diffusion models | ||
Introduction to 🤗 Diffusers and implementation from 0 | ||
- Unit 2: Finetuning and guidance | ||
Finetuning a diffusion model on new data and adding guidance. | ||
- Unit 3: Stable Diffusion | ||
Exploring a powerful text-conditioned latent diffusion model | ||
- Unit 4: Doing more with diffusion | ||
Advanced techniques for going further with diffusion | ||
|
||
|
||
|
||
## Who are we? | ||
|
||
About the authors: | ||
|
||
[**Jonathan Whitaker**](https://huggingface.co/johnowhitaker) is a Data Scientist/AI Researcher doing R&D with [answer.ai](https://www.answer.ai/). He likes teaching and making courses. His current focus is on generative AI, flitting between several modalities. You can find more info at: [johnowhitaker.dev](https://johnowhitaker.dev/). | ||
|
||
[**Lewis Tunstall**](https://huggingface.co/lewtun) is a machine learning engineer at Hugging Face, focused on developing open-source tools and making them accessible to the wider community. He is also a co-author of the O’Reilly book [Natural Language Processing with Transformers](https://www.oreilly.com/library/view/natural-language-processing/9781098136789/). | ||
|
||
|
||
|
||
## FAQ | ||
|
||
Here are some answers to frequently asked questions: | ||
|
||
- **Does taking this course lead to a certification?** | ||
Currently we do not have any certification for this course. However, we are working on a certification program for the Hugging Face ecosystem -- stay tuned! | ||
|
||
- **How much time should I spend on this course?** | ||
Each chapter in this course is designed to be completed in 1 week, with approximately 6-8 hours of work per week. However, you can take as much time as you need to complete the course. | ||
|
||
- **Where can I ask a question if I have one?** | ||
If you have a question about any section of the course, just click on the "*Ask a question*" banner at the top of the page to be automatically redirected to the right section of the [Hugging Face Discord](https://discord.com/invite/JfAtkvEtRb) to ask your question in the channel `#diffusion-models-class`. | ||
|
||
- **Where can I get the code for the course?** | ||
For each section, click on the banner at the top of the page to run the code: | ||
|
||
<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter1/notebook-buttons.png" alt="Link to the Hugging Face course notebooks" width="75%"> | ||
|
||
- **How can I contribute to the course?** | ||
There are many ways to contribute to the course! If you find a typo or a bug, please open an issue on the [`diffusion-models-class`](https://github.com/huggingface/diffusion-models-class) repo. | ||
If you would like to help translate the course into your native language, check out the instructions [here](https://github.com/huggingface/diffusion-models-class#translating-the-course-into-your-language). | ||
|
||
- **Can I reuse this course?** | ||
Of course! The course is released under the permissive [Apache 2 license](https://www.apache.org/licenses/LICENSE-2.0.html). This means that you must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. If you would like to cite the course, please use the following BibTeX: | ||
|
||
``` | ||
@misc{huggingfacecourse, | ||
author = {Hugging Face}, | ||
title = {The Hugging Face Diffusion Models Course, 2022}, | ||
howpublished = "\url{https://huggingface.co/course}", | ||
year = {2022}, | ||
note = "[Online; accessed <today>]" | ||
} | ||
``` | ||
|
||
|
||
## Let's get started! | ||
|
||
Are you ready to get started? Then go to the first unit to start the course. |