godly-devotion commited on
Commit
4553ec1
1 Parent(s): 177e5a0

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - coreml
5
+ - stable-diffusion
6
+ - text-to-image
7
+ ---
8
+
9
+ # Core ML Converted Model
10
+ This model was converted to Core ML for use on Apple Silicon devices by following Apple's instructions [here](https://github.com/apple/ml-stable-diffusion#-converting-models-to-core-ml).<br>
11
+ Provide the model to an app such as [Mochi Diffusion](https://github.com/godly-devotion/mochi-diffusion) to generate images.<br>
12
+
13
+ `split_einsum` version is compatible with all compute unit options including Neural Engine.<br>
14
+ `original` version is only compatible with CPU & GPU option.
15
+
16
+ # Anything V3
17
+
18
+ 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.
19
+
20
+ e.g. **_1girl, white hair, golden eyes, beautiful eyes, detail, flower meadow, cumulonimbus clouds, lighting, detailed sky, garden_**
21
+
22
+ ## Gradio
23
+
24
+ We support a [Gradio](https://github.com/gradio-app/gradio) Web UI to run Anything-V3.0:
25
+
26
+ [Open in Spaces](https://huggingface.co/spaces/akhaliq/anything-v3.0)
27
+
28
+
29
+
30
+ ## 🧨 Diffusers
31
+
32
+ This model can be used just like any other Stable Diffusion model. For more information,
33
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
34
+
35
+ 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]().
36
+
37
+ ```python
38
+ from diffusers import StableDiffusionPipeline
39
+ import torch
40
+
41
+ model_id = "Linaqruf/anything-v3.0"
42
+ branch_name= "diffusers"
43
+
44
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
45
+ pipe = pipe.to("cuda")
46
+
47
+ prompt = "pikachu"
48
+ image = pipe(prompt).images[0]
49
+
50
+ image.save("./pikachu.png")
51
+ ```
52
+
53
+ ## Examples
54
+
55
+ Below are some examples of images generated using this model:
56
+
57
+ **Anime Girl:**
58
+ ![Anime Girl](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/1girl.png)
59
+ ```
60
+ 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
61
+ Steps: 50, Sampler: DDIM, CFG scale: 12
62
+ ```
63
+ **Anime Boy:**
64
+ ![Anime Boy](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/1boy.png)
65
+ ```
66
+ 1boy, medium hair, blonde hair, blue eyes, bishounen, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
67
+ Steps: 50, Sampler: DDIM, CFG scale: 12
68
+ ```
69
+ **Scenery:**
70
+ ![Scenery](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/scenery.png)
71
+ ```
72
+ scenery, shibuya tokyo, post-apocalypse, ruins, rust, sky, skyscraper, abandoned, blue sky, broken window, building, cloud, crane machine, outdoors, overgrown, pillar, sunset
73
+ Steps: 50, Sampler: DDIM, CFG scale: 12
74
+ ```
75
+
76
+ ## License
77
+
78
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
79
+ The CreativeML OpenRAIL License specifies:
80
+
81
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
82
+ 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
83
+ 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)
84
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)