Update model card
Browse files
README.md
CHANGED
@@ -1,3 +1,62 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
2 |
license: creativeml-openrail-m
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
tags:
|
5 |
+
- stable-diffusion
|
6 |
+
- text-to-image
|
7 |
license: creativeml-openrail-m
|
8 |
+
inference: true
|
9 |
+
|
10 |
---
|
11 |
+
|
12 |
+
# artstation-diffusion v1.0 - Diffusion for normal people.
|
13 |
+
|
14 |
+
artstation-diffusion is a latent text-to-image diffusion model that has been conditioned on high-quality Artstation images through fine-tuning.
|
15 |
+
|
16 |
+
**Aspect Ratio Bucketing has been used during finetuning. This model can generate different aspect ratios VERY WELL.**
|
17 |
+
|
18 |
+
<img src=https://i.imgur.com/otjGl6o.png width=75% height=75%>
|
19 |
+
|
20 |
+
<sub>knight, full body study, concept art, atmospheric</sub>
|
21 |
+
|
22 |
+
## License
|
23 |
+
|
24 |
+
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
25 |
+
The CreativeML OpenRAIL License specifies:
|
26 |
+
|
27 |
+
1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
|
28 |
+
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
|
29 |
+
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)
|
30 |
+
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
31 |
+
|
32 |
+
## Downstream Uses
|
33 |
+
|
34 |
+
This model can be used for entertainment purposes and as a generative art assistant.
|
35 |
+
|
36 |
+
## Example Code
|
37 |
+
|
38 |
+
```python
|
39 |
+
import torch
|
40 |
+
from torch import autocast
|
41 |
+
from diffusers import StableDiffusionPipeline
|
42 |
+
|
43 |
+
pipe = StableDiffusionPipeline.from_pretrained(
|
44 |
+
'hakurei/artstation-diffusion',
|
45 |
+
torch_dtype=torch.float32
|
46 |
+
).to('cuda')
|
47 |
+
|
48 |
+
prompt = "knight, full body study, concept art, atmospheric"
|
49 |
+
with autocast("cuda"):
|
50 |
+
image = pipe(prompt, guidance_scale=6).images[0]
|
51 |
+
|
52 |
+
image.save("test.png")
|
53 |
+
```
|
54 |
+
|
55 |
+
## Team Members and Acknowledgements
|
56 |
+
|
57 |
+
- [Anthony Mercurio](https://github.com/harubaru)
|
58 |
+
- [CoreWeave Cloud](https://coreweave.com/)
|
59 |
+
|
60 |
+
In order to reach me, you can join my [Discord server](https://discord.gg/touhouai).
|
61 |
+
|
62 |
+
[![Discord Server](https://discordapp.com/api/guilds/930499730843250783/widget.png?style=banner2)](https://discord.gg/touhouai)
|