nroggendorff
commited on
Commit
•
d46db24
1
Parent(s):
e32d294
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,53 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
metrics:
|
4 |
+
- mse
|
5 |
+
library_name: diffusers
|
6 |
+
tags:
|
7 |
+
- diffusion
|
8 |
+
pipeline_tag: unconditional-image-generation
|
9 |
---
|
10 |
+
## Anime Face Model Card
|
11 |
+
|
12 |
+
DDPMAnimes is a latent noise-to-image diffusion model capable of generating images of Anime girls (no I'm not weird). For more information about how Stable Diffusion functions, please have a look at 🤗's [Stable Diffusion blog](https://huggingface.co/blog/stable_diffusion).
|
13 |
+
|
14 |
+
You can use this with the 🧨Diffusers library from [Hugging Face](https://huggingface.co).
|
15 |
+
|
16 |
+
![So cute, right?](pipe.png)
|
17 |
+
|
18 |
+
### Diffusers
|
19 |
+
```py
|
20 |
+
from diffusers import DiffusionPipeline
|
21 |
+
|
22 |
+
pipeline = DiffusionPipeline.from_pretrained("nroggendorff/anime")
|
23 |
+
pipe = pipeline.to("cuda")
|
24 |
+
|
25 |
+
image = pipe().images[0]
|
26 |
+
|
27 |
+
image.save("anime_face.png")
|
28 |
+
```
|
29 |
+
|
30 |
+
|
31 |
+
### Model Details
|
32 |
+
- `train_batch_size`: 16
|
33 |
+
- `eval_batch_size`: 16
|
34 |
+
- `num_epochs`: 50
|
35 |
+
- `gradient_accumulation_steps`: 1
|
36 |
+
- `learning_rate`: 1e-4
|
37 |
+
- `lr_warmup_steps`: 500
|
38 |
+
- `mixed_precision`: "fp16"
|
39 |
+
- `eval_metric`: "mean_squared_error"
|
40 |
+
|
41 |
+
### Bias
|
42 |
+
- This model may exhibit biases due to its training data. It will not display images of overweight or otherwise non-traditionally attractive women, as it is sexist.
|
43 |
+
|
44 |
+
### Limitations
|
45 |
+
|
46 |
+
- The model does not achieve perfect photorealism
|
47 |
+
- The model cannot render legible text
|
48 |
+
- The model was trained on a medium-to-large-scale dataset: [huggan/few-shot-anime-face](https://huggingface.co/datasets/huggan/few-shot-anime-face)
|
49 |
+
|
50 |
+
### Developed by
|
51 |
+
- Noa Linden Roggendorff
|
52 |
+
|
53 |
+
*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).*
|