File size: 5,955 Bytes
c32905d
 
 
 
 
553748b
1fab41d
 
 
 
 
0c5dc5b
c32905d
4609bac
 
 
 
 
 
 
 
ed990a6
 
 
cf60c18
ed990a6
9b3e987
 
 
ed990a6
 
 
 
cf60c18
c32905d
 
 
 
a03cb24
c32905d
 
 
 
 
5f5beef
c32905d
 
 
 
c3f72bf
c32905d
 
f894f60
 
 
 
c32905d
8f63790
 
 
d22ecf2
 
 
c32905d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80835ad
 
 
c32905d
 
 
 
 
 
 
 
 
ea4b3af
 
 
553748b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
library_name: diffusers
pipeline_tag: text-to-image
datasets:
- hearmeneigh/e621-rising-v2-curated
- hearmeneigh/e621-rising-v1-curated
tags:
- anthro
- furry
- e621
- nsfw
- not-for-all-audiences
---

<div style='background: #ffeec0; border: 1px solid #ffd86d; padding:1em; border-radius:3px;'>
<h3 style='margin:0'>Outdated!</h3>
<p style='margin:0'>This model has been superseded by:</p>
<p style='margin:0'><a style="font-size: 2em;" href='https://huggingface.co/hearmeneigh/e621-rising-v3'>E621 Rising V3 (SDXL)</a></p>
</div>


<div style='background: #ffdddd; padding:0.5em;'>
Warning: This model is NOT suitable for use by minors. The model can/will generate X-rated/NFSW content.
</div>

<div style='background: #e5e5e5; margin-top: 1.5em; margin-bottom: 1.5em; padding:1em; font-weight: bold'>
  <a href='https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp16.ckpt'>Ckpt</a> | 
  <a href='https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp16.safetensors'>Safetensors</a> | 
  <a href='https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp16.yaml'>Yaml</a> |
  <a href='https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/meta/tag-counts-by-name.json'>Tags</a> |
  <a href='https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/PROMPT-GUIDE.md#prompt-examples'>Example Prompts</a> |
  <a href='https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/guides/WEBUI.md'>WebUI How-To</a>
</div>

# E621 Rising V2: A Stable Diffusion 2.1 Model [epoch 29]

* Guaranteed **NSFW** or your money back
* Fine-tuned from [Stable Diffusion v2-1-base](https://huggingface.co/stabilityai/stable-diffusion-2-1-base)
* Training continued from [E621 Rising V1](https://huggingface.co/hearmeneigh/sd21-e621-rising-v1)
* 10 additional epochs of 250,000 images each, collected from [E621](https://e621.net/)
* Trained with [6,246 tags](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/meta/tag-counts-by-name.json)
* `512x512px`
* Compatible with 🤗 `diffusers`
* Compatible with `stable-diffusion-webui`
* Compatible with anything that accepts [`.ckpt`](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp16.ckpt) and [`.yaml`](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp16.yaml) files

## Getting Started
* [Stable Diffusion WebUI How-To](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/guides/WEBUI.md)
* [Python How-To](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/guides/PYTHON.md)
* [Prompt Guide](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/PROMPT-GUIDE.md)

## Examples

![Richie3](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/examples/richie3.png)

[More examples and prompts here](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/PROMPT-GUIDE.md#prompt-examples)

## Versions
| Precision | CKPT | Safetensors | YAML | Notes |
| :-------- | :--- | :---------- | :--- | :---- |
| `FP16` | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp16.ckpt) | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp16.safetensors) | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp16.yaml) | Use this by default |
| `FP32` | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp32.ckpt) | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp32.safetensors) | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.fp32.yaml) | |
| `BF16` | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.bf16.ckpt) | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.bf16.safetensors) | [Download](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/resolve/main/sd21-e621-rising-v2-epoch-29.bf16.yaml) | |

## Changes From E621
See a [complete list of tags here](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/meta/tag-counts-by-name.json).

* Symbols have been prefixed with `symbol:`, e.g. `symbol:<3`
* All categories except `general` have been prefixed with the category name, e.g. `copyright:somename`. The categories are:
  * `artist`
  * `copyright`
  * `character`
  * `species`
  * `invalid`
  * `meta`
  * `lore`
* Tag names are all lowercase and only contain `a-z`, `0-9`, `/`, and `_` letters
* `:` is used to separate the category name from the tag

### Additional Tags
* Image rating
    * `rating:explicit`
    * `rating:questionable`
    * `rating:safe`

## Training Procedure

[Training legend](https://huggingface.co/hearmeneigh/sd21-e621-rising-v2/blob/main/examples/training-legend.jpg)

* 204-272 images per batch (epoch variant)
* `512x512px` image size
* Adam optimizer
  * Beta1 = `0.9`
  * Beta2 = `0.999`
  * Weight decay = `1e-2`
  * Epsilon = `1e-08`
* Constant learning rate `4e-6`
* `bf16` mixed precision
* 8 epochs of [V1 dataset](https://huggingface.co/datasets/hearmeneigh/e621-rising-v1-curated) samples stretched to `512x512px` (ignore aspect ratio)
* 9 epochs of V1 dataset samples resized to `512xH` or `Wx512px` with center crop (maintain aspect ratio)
* 2 epochs of V1 dataset samples resized to `< 512x512px` (maintain aspect ratio)
* 10 epochs of [V2 dataset](https://huggingface.co/datasets/hearmeneigh/e621-rising-v2-curated) samples resized to `< 512x512px` (maintain aspect ratio)
* Tags for each sample are shuffled for each epoch, starting from epoch 16