nroggendorff commited on
Commit
1806573
1 Parent(s): 71832fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -2
README.md CHANGED
@@ -1,6 +1,50 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
3
  datasets:
4
  - nroggendorff/zelda
5
- pipeline_tag: text-to-image
6
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ metrics:
4
+ - mse
5
+ library_name: diffusers
6
+ tags:
7
+ - diffusion
8
+ pipeline_tag: text-to-image
9
  datasets:
10
  - nroggendorff/zelda
11
+ language:
12
+ - en
13
+ ---
14
+ ## Zelda Diffusion Model Card
15
+
16
+ SDZelda is a latent text-to-image diffusion model capable of generating images of Zelda from The Legend of Zelda. For more information about how Stable Diffusion functions, please have a look at 🤗's [Stable Diffusion blog](https://huggingface.co/blog/stable_diffusion).
17
+
18
+ You can use this with the 🧨Diffusers library from [Hugging Face](https://huggingface.co).
19
+
20
+ ![So cool, right?](pipe.png)
21
+
22
+ ### Diffusers
23
+ ```py
24
+ from diffusers import StableDiffusionPipeline
25
+ import torch
26
+
27
+ pipeline = StableDiffusionPipeline.from_pretrained("nroggendorff/zelda-diffusion", torch_dtype=torch.float16, use_safetensors=True).to("cuda")
28
+
29
+ image = pipeline(prompt="a drawing of a woman in a blue dress and gold crown").images[0]
30
+ image.save("zelda.png")
31
+ ```
32
+
33
+ ### Model Details
34
+ - `train_batch_size`: 1
35
+ - `gradient_accumulation_steps`: 4
36
+ - `learning_rate`: 1e-2
37
+ - `lr_warmup_steps`: 500
38
+ - `mixed_precision`: "fp16"
39
+ - `eval_metric`: "mean_squared_error"
40
+
41
+ ### Limitations
42
+
43
+ - The model does not achieve perfect photorealism
44
+ - The model cannot render legible text
45
+ - The model was trained on a small-scale dataset: [nroggendorff/zelda](https://huggingface.co/datasets/nroggendorff/zelda)
46
+
47
+ ### Developed by
48
+ - Noa Linden Roggendorff
49
+
50
+ *This model card was written by Noa Roggendorff and is based on the [Stable Diffusion v1-5 Model Card](https://huggingface.co/runwayml/stable-diffusion-v1-5).*