File size: 3,697 Bytes
d2c5d44
 
 
 
 
e181426
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b1796a1
e181426
 
b1796a1
 
c40f13b
e181426
eb2f987
e181426
eb2f987
c40f13b
eb2f987
784dc12
eb2f987
784dc12
b1796a1
784dc12
b1796a1
784dc12
d2c5d44
 
052f6d2
b1796a1
eb2f987
052f6d2
c5bb7ca
 
 
 
 
 
c609c8c
 
c5bb7ca
 
052f6d2
d2c5d44
f690ac2
0f3944a
d2c5d44
e5abc55
 
 
 
 
6493c4c
 
 
e5abc55
 
9b2a473
e5abc55
 
5282d1d
e5abc55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
dataset_info:
  features:
  - name: image
    dtype: image
  - name: image_id
    dtype: string
  - name: tag
    dtype: string
  - name: model_id
    dtype: int64
  - name: modelVersion_id
    dtype: int64
  - name: prompt_id
    dtype: int64
  - name: size
    dtype: string
  - name: seed
    dtype: int64
  - name: prompt
    dtype: string
  - name: negativePrompt
    dtype: string
  - name: cfgScale
    dtype: int64
  - name: sampler
    dtype: string
  - name: note
    dtype: string
  - name: nsfw_score
    dtype: float64
  - name: mcos_score
    dtype: float64
  - name: clip_score
    dtype: float64
  - name: norm_clip
    dtype: float64
  - name: norm_mcos
    dtype: float64
  - name: norm_nsfw
    dtype: float64
  - name: norm_pop
    dtype: float64
  splits:
  - name: train
    num_bytes: 10373652334
    num_examples: 18000
  download_size: 9873105007
  dataset_size: 10373652334
task_categories:
- text-to-image
language:
- en
tags:
- art
- stable diffusion
- diffusers
size_categories:
- 10K<n<100K
license: openrail
---
# GEMRec-18k -- Prompt Book
This is the official image dataset for the paper [Towards Personalized Prompt-Model Retrieval for Generative Recommendation](https://github.com/MAPS-research/GEMRec). 

## Dataset Intro
`GEMRec-18K` is a prompt-model interaction dataset with 18K images generated by 200 publicly-available generative models paired with a diverse set of 90 textual prompts. We randomly sampled a subset of 197 models from the full set of models (all finetuned from Stable Diffusion) on [Civitai](https://civitai.com/) according to the popularity distribution (i.e., download counts) and added 3 original Stable Diffusion checkpoints (v1.4, v1.5, v2.1) from HuggingFace. All the model checkpoints have been converted to the [Diffusers](https://huggingface.co/docs/diffusers/index) format. The textual prompts were drawn from three sources: 60 prompts were sampled from [Parti Prompts](https://github.com/google-research/parti); 10 prompts were sampled from [Civitai](https://civitai.com/) by popularity; we also handcrafted 10 prompts following the prompting guide from [DreamStudio](https://beta.dreamstudio.ai/prompt-guide), and then extended them to 20 by creating a shortened and simplified version following the tips from [Midjourney](https://docs.midjourney.com/docs/prompts). The textual prompts were classified into 12 categories: abstract, animal, architecture, art, artifact, food, illustration, people, produce & plant, scenery, vehicle, and world knowledge.

## Links
#### Dataset
- [GEMRec-Promptbook](https://huggingface.co/datasets/MAPS-research/GEMRec-PromptBook): The full version of our GemRec-18k dataset (images & metadata).
- [GEMRec-Metadata](https://huggingface.co/datasets/MAPS-research/GEMRec-Metadata): The pruned version of our GemRec-18k dataset (metadata only).
- [GEMRec-Roster](https://huggingface.co/datasets/MAPS-research/GEMRec-Roster): The metadata for the 200 model checkpoints fetched from [Civitai](https://civitai.com/).

#### Space
- [GEMRec-Gallery](https://huggingface.co/spaces/MAPS-research/GEMRec-Gallery): Our web application for browsing and comparing the generated images.

#### Github Code
- [GEMRec](https://github.com/MAPS-research/GEMRec)


## Acknowledgement
This work was supported through the NYU High Performance Computing resources, services, and staff expertise.

## Citation
If you find our work helpful, please consider cite it as follows:
```bibtex
@article{guo2023towards,
  title={Towards Personalized Prompt-Model Retrieval for Generative Recommendation},
  author={Guo, Yuanhe and Liu, Haoming and Wen, Hongyi},
  journal={arXiv preprint arXiv:2308.02205},
  year={2023}
}
```