Yntec commited on
Commit
6120532
·
verified ·
1 Parent(s): 32a84dd

Upload nitrosocke/archer-diffusion/README.md with huggingface_hub

Browse files
nitrosocke/archer-diffusion/README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - stable-diffusion
5
+ - stable-diffusion-diffusers
6
+ - text-to-image
7
+ ---
8
+ ### Archer Diffusion
9
+
10
+ This is the fine-tuned Stable Diffusion model trained on screenshots from the TV-show Archer.
11
+ Use the tokens **_archer style_** in your prompts for the effect.
12
+
13
+ **If you enjoy my work, please consider supporting me**
14
+ [![Become A Patreon](https://badgen.net/badge/become/a%20patron/F96854)](https://patreon.com/user?u=79196446)
15
+
16
+ ### 🧨 Diffusers
17
+
18
+ This model can be used just like any other Stable Diffusion model. For more information,
19
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
20
+
21
+ 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]().
22
+
23
+ ```python
24
+ #!pip install diffusers transformers scipy torch
25
+ from diffusers import StableDiffusionPipeline
26
+ import torch
27
+
28
+ model_id = "nitrosocke/archer-diffusion"
29
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
30
+ pipe = pipe.to("cuda")
31
+
32
+ prompt = "a magical princess with golden hair, archer style"
33
+ image = pipe(prompt).images[0]
34
+
35
+ image.save("./magical_princess.png")
36
+ ```
37
+
38
+ **Portraits rendered with the model:**
39
+ ![Portrait Samples](https://huggingface.co/nitrosocke/archer-diffusion/resolve/main/archer-diffusion-samples.png)
40
+ **Celebrities rendered with the model:**
41
+ ![Celebrities Samples](https://huggingface.co/nitrosocke/archer-diffusion/resolve/main/archer-diffusion-samples4s.png)
42
+ **Landscapes rendered with the model:**
43
+ ![Landscape Samples](https://huggingface.co/nitrosocke/archer-diffusion/resolve/main/archer-diffusion-samples3.png)
44
+ **Animals rendered with the model:**
45
+ ![Animal Samples](https://huggingface.co/nitrosocke/archer-diffusion/resolve/main/archer-diffusion-samples2.png)
46
+ **Sample images used for training:**
47
+ ![Training Samples](https://huggingface.co/nitrosocke/archer-diffusion/resolve/main/archer-diffusion-dataset.png)
48
+
49
+ #### Prompt and settings for portraits:
50
+ **archer style beautiful portrait of ariana grande**
51
+ _Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 946707299, Size: 512x704_
52
+ #### Prompt and settings for landscapes:
53
+ **archer style suburban street night blue indoor lighting Negative prompt: grey cars**
54
+ _Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 2915669764, Size: 1024x576_
55
+
56
+ This model was trained using the diffusers based dreambooth training and prior-preservation loss in 4.000 steps and using the _train-text-encoder_ feature.
57
+
58
+ ## License
59
+
60
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
61
+ The CreativeML OpenRAIL License specifies:
62
+
63
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
64
+ 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
65
+ 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)
66
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)