Linaqruf commited on
Commit
bf3b4f8
1 Parent(s): ec630d2

Upload example images for hitokomoru-15000.ckpt and hitokomoru-20000.ckpt

Browse files
Files changed (1) hide show
  1. README.md +45 -7
README.md CHANGED
@@ -24,25 +24,63 @@ There is 4 variations of this model available so far:
24
  # Dataset
25
 
26
  You can find `datasets` used to train this model and the `last-state` folder for resume training [here](https://huggingface.co/datasets/Linaqruf/hitokomoru-tag)
27
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  ## Examples
29
 
30
  Below are some examples of images generated using this model:
31
 
32
- #### Using Hitokomoru-5000.ckpt
33
  **Anime Girl:**
34
- ![Anime Girl](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/girl-5000.png)
35
 
36
  **Anime Boy:**
37
- ![Anime Boy](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/boy-5000.png)
38
 
39
- #### Using Hitokomoru-10000.ckpt
40
 
41
  **Anime Girl:**
42
- ![Anime Girl](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/girl-10000.png)
43
 
44
  **Anime Boy:**
45
- ![Anime Boy](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/boy-10000.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
47
  ## License
48
 
 
24
  # Dataset
25
 
26
  You can find `datasets` used to train this model and the `last-state` folder for resume training [here](https://huggingface.co/datasets/Linaqruf/hitokomoru-tag)
27
+
28
+ ## 🧨 Diffusers
29
+
30
+ This model can be used just like any other Stable Diffusion model. For more information,
31
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
32
+
33
+ You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
34
+
35
+ ```python
36
+ from diffusers import StableDiffusionPipeline
37
+ import torch
38
+
39
+ model_id = "Linaqruf/hitokomoru-diffusion"
40
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
41
+ pipe = pipe.to("cuda")
42
+
43
+ prompt = "hatsune_miku
44
+ image = pipe(prompt).images[0]
45
+
46
+ image.save("./hatsune_miku.png")
47
+ ```
48
+
49
  ## Examples
50
 
51
  Below are some examples of images generated using this model:
52
 
53
+ #### Using Hitokomoru-5000-pruned.ckpt
54
  **Anime Girl:**
55
+ ![Anime Girl](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/example_images/girl-5000.png)
56
 
57
  **Anime Boy:**
58
+ ![Anime Boy](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/example_images/boy-5000.png)
59
 
60
+ #### Using Hitokomoru-10000-pruned.ckpt
61
 
62
  **Anime Girl:**
63
+ ![Anime Girl](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/example_images/girl-10000.png)
64
 
65
  **Anime Boy:**
66
+ ![Anime Boy](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/example_images/boy-10000.png)
67
+
68
+ #### Using Hitokomoru-15000-pruned.ckpt
69
+
70
+ **Anime Girl:**
71
+ ![Anime Girl](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/example_images/girl-15000.png)
72
+
73
+ **Anime Boy:**
74
+ ![Anime Boy](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/example_images/boy-15000.png)
75
+
76
+ #### Using Hitokomoru-20000-pruned.ckpt
77
+
78
+ **Anime Girl:**
79
+ ![Anime Girl](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/example_images/girl-20000.png)
80
+
81
+ **Anime Boy:**
82
+ ![Anime Boy](https://huggingface.co/Linaqruf/hitokomoru/resolve/main/example_images/boy-20000.png)
83
+
84
 
85
  ## License
86