Generate images from a text prompt
Our logo was generated with DALL·E mini using the prompt "logo of an armchair in the shape of an avocado".
There are several ways to use DALL·E mini to create your own images:
-
use the app
-
experiment with the pipeline step by step through our
inference pipeline notebook
You can also use these great projects from the community:
-
spin off your own app with DALL-E Playground repository (thanks Sahar)
-
try DALL·E Flow project for generating, diffusion, and upscaling in a Human-in-the-Loop workflow (thanks Han Xiao)
Refer to our report.
Join the community on the LAION Discord. Any contribution is welcome, from reporting issues to proposing fixes/improvements or testing the model with cool prompts!
For inference only, use pip install git+https://github.com/borisdayma/dalle-mini.git.
For development, clone the repo and use pip install -e ".[dev]".
Before making a PR, check style with make style.
Use tools/train/train.py.
You can also adjust the sweep configuration file if you need to perform a hyperparameter search.
Trained models are on 🤗 Model Hub:
- VQGAN-f16-16384 for encoding/decoding images
- DALL·E mini for generating images from a text prompt
The "armchair in the shape of an avocado" was used by OpenAI when releasing DALL·E to illustrate the model's capabilities. Having successful predictions on this prompt represents a big milestone for us.
- 🤗 Hugging Face for organizing the FLAX/JAX community week
- Google TPU Research Cloud (TRC) program for providing computing resources
- Weights & Biases for providing the infrastructure for experiment tracking and model management
DALL·E mini was initially developed by:
- Boris Dayma
- Suraj Patil
- Pedro Cuenca
- Khalid Saifullah
- Tanishq Abraham
- Phúc Lê Khắc
- Luke Melas
- Ritobrata Ghosh
Many thanks to the people who helped make it better:
- the DALLE-Pytorch and EleutherAI communities for testing and exchanging cool ideas
- Rohan Anil for adding Distributed Shampoo optimizer and always giving great suggestions
- Phil Wang has provided a lot of cool implementations of transformer variants and gives interesting insights with x-transformers
- Katherine Crowson for super conditioning
- the Gradio team made an amazing UI for our app
If you find DALL·E mini useful in your research or wish to refer, please use the following BibTeX entry.
@misc{Dayma_DALL·E_Mini_2021,
author = {Dayma, Boris and Patil, Suraj and Cuenca, Pedro and Saifullah, Khalid and Abraham, Tanishq and Lê Khắc, Phúc and Melas, Luke and Ghosh, Ritobrata},
doi = {10.5281/zenodo.5146400},
month = {7},
title = {DALL·E Mini},
url = {https://github.com/borisdayma/dalle-mini},
year = {2021}
}