Update README.md
Browse files
README.md
CHANGED
|
@@ -1,156 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# jackieV1 β SDXL Textual Inversion Embedding
|
| 2 |
|
| 3 |
**Type:** Textual Inversion (TI)
|
| 4 |
-
**Base Model:** SDXL 1.0 (
|
| 5 |
**Token:** `jck1`
|
| 6 |
**Author:** BonusLockSMith
|
| 7 |
|
| 8 |
---
|
| 9 |
|
| 10 |
-
## Overview
|
| 11 |
|
| 12 |
-
`jackieV1` is a **Textual Inversion embedding** trained on SDXL 1.0 using the
|
| 13 |
`juggernautXL_ragnarokBy.safetensors` checkpoint.
|
| 14 |
|
| 15 |
-
The goal of this embedding is to **lock in a consistent Jackie identity** across
|
| 16 |
-
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
-
- Full-body character renders with different outfits
|
| 23 |
-
- Style / setting changes (studio, outdoor, cinematic, etc.) that keep the same person
|
| 24 |
|
| 25 |
---
|
| 26 |
|
| 27 |
-
## Training Details
|
| 28 |
|
| 29 |
**Pipeline:** `sdxl_train_textual_inversion.py` (kohya_ss / sd-scripts)
|
| 30 |
**Method:** DreamBooth-style TI on SDXL
|
| 31 |
-
**Token string:** `jck1`
|
| 32 |
-
**Init word:** `woman`
|
| 33 |
-
**Vectors per token:** `8`
|
| 34 |
-
|
| 35 |
-
**Dataset:**
|
| 36 |
-
|
| 37 |
-
- ~27 curated images
|
| 38 |
-
- Captioned with `.txt` files (per-image captions)
|
| 39 |
-
- Directory layout (kohya):
|
| 40 |
-
|
| 41 |
-
```text
|
| 42 |
-
D:/AI-Hub/kohya_ss/datasets/jackie-ti/img/20_woman jck1/
|
| 43 |
-
jackie_0010_00001_.png
|
| 44 |
-
jackie_0010_00001_.txt
|
| 45 |
-
...
|
| 46 |
-
Repeats: 20
|
| 47 |
-
|
| 48 |
-
Effective train images with repeats: 540
|
| 49 |
-
|
| 50 |
-
Hyperparameters (key ones):
|
| 51 |
-
|
| 52 |
-
Resolution: 512x512, buckets enabled, bucket_no_upscale = true
|
| 53 |
-
|
| 54 |
-
Epochs: 3
|
| 55 |
-
|
| 56 |
-
Max train steps: 800
|
| 57 |
-
|
| 58 |
-
Batch size: 2
|
| 59 |
-
|
| 60 |
-
Optimizer: AdamW8bit
|
| 61 |
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
-
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
-
|
|
|
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
-
|
|
|
|
|
|
|
| 75 |
|
| 76 |
-
jackieV1
|
| 77 |
|
| 78 |
-
jackieV1
|
| 79 |
|
| 80 |
-
jackieV1.safetensors
|
| 81 |
|
| 82 |
-
|
| 83 |
-
Automatic1111
|
| 84 |
-
Download jackieV1.safetensors.
|
| 85 |
|
| 86 |
-
|
|
|
|
| 87 |
|
| 88 |
text
|
| 89 |
Copy code
|
| 90 |
-
|
| 91 |
-
|
| 92 |
|
| 93 |
-
|
| 94 |
|
| 95 |
-
|
| 96 |
|
| 97 |
-
|
| 98 |
-
Copy code
|
| 99 |
-
jck1, woman, portrait, upper body, neutral expression,
|
| 100 |
-
soft studio lighting, detailed skin, sharp focus, 8k
|
| 101 |
-
Example negative prompt:
|
| 102 |
|
| 103 |
-
|
| 104 |
-
Copy code
|
| 105 |
-
low quality, bad anatomy, extra limbs, distorted face, blurry, grainy
|
| 106 |
-
Example prompt (full body, scene):
|
| 107 |
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
jck1, woman, full body, casual clothing, standing on a city sidewalk at sunset,
|
| 111 |
-
cinematic lighting, shallow depth of field, realistic, detailed skin, 8k
|
| 112 |
-
ComfyUI
|
| 113 |
-
Copy jackieV1.safetensors to:
|
| 114 |
|
| 115 |
-
|
| 116 |
-
Copy code
|
| 117 |
-
ComfyUI/models/embeddings/jackieV1.safetensors
|
| 118 |
-
Restart ComfyUI so it rescans models.
|
| 119 |
-
|
| 120 |
-
In your CLIP text node, include jck1 in the positive prompt.
|
| 121 |
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
text
|
| 125 |
-
Copy code
|
| 126 |
-
jck1, woman, portrait, upper body, soft studio lighting,
|
| 127 |
-
cinematic, ultra detailed, SDXL, juggernaut style
|
| 128 |
-
Pair with your usual negative prompt / sampler / CFG settings.
|
| 129 |
|
| 130 |
-
|
| 131 |
-
These are starting points only; tweak to your taste.
|
| 132 |
|
| 133 |
-
|
| 134 |
|
| 135 |
-
|
|
|
|
| 136 |
|
| 137 |
-
|
| 138 |
|
| 139 |
-
|
| 140 |
|
| 141 |
-
|
| 142 |
|
| 143 |
-
|
| 144 |
-
avoid stacking too many style tokens that overpower it.
|
| 145 |
|
| 146 |
-
|
| 147 |
-
This embedding was trained on a private Jackie dataset.
|
| 148 |
|
| 149 |
-
|
| 150 |
-
|
| 151 |
|
| 152 |
-
|
| 153 |
-
malicious activity.
|
| 154 |
|
| 155 |
-
|
| 156 |
-
tag @BonusLockSmith.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
model_name: jackieV1
|
| 3 |
+
model_type: textual_inversion
|
| 4 |
+
pipeline_tag: text-to-image
|
| 5 |
+
base_model: "unknown"
|
| 6 |
+
library_name: kohya-ss
|
| 7 |
+
license: other # update later to match the base model license
|
| 8 |
+
tags:
|
| 9 |
+
- textual-inversion
|
| 10 |
+
- sdxl
|
| 11 |
+
- embedding
|
| 12 |
+
- identity
|
| 13 |
+
- kohya-ss
|
| 14 |
+
language:
|
| 15 |
+
- en
|
| 16 |
+
inference: false
|
| 17 |
+
pretty_name: "jackieV1 β SDXL Textual Inversion Embedding"
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
# jackieV1 β SDXL Textual Inversion Embedding
|
| 21 |
|
| 22 |
**Type:** Textual Inversion (TI)
|
| 23 |
+
**Base Model:** SDXL 1.0 (`juggernautXL_ragnarokBy.safetensors`)
|
| 24 |
**Token:** `jck1`
|
| 25 |
**Author:** BonusLockSMith
|
| 26 |
|
| 27 |
---
|
| 28 |
|
| 29 |
+
## π§ Overview
|
| 30 |
|
| 31 |
+
`jackieV1` is a **Textual Inversion identity embedding** trained on SDXL 1.0 using the
|
| 32 |
`juggernautXL_ragnarokBy.safetensors` checkpoint.
|
| 33 |
|
| 34 |
+
The goal of this embedding is to **lock in a consistent Jackie identity** across different outfits, scenes, and lighting setups while letting background, pose, and styling change freely.
|
| 35 |
+
|
| 36 |
+
### Intended Use
|
| 37 |
|
| 38 |
+
- Portrait shots with a consistent face
|
| 39 |
+
- Full-body character renders with different outfits and environments
|
| 40 |
+
- Style / setting changes (studio, outdoor, cinematic, etc.) that keep the same person
|
| 41 |
|
| 42 |
+
This is an **identity / character lock** tool, not a general style LoRA.
|
|
|
|
|
|
|
| 43 |
|
| 44 |
---
|
| 45 |
|
| 46 |
+
## π§ Training Details
|
| 47 |
|
| 48 |
**Pipeline:** `sdxl_train_textual_inversion.py` (kohya_ss / sd-scripts)
|
| 49 |
**Method:** DreamBooth-style TI on SDXL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
+
- **Token string:** `jck1`
|
| 52 |
+
- **Init word:** `woman`
|
| 53 |
+
- **Vectors per token:** `8`
|
| 54 |
+
- **Resolution:** `512 Γ 512`
|
| 55 |
+
- **Steps:** `800` (3 epochs, 540 effective images with repeats)
|
| 56 |
+
- **Batch size:** `2`
|
| 57 |
+
- **Optimizer:** 8-bit AdamW (`AdamW8bit`)
|
| 58 |
+
- **LR scheduler:** cosine
|
| 59 |
+
- **Learning rate:** `5e-4`
|
| 60 |
+
- **Mixed precision:** `fp16`
|
| 61 |
+
- **Latent caching:** enabled
|
| 62 |
+
- **Buckets:** enabled, `min_bucket_reso = 256`, `max_bucket_reso = 1024`
|
| 63 |
+
- **VAE:** SDXL VAE loaded from the JuggernautXL checkpoint
|
| 64 |
+
- **Regularization:** none (no reg images used for this v1)
|
| 65 |
+
|
| 66 |
+
**Kohya output files:**
|
| 67 |
+
|
| 68 |
+
- `jackieV1-000001.safetensors` β checkpoint after epoch 1
|
| 69 |
+
- `jackieV1-000002.safetensors` β checkpoint after epoch 2
|
| 70 |
+
- `jackieV1.safetensors` β final embedding (epoch 3, 800 steps)
|
| 71 |
|
| 72 |
+
---
|
| 73 |
|
| 74 |
+
## π Dataset
|
| 75 |
|
| 76 |
+
**Count:** ~27 curated images
|
| 77 |
+
**Captions:** Per-image `.txt` files (manual captions)
|
| 78 |
|
| 79 |
+
**Directory layout (kohya):**
|
| 80 |
|
| 81 |
+
```text
|
| 82 |
+
D:/AI-Hub/kohya_ss/datasets/jackie-ti/
|
| 83 |
+
βββ img/
|
| 84 |
+
β βββ 20_woman jck1/
|
| 85 |
+
β βββ jackie_0010_00001_.png
|
| 86 |
+
β βββ jackie_0010_00001_.txt
|
| 87 |
+
β βββ ...
|
| 88 |
+
βββ log/
|
| 89 |
+
βββ model/
|
| 90 |
+
βββ jackieV1.safetensors
|
| 91 |
+
βββ jackieV1-000001.safetensors
|
| 92 |
+
βββ jackieV1-000002.safetensors
|
| 93 |
+
βββ config_textual_inversion-*.toml
|
| 94 |
+
Each caption contains both the class word and token (e.g., woman jck1 plus scene details).
|
| 95 |
|
| 96 |
+
π Usage
|
| 97 |
+
1. Load as Textual Inversion (TI)
|
| 98 |
+
In your SDXL pipeline (A1111, ComfyUI, or another frontend):
|
| 99 |
|
| 100 |
+
Place jackieV1.safetensors in your embeddings / TI folder:
|
| 101 |
|
| 102 |
+
Example (A1111): β¦/embeddings/jackieV1.safetensors
|
| 103 |
|
| 104 |
+
Example (ComfyUI): ComfyUI/models/embeddings/jackieV1.safetensors
|
| 105 |
|
| 106 |
+
Restart / refresh your UI so the new embedding is detected.
|
|
|
|
|
|
|
| 107 |
|
| 108 |
+
2. Prompting
|
| 109 |
+
Use the token jck1 together with a suitable class word:
|
| 110 |
|
| 111 |
text
|
| 112 |
Copy code
|
| 113 |
+
masterpiece, best quality, portrait of woman jck1, soft studio lighting, 85mm lens, sdxl style
|
| 114 |
+
Examples:
|
| 115 |
|
| 116 |
+
cinematic close-up of woman jck1, dramatic rim light, bokeh background
|
| 117 |
|
| 118 |
+
full-body shot of woman jck1 in leather jacket, nighttime city street, neon lights
|
| 119 |
|
| 120 |
+
woman jck1, casual outfit, sitting on couch, natural daylight, living room
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
+
To change style, stack it with style prompts or LoRAs without removing the jck1 token.
|
|
|
|
|
|
|
|
|
|
| 123 |
|
| 124 |
+
β οΈ Limitations & Notes
|
| 125 |
+
Non-photorealistic extremes (very stylized anime, heavy abstraction) may weaken identity lock.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
|
| 127 |
+
Very wide shots where the face is tiny in frame can lose detail.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
| 129 |
+
Trained specifically on one subject; not intended for general βwomanβ or crowd scenes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
|
| 131 |
+
License and allowed use must match the underlying SDXL / JuggernautXL checkpoint.
|
|
|
|
| 132 |
|
| 133 |
+
Treat this embedding as subject-specific research / creative tool, not a generic commercial model, unless youβve verified the base modelβs terms.
|
| 134 |
|
| 135 |
+
π Versioning
|
| 136 |
+
v1.0 (jackieV1) β initial SDXL textual inversion
|
| 137 |
|
| 138 |
+
27 images, 20 repeats, 800 steps
|
| 139 |
|
| 140 |
+
Target: strong identity lock with flexible styling
|
| 141 |
|
| 142 |
+
Planned future versions:
|
| 143 |
|
| 144 |
+
Possible v1.x updates with more varied poses / lighting
|
|
|
|
| 145 |
|
| 146 |
+
Separate LoRA for pose & outfit control if needed
|
|
|
|
| 147 |
|
| 148 |
+
π£ Contact & Attribution
|
| 149 |
+
Created by BonusLockSMith as part of the GritAI / WTFE local-generation stack.
|
| 150 |
|
| 151 |
+
If you use this embedding in a public project, a simple credit is appreciated:
|
|
|
|
| 152 |
|
| 153 |
+
βJackie SDXL TI by BonusLockSMith (HuggingFace: BonusLockSMith/jackie-ti)β
|
|
|