JosephusCheung
commited on
Commit
•
8f278ee
1
Parent(s):
1da4681
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,67 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: creativeml-openrail-m
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
license: creativeml-openrail-m
|
5 |
+
tags:
|
6 |
+
- stable-diffusion
|
7 |
+
- stable-diffusion-diffusers
|
8 |
+
- text-to-image
|
9 |
+
- diffusers
|
10 |
+
inference: true
|
11 |
---
|
12 |
+
|
13 |
+
# ACertainModel
|
14 |
+
|
15 |
+
Welcome to ACertainModel - a latent diffusion model for weebs. This model is intended to produce high-quality, highly detailed anime style with just a few prompts. Like other anime-style Stable Diffusion models, it also supports danbooru tags to generate images.
|
16 |
+
|
17 |
+
e.g. **_1girl, white hair, golden eyes, beautiful eyes, detail, flower meadow, cumulonimbus clouds, lighting, detailed sky, garden_**
|
18 |
+
|
19 |
+
## 🧨 Diffusers
|
20 |
+
|
21 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
22 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
23 |
+
|
24 |
+
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]().
|
25 |
+
|
26 |
+
```python
|
27 |
+
from diffusers import StableDiffusionPipeline
|
28 |
+
import torch
|
29 |
+
|
30 |
+
model_id = "JosephusCheung/ACertainModel"
|
31 |
+
branch_name= "diffusers"
|
32 |
+
|
33 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
|
34 |
+
pipe = pipe.to("cuda")
|
35 |
+
|
36 |
+
prompt = "pikachu"
|
37 |
+
image = pipe(prompt).images[0]
|
38 |
+
|
39 |
+
image.save("./pikachu.png")
|
40 |
+
```
|
41 |
+
|
42 |
+
## Examples
|
43 |
+
|
44 |
+
Below are some examples of images generated using this model, with better performance on framing and hand gestures, as well as moving objects, comparing to other analogues:
|
45 |
+
|
46 |
+
**Anime Girl:**
|
47 |
+
![Anime Girl](https://huggingface.co/JosephusCheung/ACertainModel/resolve/main/samples/sample-1girl.png)
|
48 |
+
```
|
49 |
+
1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
|
50 |
+
Steps: 28, Sampler: Euler a, CFG scale: 11, Seed: 114514, Clip skip: 2
|
51 |
+
```
|
52 |
+
**Anime Boy:**
|
53 |
+
![Anime Boy](https://huggingface.co/JosephusCheung/ACertainModel/resolve/main/samples/sample-1boy.png)
|
54 |
+
```
|
55 |
+
1boy, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
|
56 |
+
Steps: 28, Sampler: Euler a, CFG scale: 11, Seed: 114514, Clip skip: 2
|
57 |
+
```
|
58 |
+
|
59 |
+
## License
|
60 |
+
|
61 |
+
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
62 |
+
The CreativeML OpenRAIL License specifies:
|
63 |
+
|
64 |
+
1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
|
65 |
+
2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
|
66 |
+
3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
|
67 |
+
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|