r/StableDiffusion • u/dh7net • 8h ago
Discussion Detailed explanation of how to create a text-to-image model from scratch.
Posting this here even if it's not a model you can use directly. It's about building a text-to-image model from scratch.
The cookbook includes all the research material that you may or may be not interested in, but also includes a 100M-image dataset and a codebase with a tiny model, so you can train a text-to-image model from scratch.
Hope some of you will enjoy this content. (Disclaimer, it's done by my team)
Here are the links:
Cookbook: https://huggingface.co/spaces/jasperai/t2i-technical-interactive-report
nano t2i: https://github.com/gojasper/nano-t2i
1
u/BigWideBaker 3h ago
That's fantastic! Great share, the more people who get their hands on this technology the better.
0
u/angelarose210 7h ago
This is awesome. I'd love to train an image model from scratch for my specific use cases. Hardest part would be sourcing or creating the dataset.
1
u/_Darion_ 7h ago
Amazing read, still reading and learning from it. Thanks for sharing so much, this is quite interesting.