haor commited on
Commit
10dbb0f
·
1 Parent(s): fd04f6d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +106 -3
README.md CHANGED
@@ -14,6 +14,109 @@ widget:
14
  - text: "masterpiece, best quality, 1boy, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden"
15
  example_title: "example 1boy"
16
  ---
17
- base model:JosephusCheung/ACertainty
18
- Trained for 10 epochs using around 500k anime-style images.
19
- 300 V100 GPU hours
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  - text: "masterpiece, best quality, 1boy, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden"
15
  example_title: "example 1boy"
16
  ---
17
+ # Evt_V4-preview
18
+
19
+ base model:[ACertainty](https://huggingface.co/JosephusCheung/ACertainty)
20
+ Trained for 10 epochs using around 550k anime-style images(pixiv and yandere).
21
+ Resolution: 512
22
+ UCG:0.1
23
+ Use arb:True
24
+ Trainer:[Mikubill/naifu-diffusion](https://github.com/Mikubill/naifu-diffusion)
25
+ ```
26
+ arb:
27
+ enabled: true
28
+ debug: false
29
+ base_res: [512, 512]
30
+ max_size: [768, 512]
31
+ divisible: 64
32
+ max_ar_error: 4
33
+ min_dim: 256
34
+ dim_limit: 1024
35
+ ```
36
+ ```
37
+ scheduler:
38
+ name: diffusers.DDIMScheduler
39
+ params:
40
+ beta_end: 0.012
41
+ beta_schedule: "scaled_linear"
42
+ beta_start: 0.00085
43
+ clip_sample: false
44
+ num_train_timesteps: 1000
45
+ set_alpha_to_one: false
46
+ steps_offset: 1
47
+ trained_betas: null
48
+
49
+ optimizer:
50
+ name: bitsandbytes.optim.AdamW8bit
51
+ params:
52
+ lr: 2e-6
53
+ weight_decay: 5e-2
54
+ eps: 1e-7
55
+
56
+ lr_scheduler:
57
+ name: torch.optim.lr_scheduler.CosineAnnealingWarmRestarts
58
+ warmup:
59
+ enabled: true
60
+ init_lr: 2e-8
61
+ num_warmup: 50
62
+ strategy: "cos"
63
+ params:
64
+ T_0: 5
65
+ T_mult: 1
66
+ eta_min: 6e-7
67
+ last_epoch: -1
68
+ ```
69
+
70
+ Spent about 300 V100 GPU hours.
71
+
72
+ ## 🧨 Diffusers
73
+
74
+ This model can be used just like any other Stable Diffusion model. For more information,
75
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
76
+
77
+ 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.
78
+
79
+ ```python
80
+ from diffusers import StableDiffusionPipeline
81
+ import torch
82
+
83
+ model_id = "haor/Evt_V4-preview"
84
+ branch_name= "main"
85
+
86
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
87
+ pipe = pipe.to("cuda")
88
+
89
+ prompt = "1girl"
90
+ image = pipe(prompt).images[0]
91
+
92
+ image.save("./1girl.png")
93
+ ```
94
+
95
+ ## Examples
96
+
97
+ **Prompt1:**
98
+ ![Prompt1](https://huggingface.co/haor/Evt_V4-preview/resolve/main/samples/image_2023-01-09_17-05-09.png)
99
+ ![Prompt1](https://huggingface.co/haor/Evt_V4-preview/resolve/main/samples/image_2023-01-09_17-08-53.png)
100
+ ```
101
+ 1girl in black serafuku standing in a field solo, food, fruit, lemon, bubble, planet, moon, orange \(fruit\), lemon slice, leaf, fish, orange slice, by (tabi:1.25), spot color, looking at viewer, closeup cowboy shot
102
+ Negative prompt: (bad:0.81), (comic:0.81), (cropped:0.81), (error:0.81), (extra:0.81), (low:0.81), (lowres:0.81), (speech:0.81), (worst:0.81), (blush:0.9), 2koma, 3koma, 4koma, collage, lipstick
103
+ Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 2285895007, Size: 512x1152, Denoising strength: 0.7, Clip skip: 2
104
+ ```
105
+ **Prompt2:**
106
+ ![Prompt2](https://huggingface.co/haor/Evt_V4-preview/resolve/main/samples/image_2023-01-09_17-11-36.png)
107
+ ![Prompt2](https://huggingface.co/haor/Evt_V4-preview/resolve/main/samples/image_2023-01-09_17-15-39.png)
108
+ ```
109
+ {Masterpiece, Kaname_Madoka, tall and long double tails, well rooted hair, (pink hair), pink eyes, crossed bangs, ojousama, jk, thigh bandages, wrist cuffs, (pink bow: 1.2)}, plain color, sketch, masterpiece, high detail, masterpiece portrait, best quality, ray tracing, {:<, look at the edge}
110
+ Negative prompt: ((((ugly)))), (((duplicate))), ((morbid)), ((mutilated)),extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((bad proportions))), ((extra limbs)), (((deformed))), (((disfigured))), cloned face, gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), too many fingers, (((long neck))), (((low quality))), normal quality, blurry, bad feet, text font ui, ((((worst quality)))), anatomical nonsense, (((bad shadow))), unnatural body, liquid body, 3D, 3D game, 3D game scene, 3D character, bad hairs, poorly drawn hairs, fused hairs, big muscles, bad face, extra eyes, furry, pony, mosaic, disappearing calf, disappearing legs, extra digit, fewer digit, fused digit, missing digit, fused feet, poorly drawn eyes, big face, long face, bad eyes, thick lips, obesity, strong girl, beard,Excess legs
111
+ Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 2468255263, Size: 512x1152, Denoising strength: 0.7, Clip skip: 2
112
+ ```
113
+
114
+ ## License
115
+
116
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
117
+ The CreativeML OpenRAIL License specifies:
118
+
119
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
120
+ 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
121
+ 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)
122
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)