File size: 1,493 Bytes
44b8360
 
86a9e88
 
44b8360
7c16a35
a8ce8ea
41512b6
 
a8ce8ea
 
7c16a35
44b8360
 
 
 
 
 
 
 
 
 
 
3a63f63
44b8360
3a63f63
 
86a9e88
7c16a35
 
 
 
 
 
 
 
 
 
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
---
license: openrail
tags:
- sdxl
---
# Current sample model

https://civitai.com/models/508420

The above is SDXL, and not very good. A better one is under way.

# Overview
This is my attempt at creating a truely open source SDXL model that people might be interested in using....
and perhaps copying the spirit and creating other open source models.
I'm including EVERYTHING I used to create my onegirl200 model:
* The images
* The captions
* The OneTrainer json preset file
* And my specific method i used to get here.

I've been playing around with the thousands of images I've filtered so far from danbooro, at
https://huggingface.co/datasets/ppbrown/danbooru-cleaned
So, the images here are a strict subset of those images. 
I also used their tagging ALMOST as-is. I only added one tag:  "anime"

See [METHODOLOGY-adamw.md] for a detailed description of what I personally did to coax a model out
of this dataset.

I also plan to try other training methods.

# Memory usage tips
I am using an RTX4090 card, which has 24 GB of VRAM. So I optimize for best quality, and then fastest speed,
that I can fit on my card.
Currently, that means bf16 SDXL or Cascade model finetunes, using "Default" attention, and no gradient saves.

You can save memory, at the sacrifice of speed, by enabling gradient saving. You can save more memory, 
at the sacrifice of a little quality, by switching to Xformers attention.
Using those adjustments, you can run adafactor/adafactor finetunes on a 16GB card.