dfgaga commited on
Commit
ff7351e
·
1 Parent(s): 7309e73

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +104 -0
README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # Announcement
13
+ I write a colab notebook to mirror this model to your huggingface account, you can backup, use, and share it with your friends, this will work for a meantime as long as i'm not resetting my token. you can check it here, all model is in safetensors.
14
+
15
+ https://colab.research.google.com/github/Linaqruf/sd-notebook-collection/blob/main/Anything-V3-Mirroring.ipynb
16
+
17
+ # Announcement
18
+
19
+ For (unofficial) continuation of this model, please visit [andite/anything-v4.0](https://huggingface.co/andite/anything-v4.0). I am aware that the repo exists because I am literally the one who (accidentally) gave the idea to publish his fine-tuned model ([andite/yohan-diffusion](https://huggingface.co/andite/yohan-diffusion)) as a base and merged it with many mysterious model, "hey, let's call it 'Anything V4.0'", because the quality is quite similar to Anything V3 but upgraded.
20
+
21
+ I also wanted to tell you something. I had a plan to remove/make private one of each repo named "Anything V3":
22
+ - [Linaqruf/anything-v3.0](https://huggingface.co/Linaqruf/anything-v3.0/)
23
+ - [Linaqruf/anything-v3-better-vae](https://huggingface.co/Linaqruf/anything-v3-better-vae)
24
+
25
+ Because there are two versions now and I'm late to realize this mysterious non-sense model is already polluted Huggingface Trending for so long, and now when the new repo comes out it is also there. I feel guilty everytime this model is in trending leaderboard.
26
+
27
+ I prefer to delete/make private this one and let us slowly move to [Linaqruf/anything-v3-better-vae](https://huggingface.co/Linaqruf/anything-v3-better-vae) with better repo management and a better VAE included in the model.
28
+
29
+ Please share your thoughts in this #133 discussion about whether I should delete this repo or another one, or maybe both of them.
30
+
31
+ Thanks,
32
+ Linaqruf.
33
+
34
+ ---
35
+
36
+ # Anything V3
37
+
38
+ Welcome to Anything V3 - 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.
39
+
40
+ e.g. **_1girl, white hair, golden eyes, beautiful eyes, detail, flower meadow, cumulonimbus clouds, lighting, detailed sky, garden_**
41
+
42
+ ## Gradio
43
+
44
+ We support a [Gradio](https://github.com/gradio-app/gradio) Web UI to run Anything-V3.0:
45
+
46
+ [Open in Spaces](https://huggingface.co/spaces/akhaliq/anything-v3.0)
47
+
48
+
49
+
50
+ ## 🧨 Diffusers
51
+
52
+ This model can be used just like any other Stable Diffusion model. For more information,
53
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
54
+
55
+ 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]().
56
+
57
+ ```python
58
+ from diffusers import StableDiffusionPipeline
59
+ import torch
60
+
61
+ model_id = "Linaqruf/anything-v3.0"
62
+ branch_name= "diffusers"
63
+
64
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
65
+ pipe = pipe.to("cuda")
66
+
67
+ prompt = "pikachu"
68
+ image = pipe(prompt).images[0]
69
+
70
+ image.save("./pikachu.png")
71
+ ```
72
+
73
+ ## Examples
74
+
75
+ Below are some examples of images generated using this model:
76
+
77
+ **Anime Girl:**
78
+ ![Anime Girl](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/1girl.png)
79
+ ```
80
+ 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
81
+ Steps: 50, Sampler: DDIM, CFG scale: 12
82
+ ```
83
+ **Anime Boy:**
84
+ ![Anime Boy](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/1boy.png)
85
+ ```
86
+ 1boy, medium hair, blonde hair, blue eyes, bishounen, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
87
+ Steps: 50, Sampler: DDIM, CFG scale: 12
88
+ ```
89
+ **Scenery:**
90
+ ![Scenery](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/scenery.png)
91
+ ```
92
+ scenery, shibuya tokyo, post-apocalypse, ruins, rust, sky, skyscraper, abandoned, blue sky, broken window, building, cloud, crane machine, outdoors, overgrown, pillar, sunset
93
+ Steps: 50, Sampler: DDIM, CFG scale: 12
94
+ ```
95
+
96
+ ## License
97
+
98
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
99
+ The CreativeML OpenRAIL License specifies:
100
+
101
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
102
+ 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
103
+ 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)
104
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)