TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Deep Learning Foundations to Stable Diffusion

615 pointsby noob_engabout 2 years ago

21 comments

jph00about 2 years ago
Hi folks. Nice to see our new free (and ad-free) course here on HN! This course is for folks that are already comfortable training neural nets and understand the basic ideas of SGD, cross-entropy, embeddings, etc. It will help you both understand these foundations more deeply, since you&#x27;ll be creating everything from scratch (i.e. from only Python and its standard library), and to understand modern generative modeling approaches.<p>We study and implement a lot of papers, including many that came out during the course, which is a great way to get practice and get comfortable with reading deep learning literature.<p>If you need to get up to speed on the foundations first, you should start with part 1 of the course, which is here: <a href="https:&#x2F;&#x2F;course.fast.ai" rel="nofollow">https:&#x2F;&#x2F;course.fast.ai</a><p>If you&#x27;ve got any questions about the course, generative modeling, or deep learning in general, feel free to ask!
评论 #35451048 未加载
评论 #35451907 未加载
评论 #35450113 未加载
评论 #35451239 未加载
评论 #35451065 未加载
评论 #35450026 未加载
评论 #35450179 未加载
评论 #35450080 未加载
评论 #35451915 未加载
评论 #35458155 未加载
mattyyeungabout 2 years ago
I just finished this! My thoughts:<p>I recommend it. I feel I can now read an arbitrary paper, frown a lot, and eventually understand what it&#x27;s talking about - to the point where I can implement my own buggy version. And hey, I built my own stable diffusion!!<p>I found the previous version of this course[1] to be a good complement: it&#x27;s older (predates SD) but I feel it explains core concepts slightly better. Very understandable given how the close to the bleeding edge this new version is...<p>Perhaps an even better complement was Karpathy&#x27;s famous course[2] - similar material but builds towards GPT instead of SD. The fastai coding style is somewhat esoteric (to me) so it was helpful to contrast with Karpathy&#x27;s more familiar style. I recommend doing both courses. Also I believe the fastai folks are planning a part 3 which covers LLMs; looking forward to that.<p>Concepts from part 2 helped my hobby project, a 7-day forecast of renewable electricity and power price[3].<p>Feels pretty great to have built my own Stable Diffusion and GPT! I am grateful to Jeremy and Andrej.<p>[1] <a href="https:&#x2F;&#x2F;course19.fast.ai&#x2F;part2" rel="nofollow">https:&#x2F;&#x2F;course19.fast.ai&#x2F;part2</a><p>[2] <a href="https:&#x2F;&#x2F;karpathy.ai&#x2F;zero-to-hero.html" rel="nofollow">https:&#x2F;&#x2F;karpathy.ai&#x2F;zero-to-hero.html</a><p>[3] <a href="https:&#x2F;&#x2F;greenforecast.au&#x2F;" rel="nofollow">https:&#x2F;&#x2F;greenforecast.au&#x2F;</a>
评论 #35451192 未加载
评论 #35454843 未加载
评论 #35456675 未加载
评论 #35451830 未加载
ttulabout 2 years ago
I audited this course - I say “audited” because I didn’t have time to do the homework; I just watched the lectures and spent what time I could playing around in Colab building some toy models. This is very much a full time university level course and you should treat it that way if you intend to complete it properly. You will need to reserve 10 hours per week for the homework - at least.<p>I enjoyed how Jeremy and his teaching assistants step through every detail so that you can understand how these fantastically complex systems actually work, from the ground up. Nothing is glossed over or taken for granted.<p>Much of the course material is building an AI programming framework from scratch. It’s well worth the hassle; I now at least have an intuition about how these systems work, rather than a glossed over impression with many holes. The other thing I greatly appreciated were the insights from other classmates in the forums. Some people way smarter than me took this course and Jeremy would incorporate their flashes of insight into the lectures.<p>I give this course a 10&#x2F;10 and I hope my life gets a little easier so that I can get back to the lessons and finish the homework one day.
评论 #35455098 未加载
tmabrahamabout 2 years ago
I have worked on the course with @jph00 and it&#x27;s been an incredible experience! This is one of the most cutting edge courses about deep learning and diffusion models. Highly recommend folks check it out!<p>Link for more info: <a href="https:&#x2F;&#x2F;www.fast.ai&#x2F;posts&#x2F;part2-2023.html" rel="nofollow">https:&#x2F;&#x2F;www.fast.ai&#x2F;posts&#x2F;part2-2023.html</a>
matsemannabout 2 years ago
I just used fastai last week for an experiment at work. I have no to little DS experience, but quickly skimmed through part1.<p>Quite easily I managed to use a pretrained resnet to do some quite astonishing things on completely unrelated pictures we have. And it only took like 10 epochs at ~4 seconds each, so less than a minute of training and it was already quite good.<p>What I did was that we have taken pictures of things during a process. At that point, I know what the volume should be. So used ~thousand of those images to train a regression model to estimate volume of the thing in the image.<p>Then I run the model on other images and compare what the model thinks is the volume compared to what it should be. When it&#x27;s off, the algorithm is mostly correct and we have an error on our side.<p>Quite astonished about how quick and easy this was to do with the high level api of fastai. Took me 2-3 days.
nbzsoabout 2 years ago
This is cool, but I have a fundamental question. Why learn machine learning when all the machines will learn how to create and control themselves and powerful elites will offload the burden of governments to control us?<p>Or we race ourselves to fulfill the last jobs on earth? Is this progress for humanity or enslavement and the end of our species? I am serious. This question is honest. Maybe my IQ is too low to understand the logic of this innovation.<p>Maybe I have seen too much tech implementation doing bad stuff to humans, who knows? Please, enlighten me.
评论 #35450218 未加载
评论 #35451047 未加载
评论 #35453748 未加载
评论 #35450502 未加载
评论 #35450463 未加载
评论 #35450748 未加载
评论 #35456454 未加载
评论 #35451456 未加载
emrahabout 2 years ago
Part #1: <a href="https:&#x2F;&#x2F;course.fast.ai&#x2F;Lessons&#x2F;lesson1.html" rel="nofollow">https:&#x2F;&#x2F;course.fast.ai&#x2F;Lessons&#x2F;lesson1.html</a>
novideolike123about 2 years ago
Would it be possible to have a transcription of the videos? I have never been able to follow a video for learning, for me the video format if like someone else controlling the way I learn.I much prefer to be able to design my own schedule in text. By using text I am able to skim quickly and select only those parts I consider important. Maybe other people are able to do that with video but I am not in that group.
评论 #35450707 未加载
knicholesabout 2 years ago
I&#x27;ve watched all of the fastai tutorials. I&#x27;ve screwed up by not going through and actually writing the code, but I hope to do it again and do it right this time. My biggest question is if this the whole part 2 course or still the 2-3 preview courses released around last November?
评论 #35455375 未加载
Fede_Vabout 2 years ago
The fast.ai courses are exceptionally good for getting started and learning the concepts, but, once you&#x27;ve mastered an intuitive understanding of the techniques, I highly encourage people to dig deeper into the concepts - specifically, reverse SDEs, stochastic calculus, optimization, score matching.<p>Jeremy does an excellent job making the content approachable, but, if you want to go beyond being an excellent practicioner, you cannot skip the theory bits.
评论 #35461052 未加载
jackallisabout 2 years ago
my nephew who is going to college this fall at east coast said, &quot;what&#x27;s the point of CS major anymore&quot; and i asked &quot;what do you mean&quot; and he goes &quot; ChatGPT&quot;. This is very cynical coming from 16 year old; however, got me thinking about impact of Chatgpt on peoples&#x27; mind about learning ML&#x2F;AI if chatgpt can do it all!
评论 #35455615 未加载
评论 #35455413 未加载
andy_pppabout 2 years ago
This looks awesome, however I probably need to do a bootcamp with real people to compete and have comradery with to actually retrain on the basics in this.<p>It doesn&#x27;t matter where in the world this is (I like to travel), but does anyone have a recommendation for in person bootcamps on AI?
评论 #35452691 未加载
评论 #35451931 未加载
howon92about 2 years ago
fast.ai is hands down the most beautiful learning material for deep learning &#x2F; ai
_giorgio_about 2 years ago
Why would I want to learn fast.ai...<p>I feel that while this course is surely superb, I don&#x27;t want to invest time in a new framwework. What&#x27;s your opinion?<p>We&#x27;ve got lightning, fast.ai, and another one that I forgot about... why?
评论 #35451512 未加载
评论 #35453137 未加载
andrewm4894about 2 years ago
Love all his courses!
cube2222about 2 years ago
This is awesome!<p>I loved the previous FastAI courses, and the top-down approach taken in them is really fun to go along with.<p>I guess now it&#x27;s time for an LLM-themed course?
ameliusabout 2 years ago
How much math does the reader need under their belt? Is high-school math sufficient?
评论 #35451507 未加载
jay3ssabout 2 years ago
I just started part 1 and had no idea part 2 was coming out. This looks great
hkababout 2 years ago
really love these hands-on tutorials, d2l and fast.ai has helped me a lot!
评论 #35451901 未加载
smusamashahabout 2 years ago
Is there a stablediffusion.cpp port like whisper.cpp and llama.cpp?
crimsoneerabout 2 years ago
Jeremy and Fast.AI should get bloody medals.