BonusLockSMith commited on
Commit
e2b7aea
Β·
verified Β·
1 Parent(s): d115497

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +101 -104
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 (JuggernautXL_ragnarokBy)
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
- different outfits, scenes, and lighting setups while letting background, pose,
17
- and styling change freely.
18
 
19
- Use case examples:
 
 
20
 
21
- - Portrait shots with a consistent face
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
- Learning rate: 5e-4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
- LR scheduler: cosine
65
 
66
- Loss type: l2
67
 
68
- Mixed precision: fp16
 
69
 
70
- Xformers: enabled
71
 
72
- No regularization images used
 
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
- Checkpoints:
 
 
75
 
76
- jackieV1-000001.safetensors (epoch 1)
77
 
78
- jackieV1-000002.safetensors (epoch 2)
79
 
80
- jackieV1.safetensors (final embedding)
81
 
82
- How to Use
83
- Automatic1111
84
- Download jackieV1.safetensors.
85
 
86
- Place it into:
 
87
 
88
  text
89
  Copy code
90
- stable-diffusion-webui/embeddings/
91
- Restart the UI.
92
 
93
- Use the trigger token jck1 in your prompt.
94
 
95
- Example prompt (portrait):
96
 
97
- text
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
- text
104
- Copy code
105
- low quality, bad anatomy, extra limbs, distorted face, blurry, grainy
106
- Example prompt (full body, scene):
107
 
108
- text
109
- Copy code
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
- text
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
- Example ComfyUI positive prompt:
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
- Suggested Settings
131
- These are starting points only; tweak to your taste.
132
 
133
- Base model: juggernautXL_ragnarokBy.safetensors (SDXL)
134
 
135
- Sampler: Euler a / DPM++ 2M Karras
 
136
 
137
- Steps: 25–35
138
 
139
- CFG scale: 5–8
140
 
141
- Resolution: 768Γ—1024 or 832Γ—1216 (portrait) / similar area for landscape
142
 
143
- For strong identity lock, keep jck1 toward the front of the prompt and
144
- avoid stacking too many style tokens that overpower it.
145
 
146
- Notes, Rights, and Usage
147
- This embedding was trained on a private Jackie dataset.
148
 
149
- You are responsible for ensuring that your use of this embedding respects the
150
- rights and privacy of any real person whose likeness it may represent.
151
 
152
- Do not use this model for harassment, defamation, deepfake abuse, or any
153
- malicious activity.
154
 
155
- If you create cool results or derivative work from this embedding, feel free to
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)”