Skip to content

Commit 767ca48

Browse files
committed
[hf.co/learn] Intro chapter
1 parent 48d302f commit 767ca48

File tree

2 files changed

+101
-0
lines changed

2 files changed

+101
-0
lines changed

_toctree.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
- title: Course introduction
2+
sections:
3+
- local: unit0/README
4+
newlocal: unit1/1
5+
title: Introduction
6+
17
- title: 1. Introduction to diffusion models
28
sections:
39
- local: unit1/README

unit0/README.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# Introduction
2+
3+
<CourseFloatingBanner
4+
unit={0}
5+
classNames="absolute z-10 right-0 top-0"
6+
/>
7+
8+
## Welcome to the course on diffusion models 🤗 !
9+
10+
## What to expect?
11+
12+
In this free course, you will:
13+
- 👩‍🎓 Study the theory behind diffusion models
14+
- 🧨 Learn how to generate images and audio with the popular 🤗 Diffusers library
15+
- 🏋️‍♂️ Train your own diffusion models from scratch
16+
- 📻 Fine-tune existing diffusion models on new datasets
17+
- 🗺 Explore conditional generation and guidance
18+
- 🧑‍🔬 Create your own custom diffusion model pipelines
19+
20+
21+
## Prérequis
22+
This course requires a good level in Python and a grounding in deep learning and Pytorch.
23+
If it's not the case yet, you can check these free resources:
24+
- Python: https://www.udacity.com/course/introduction-to-python--ud1110
25+
- Intro to Deep Learning with PyTorch: https://www.udacity.com/course/deep-learning-pytorch--ud188
26+
- PyTorch in 60min: https://pytorch.org/tutorials/beginner/deep_learning_60min_blitz.html
27+
28+
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).
29+
30+
31+
## What is the syllabus?
32+
33+
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:
34+
- Unit 1: Introduction to diffusion models
35+
Introduction to 🤗 Diffusers and implementation from 0
36+
- Unit 2: Finetuning and guidance
37+
Finetuning a diffusion model on new data and adding guidance.
38+
- Unit 3: Stable Diffusion
39+
Exploring a powerful text-conditioned latent diffusion model
40+
- Unit 4: Doing more with diffusion
41+
Advanced techniques for going further with diffusion
42+
43+
44+
45+
## Who are we?
46+
47+
About the authors:
48+
49+
[**Jonathan Whitaker**](https://huggingface.co/johnowhitaker) is TODO.
50+
51+
[**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/).
52+
53+
54+
55+
## FAQ
56+
57+
Here are some answers to frequently asked questions:
58+
59+
- **Does taking this course lead to a certification?**
60+
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!
61+
62+
- **How much time should I spend on this course?**
63+
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.
64+
65+
- **Where can I ask a question if I have one?**
66+
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`.
67+
68+
<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter1/forum-button.png" alt="Link to the Hugging Face forums" width="75%">
69+
70+
- **Where can I get the code for the course?**
71+
For each section, click on the banner at the top of the page to run the code:
72+
73+
<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%">
74+
75+
- **How can I contribute to the course?**
76+
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.
77+
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).
78+
79+
- **Can I reuse this course?**
80+
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:
81+
82+
```
83+
@misc{huggingfacecourse,
84+
author = {Hugging Face},
85+
title = {The Hugging Face Diffusion Models Course, 2022},
86+
howpublished = "\url{https://huggingface.co/course}",
87+
year = {2022},
88+
note = "[Online; accessed <today>]"
89+
}
90+
```
91+
92+
93+
## Let's get started!
94+
95+
Are you ready to get started? Then go to the first unit to start the course.

0 commit comments

Comments
 (0)