readme: ---
  
  inference: false
  co2_eq_emissions:
        emissions: 7540
        source: MLCo2 Machine Learning Impact calculator
        geographical_location: East USA
        hardware_used: TPU v3-8
  tags:
  - text-to-image
  license: apache-2.0
  
  language: en
  model-index: 
    - name: dalle-mini
      results: []
  ---
  
  # DALL·E Mini Model Card
  
  This model card focuses on the model associated with the DALL·E mini space on Hugging Face, available [here](https://huggingface.co/spaces/dalle-mini/dalle-mini). The app is called “dalle-mini”, but  incorporates “[DALL·E Mini](https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini-Generate-images-from-any-text-prompt--VmlldzoyMDE4NDAy)’’ and “[DALL·E Mega](https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-Mega-Training-Journal--VmlldzoxODMxMDI2)” models (further details on this distinction forthcoming).
  
  The DALL·E Mega model is the largest version of DALLE Mini. For more information specific to DALL·E Mega, see the [DALL·E Mega model card](https://huggingface.co/dalle-mini/dalle-mega).
  
  ## Model Details
  
  * **Developed by:** Boris Dayma, Suraj Patil, Pedro Cuenca, Khalid Saifullah, Tanishq Abraham, Phúc Lê, Luke, Luke Melas, Ritobrata Ghosh
  * **Model type:** Transformer-based text-to-image generation model
  * **Language(s):** English
  * **License:** Apache 2.0
  * **Model Description:** This is a model that can be used to generate images based on text prompts. As the model developers wrote in the [project report](https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini-Generate-images-from-any-text-prompt--VmlldzoyMDE4NDAy) about DALL·E mini, “OpenAI had the first impressive model for generating images with [DALL·E](https://openai.com/blog/dall-e/). DALL·E mini is an attempt at reproducing those results with an open-source model.”
  * **Resources for more information:** See OpenAI’s website for more information about [DALL·E](https://openai.com/blog/dall-e/), including the [DALL·E model card](https://github.com/openai/DALL-E/blob/master/model_card.md). See the [project report](https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini-Generate-images-from-any-text-prompt--VmlldzoyMDE4NDAy) for more information from the model’s developers. To learn more about DALL·E Mega, see the DALL·E Mega [training journal](https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-Mega-Training--VmlldzoxODMxMDI2#training-parameters).
  * **Cite as:** 
  ```bib text
  @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}
  }
  ```
  
  ## Uses
  
  ### Direct Use
  
  The model is intended to be used to generate images based on text prompts for research and personal consumption.  Intended uses include supporting creativity, creating humorous content, and providing generations for people curious about the model’s behavior.  Intended uses exclude those described in the [Misuse and Out-of-Scope Use](#misuse-malicious-use-and-out-of-scope-use) section.
  
  ### Downstream Use
  
  The model could also be used for downstream use cases, including:
  * Research efforts, such as probing and better understanding the limitations and biases of generative models to further improve the state of science
  * Development of educational or creative tools
  * Generation of artwork and use in design and artistic processes. 
  * Other uses that are newly discovered by users. This currently includes poetry illustration (give a poem as prompt), fan art (putting a character in various other visual universes), visual puns, fairy tale illustrations (give a fantasy situation as prompt), concept mashups (applying a texture to something completely different), style transfers (portraits in the style of), … We hope you will find your own application!
  
  Downstream uses exclude the uses described in [Misuse and Out-of-Scope Use](#misuse-malicious-use-and-out-of-scope-use).
  
  ### Misuse, Malicious Use, and Out-of-Scope Use
  
  The model should not be used to intentionally create or disseminate images that create hostile or alienating environments for people. This includes generating images that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes. 
  
  #### Out-of-Scope Use
  
  The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.
  
  #### Misuse and Malicious Use 
  
  Using the model to generate content that is cruel to individuals is a misuse of this model. This includes:
  * Generating demeaning, dehumanizing, or otherwise harmful representations of people or their environments, cultures, religions, etc.
  * Intentionally promoting or propagating discriminatory content or harmful stereoty