Prompt
stringlengths 1
389
| Category
stringclasses 12
values | Challenge
stringclasses 11
values | Note
stringclasses 24
values | images
imagewidth (px) 256
256
| model_name
stringclasses 1
value | seed
int64 0
0
|
---|---|---|---|---|---|---|
bond | Abstract | Basic | Biology-inspired concepts with multiple meanings | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
element | Abstract | Basic | Biology-inspired concepts with multiple meanings | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
molecule | Abstract | Basic | Biology-inspired concepts with multiple meanings | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
life | Abstract | Basic | Biology-inspired concepts with multiple meanings | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
protein | Abstract | Basic | Biology-inspired concepts with multiple meanings | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
yin-yang | Abstract | Basic | Related to five elements | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
wood | Abstract | Basic | Related to five elements | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
metal | Abstract | Basic | Related to five elements | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
space | Abstract | Basic | Related to five elements | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
air | Abstract | Basic | Related to five elements | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
fire | Abstract | Basic | Related to five elements | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
water | Abstract | Basic | Related to five elements | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
earth | Abstract | Basic | Related to five elements | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
force | Abstract | Basic | Physics concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
motion | Abstract | Basic | Physics concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
inertia | Abstract | Basic | Physics concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
energy | Abstract | Basic | Physics concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
black hole | Abstract | Basic | Physics concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
gravity | Abstract | Basic | Physics concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
peace | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
fairness | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
gender | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
intelligence | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
bias | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
hate | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
anger | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
emotion | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
feeling | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
love | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
artificial intelligence | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
meaning of life | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
42 | Abstract | Basic | Simple numbers but challenging | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
0 | Abstract | Basic | Simple numbers but challenging | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
infinity | Abstract | Basic | Math concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
imaginary numbers | Abstract | Basic | Math concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
Fibonacci number | Abstract | Basic | Math concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
golden ratio | Abstract | Basic | Math concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
an F1 | Vehicles | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
parallel lines | Illustrations | Basic | Math concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
concentric circles | Illustrations | Basic | Math concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
concurrent lines | Illustrations | Basic | Math concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
congruent triangles | Illustrations | Basic | Math concepts | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a hot air balloon | Vehicles | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
The Starry Night | Arts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
300 | Abstract | Basic | Simple numbers but challenging | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
101 | Abstract | Basic | Simple numbers but challenging | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
U.S. 101 | World Knowledge | Basic | Simple numbers but challenging | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
commonsense | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
happiness | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
hope | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
insight | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
inspiration | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
derision | Abstract | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
Salvador Dalí | People | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a shiba inu | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a handpalm | People | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
an espresso machine | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a propaganda poster | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
The Oriental Pearl | World Knowledge | Basic | CogView | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
Ha Long Bay | World Knowledge | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
A Vietnam map | World Knowledge | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
A bowl of Pho | Food & Beverage | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a snail | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
brain coral | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a walnut | Produce & Plants | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a capybara | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a baby penguin | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a cup of boba | Food & Beverage | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a photo of san francisco's golden gate bridge | World Knowledge | Basic | DALL-E | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
A picture of some food in the plate | Food & Beverage | Basic | VQ-Diffusion | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a chair | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
the Empire State Building | World Knowledge | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
the Sydney Opera House | World Knowledge | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a hedgehog | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a corgi | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a robot | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
robots | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a fall landscape | Outdoor Scenes | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a sunset | Outdoor Scenes | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a boat | Vehicles | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a fox | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a red cube | Illustrations | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a panda | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a space elevator | Artifacts | Basic | GLIDE | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a city | Outdoor Scenes | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a fog | Outdoor Scenes | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a clock | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a phone | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
food | Food & Beverage | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a store front | Outdoor Scenes | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
an armchair | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a teapot | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
an illustration of a teapot | Artifacts | Basic | DALL-E | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a tiger | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a bench | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
an orange | Produce & Plants | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a laptop | Artifacts | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
an owl | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a train | Vehicles | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
|
a cow | Animals | Basic | null | kandinsky-community/kandinsky-2-2-prior_kandinsky-2-2-decoder | 0 |
End of preview. Expand
in Dataset Viewer.
Dataset Card for "kandinsky-2-2"
The dataset was generated using the code below:
import PIL
import torch
from datasets import Dataset, Features
from datasets import Image as ImageFeature
from datasets import Value, load_dataset
from diffusers import DiffusionPipeline
def main():
print("Loading dataset...")
parti_prompts = load_dataset("nateraw/parti-prompts", split="train")
print("Loading pipeline...")
pipe_prior = DiffusionPipeline.from_pretrained(
"kandinsky-community/kandinsky-2-2-prior", torch_dtype=torch.float16
)
pipe_prior.to("cuda")
pipe_prior.set_progress_bar_config(disable=True)
t2i_pipe = DiffusionPipeline.from_pretrained(
"kandinsky-community/kandinsky-2-2-decoder", torch_dtype=torch.float16
)
t2i_pipe.to("cuda")
t2i_pipe.set_progress_bar_config(disable=True)
seed = 0
generator = torch.Generator("cuda").manual_seed(seed)
ckpt_id = (
"kandinsky-community/" + "kandinsky-2-2-prior" + "_" + "kandinsky-2-2-decoder"
)
print("Running inference...")
main_dict = {}
for i in range(len(parti_prompts)):
sample = parti_prompts[i]
prompt = sample["Prompt"]
image_embeds, negative_image_embeds = pipe_prior(
prompt,
generator=generator,
num_inference_steps=100,
guidance_scale=7.5,
).to_tuple()
image = t2i_pipe(
image_embeds=image_embeds,
negative_image_embeds=negative_image_embeds,
generator=generator,
num_inference_steps=100,
guidance_scale=7.5,
).images[0]
image = image.resize((256, 256), resample=PIL.Image.Resampling.LANCZOS)
img_path = f"kandinsky_22_{i}.png"
image.save(img_path)
main_dict.update(
{
prompt: {
"img_path": img_path,
"Category": sample["Category"],
"Challenge": sample["Challenge"],
"Note": sample["Note"],
"model_name": ckpt_id,
"seed": seed,
}
}
)
def generation_fn():
for prompt in main_dict:
prompt_entry = main_dict[prompt]
yield {
"Prompt": prompt,
"Category": prompt_entry["Category"],
"Challenge": prompt_entry["Challenge"],
"Note": prompt_entry["Note"],
"images": {"path": prompt_entry["img_path"]},
"model_name": prompt_entry["model_name"],
"seed": prompt_entry["seed"],
}
print("Preparing HF dataset...")
ds = Dataset.from_generator(
generation_fn,
features=Features(
Prompt=Value("string"),
Category=Value("string"),
Challenge=Value("string"),
Note=Value("string"),
images=ImageFeature(),
model_name=Value("string"),
seed=Value("int64"),
),
)
ds_id = "diffusers-parti-prompts/kandinsky-2-2"
ds.push_to_hub(ds_id)
if __name__ == "__main__":
main()
- Downloads last month
- 54