nateraw commited on
Commit
9ee569c
1 Parent(s): 853f385

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +199 -0
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license:
3
+ - cc0-1.0
4
+ converted_from: kaggle
5
+ kaggle_id: succinctlyai/midjourney-texttoimage
6
+ ---
7
+
8
+ # Dataset Card for Midjourney User Prompts & Generated Images (250k)
9
+
10
+ ## Table of Contents
11
+ - [Table of Contents](#table-of-contents)
12
+ - [Dataset Description](#dataset-description)
13
+ - [Dataset Summary](#dataset-summary)
14
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
15
+ - [Languages](#languages)
16
+ - [Dataset Structure](#dataset-structure)
17
+ - [Data Instances](#data-instances)
18
+ - [Data Fields](#data-fields)
19
+ - [Data Splits](#data-splits)
20
+ - [Dataset Creation](#dataset-creation)
21
+ - [Curation Rationale](#curation-rationale)
22
+ - [Source Data](#source-data)
23
+ - [Annotations](#annotations)
24
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
25
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
26
+ - [Social Impact of Dataset](#social-impact-of-dataset)
27
+ - [Discussion of Biases](#discussion-of-biases)
28
+ - [Other Known Limitations](#other-known-limitations)
29
+ - [Additional Information](#additional-information)
30
+ - [Dataset Curators](#dataset-curators)
31
+ - [Licensing Information](#licensing-information)
32
+ - [Citation Information](#citation-information)
33
+ - [Contributions](#contributions)
34
+
35
+ ## Dataset Description
36
+
37
+ - **Homepage:** https://kaggle.com/datasets/succinctlyai/midjourney-texttoimage
38
+ - **Repository:**
39
+ - **Paper:**
40
+ - **Leaderboard:**
41
+ - **Point of Contact:**
42
+
43
+ ### Dataset Summary
44
+
45
+ General Context
46
+ ===
47
+ [Midjourney](https://midjourney.com) is an independent research lab whose broad mission is to "explore new mediums of thought". In 2022, they launched a text-to-image service that, given a natural language prompt, produces visual depictions that are faithful to the description. Their service is accessible via a public [Discord server](https://discord.com/invite/midjourney), where users interact with a [Midjourney bot](https://midjourney.gitbook.io/docs/#create-your-first-image). When issued a query in natural language, the bot returns four low-resolution images and offers further options like upscaling or re-generating a variation of the original images.
48
+
49
+ This dataset was obtained by scraping messages from the public Discord server over a period of four weeks (June 20, 2002 - July 17, 2022). The authors have no affiliation with Midjourney and are releasing this data with the sole purpose of enabling research on text-to-image model prompting (see the Sample Use Case section below).
50
+
51
+ Midjourney's Discord Server
52
+ ---
53
+ Here is what the interaction with the Midjourney bot looks like on Discord:
54
+ 1. Issuing an initial prompt:
55
+ ![Screenshot showing how to issue an initial prompt](https://drive.google.com/uc?export=view&id=1k6BuaJNWThCr1x2Ezojx3fAmDIyeZhbp "Result of issuing an initial prompt")
56
+
57
+ 2. Upscaling the bottom-left image:
58
+ ![Screenshot showing how to request upscaling an image](https://drive.google.com/uc?export=view&id=15Y65Fe0eVKVPK5YOul0ZndLuqo4Lg4xk "Result of upscaling an image")
59
+
60
+ 3. Requesting variations of the bottom-left image:
61
+ ![Screenshot showing how to request a variation of a generated image](https://drive.google.com/uc?export=view&id=1-9kw69PgM5eIM5n1dir4lQqGCn_hJfOA "Result of requesting a variation of an image")
62
+
63
+ Dataset Format
64
+ ===
65
+ The dataset was produced by scraping ten public Discord channels in the "general" category (i.e., with no dedicated topic) over four weeks. Filenames follow the pattern `channel-name_yyyy_mm_dd.json`. The `"messages"` field in each JSON file contains a list of [Message](https://discord.com/developers/docs/resources/channel#message-object) objects, one per user query. A message includes information such as the user-issued prompt, a link to the generated image, and other metadata. See [the companion notebook](https://www.kaggle.com/succinctlyai/midjourney-prompt-analysis) with utilities for extracting such information.
66
+
67
+ | User Prompt | Generated Image URL |
68
+ | --- | --- |
69
+ | anatomical heart fill with deers, neon, pastel, artstation | https://cdn.discordapp.com/attachments/985204969722486814/989673529102463016/f14d5cb4-aa4d-4060-b017-5ee6c1db42d6_Ko_anatomical_heart_fill_with_deers_neon_pastel_artstation.png |
70
+ | anatomical heart fill with jumping running deers, neon, pastel, artstation | https://cdn.discordapp.com/attachments/985204969722486814/989675045439815721/1d7541f2-b659-4a74-86a3-ae211918723c_Ko_anatomical_heart_fill_with_jumping_running_deers_neon_pastel_artstation.png |
71
+ | https://s.mj.run/UlkFmVAKfaE cat with many eyes floating in colorful glowing swirling whisps, occult inspired, emerging from the void, shallow depth of field | https://cdn.discordapp.com/attachments/982990243621908480/988957623229501470/6116dc5f-64bb-4afb-ba5f-95128645c247_MissTwistedRose_cat_with_many_eyes_floating_in_colorful_glowing_swirling_whisps_occult_inspired_emerging_from_the_vo.png |
72
+
73
+ Dataset Stats
74
+ ===
75
+ The dataset contains:
76
+ - **268k** messages from 10 public Discord channel collected over 28 days.
77
+ - **248k** user-generated prompts and their associated generated images, out of which:
78
+ + 60% are requests for new images (initial or variation requests for a previously-generated image), and
79
+ + 40% are requests for upscaling previously-generated images.
80
+
81
+ Prompt Analysis
82
+ ===
83
+ Here are the most prominent phrases among the user-generated text prompts:
84
+ ![word cloud](https://drive.google.com/uc?export=view&id=1J432wrecf2zibDFU5sT3BXFxqmt3PJ-P)
85
+
86
+ Prompt lengths span from 1 to 60 whitespace-separated tokens, with the mode around 15 tokens:
87
+ ![prompt lengths](https://drive.google.com/uc?export=view&id=1fFObFvcWwOEGJ3k47G4fzIHZXmxS3RiW)
88
+
89
+ See the [the companion notebook](https://www.kaggle.com/succinctlyai/midjourney-prompt-analysis) for an in-depth analysis of how users control various aspects of the generated images (lighting, resolution, photographic elements, artistic style, etc.).
90
+
91
+ Sample Use Case
92
+ ===
93
+ One way of leveraging this dataset is to help address the [prompt engineering](https://www.wired.com/story/dalle-art-curation-artificial-intelligence/) problem: artists that use text-to-image models in their work spend a significant amount of time carefully crafting their text prompts. We built an additional model for prompt autocompletion by learning from the queries issued by Midjourney users. [This notebook](https://www.kaggle.com/code/succinctlyai/midjourney-text-prompts-huggingface) shows how to extract the natural language prompts from the Discord messages and create a HuggingFace dataset to be used for training. The processed dataset can be found at [succinctly/midjourney-prompts](https://huggingface.co/datasets/succinctly/midjourney-prompts), and the prompt generator (a GPT-2 model fine-tuned on prompts) is located at [succinctly/text2image-prompt-generator](https://huggingface.co/succinctly/text2image-prompt-generator).
94
+
95
+ Here is how our model can help brainstorm creative prompts and speed up prompt engineering:
96
+ ![prompt autocomplete model](https://drive.google.com/uc?export=view&id=1JqZ-CaWNpQ4iO0Qcd3b8u_QnBp-Q0PKu)
97
+
98
+ Authors
99
+ ===
100
+ This project was a collaboration between [Iulia Turc](https://twitter.com/IuliaTurc) and [Gaurav Nemade](https://twitter.com/gaurav_nemade15). We recently left Google Research to work on something new. Feel free to Tweet at us, or follow our journey at [succinctly.ai](https://succinctly.ai).
101
+
102
+
103
+ Interesting Finds
104
+ ===
105
+ Here are some of the generated images that drew our attention:
106
+
107
+ | User Prompt | Generated Image |
108
+ | --- | --- |
109
+ | https://s.mj.run/JlwNbH Historic Ensemble of the Potala Palace Lhasa, japanese style painting,trending on artstation, temple, architecture, fiction, sci-fi, underwater city, Atlantis , cyberpunk style, 8k revolution, Aokigahara fall background , dramatic lighting, epic, photorealistic, in his lowest existential moment with high detail, trending on artstation,cinematic light, volumetric shading ,high radiosity , high quality, form shadow, rim lights , concept art of architecture, 3D,hyper deatiled,very high quality,8k,Maxon cinema,visionary,imaginary,realistic,as trending on the imagination of Gustave Doré idea,perspective view,ornate light --w 1920 --h 1024 | ![palace](https://drive.google.com/uc?export=view&id=1xl2Gr1TSWCh0p_8o_wJnQIsO1qxW02Z_) |
110
+ | a dark night with fog in a metropolis of tomorrow by hugh ferriss:, epic composition, maximum detail, Westworld, Elysium space station, space craft shuttle, star trek enterprise interior, moody, peaceful, hyper detailed, neon lighting, populated, minimalist design, monochromatic, rule of thirds, photorealistic, alien world, concept art, sci-fi, artstation, photorealistic, arch viz , volumetric light moody cinematic epic, 3d render, octane render, trending on artstation, in the style of dylan cole + syd mead + by zaha hadid, zaha hadid architecture + reaction-diffusion + poly-symmetric + parametric modelling, open plan, minimalist design 4k --ar 3:1 | ![metropolis](https://drive.google.com/uc?export=view&id=16A-VtlbSZCaUFiA6CZQzevPgBGyBiXWI) |
111
+ | https://s.mj.run/qKj8n0 fantasy art, hyperdetailed, panoramic view, foreground is a crowd of ancient Aztec robots are doing street dance battle , main part is middleground is majestic elegant Gundam mecha robot design with black power armor and unsettling ancient Aztec plumes and decorations scary looking with two magical neon swords combat fighting::2 , background is at night with nebula eruption, Rembrandt lighting, global illumination, high details, hyper quality, unreal negine, octane render, arnold render, vray render, photorealistic, 8k --ar 3:1 --no dof,blur,bokeh | ![ancient](https://drive.google.com/uc?export=view&id=1a3jI3eiQwLbulaSS2-l1iGJ6-kokMMvc) |
112
+ | https://s.mj.run/zMIhrKBDBww in side a Amethyst geode cave, 8K symmetrical portrait, trending in artstation, epic, fantasy, Klimt, Monet, clean brush stroke, realistic highly detailed, wide angle view, 8k post-processing highly detailed, moody lighting rendered by octane engine, artstation,cinematic lighting, intricate details, 8k detail post processing, --no face --w 512 --h 256 | ![cave](https://drive.google.com/uc?export=view&id=1gUx-3drfCBBFha8Hoal4Ly4efDXSrxlB) |
113
+ | https://s.mj.run/GTuMoq whimsically designed gothic, interior of a baroque cathedral in fire with moths and birds flying, rain inside, with angels, beautiful woman dressed with lace victorian and plague mask, moody light, 8K photgraphy trending on shotdeck, cinema lighting, simon stålenhag, hyper realistic octane render, octane render, 4k post processing is very detailed, moody lighting, Maya+V-Ray +metal art+ extremely detailed, beautiful, unreal engine, lovecraft, Big Bang cosmology in LSD+IPAK,4K, beatiful art by Lêon François Comerre, ashley wood, craig mullins, ,outer space view, William-Adolphe Bouguereau, Rosetti --w 1040 --h 2080 | ![gothic](https://drive.google.com/uc?export=view&id=1nmsTEdPEbvDq9SLnyjjw3Pb8Eb-C1WaP) |
114
+
115
+ ### Supported Tasks and Leaderboards
116
+
117
+ [More Information Needed]
118
+
119
+ ### Languages
120
+
121
+ [More Information Needed]
122
+
123
+ ## Dataset Structure
124
+
125
+ ### Data Instances
126
+
127
+ [More Information Needed]
128
+
129
+ ### Data Fields
130
+
131
+ [More Information Needed]
132
+
133
+ ### Data Splits
134
+
135
+ [More Information Needed]
136
+
137
+ ## Dataset Creation
138
+
139
+ ### Curation Rationale
140
+
141
+ [More Information Needed]
142
+
143
+ ### Source Data
144
+
145
+ #### Initial Data Collection and Normalization
146
+
147
+ [More Information Needed]
148
+
149
+ #### Who are the source language producers?
150
+
151
+ [More Information Needed]
152
+
153
+ ### Annotations
154
+
155
+ #### Annotation process
156
+
157
+ [More Information Needed]
158
+
159
+ #### Who are the annotators?
160
+
161
+ [More Information Needed]
162
+
163
+ ### Personal and Sensitive Information
164
+
165
+ [More Information Needed]
166
+
167
+ ## Considerations for Using the Data
168
+
169
+ ### Social Impact of Dataset
170
+
171
+ [More Information Needed]
172
+
173
+ ### Discussion of Biases
174
+
175
+ [More Information Needed]
176
+
177
+ ### Other Known Limitations
178
+
179
+ [More Information Needed]
180
+
181
+ ## Additional Information
182
+
183
+ ### Dataset Curators
184
+
185
+ This dataset was shared by [@succinctlyai](https://kaggle.com/succinctlyai)
186
+
187
+ ### Licensing Information
188
+
189
+ The license for this dataset is cc0-1.0
190
+
191
+ ### Citation Information
192
+
193
+ ```bibtex
194
+ [More Information Needed]
195
+ ```
196
+
197
+ ### Contributions
198
+
199
+ [More Information Needed]