Skip to content

Commit 14c86b0

Browse files
author
Mishig
authored
Merge pull request #80 from huggingface/intro_chapter
[hf.co/learn] Intro chapter
2 parents 48d302f + 8bd7673 commit 14c86b0

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed

_toctree.yml

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

unit0/README.md

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

0 commit comments

Comments
 (0)