- Kohya
- Trigger words
- Dataset packaging
- ohwx
What Does ohwx Mean? Kohya Folder Naming and Rare Triggers
ohwx is a rare LoRA trigger, not a Kohya keyword. Compare ohwx, sks, snofs, zwx, and ukj, and learn how 10_ohwx woman splits into repeats and class tokens.

If you have seen a Kohya folder named 10_ohwx woman and wondered what ohwx means, the short answer is: it is not a special Kohya keyword. It is a rare trigger token that the community popularized for character LoRAs. The number before the underscore is the repeat count; everything after is class tokens (trigger + class noun). This article separates those pieces, compares common rare tokens, and shows how to name folders without cargo-culting a meme string.
What does ohwx mean?
ohwx is an invented, low-frequency token. Trainers use it because Stable Diffusion-family models have almost no prior meaning for it, so it is easy to bind to your subject. Popular alternatives include sks, snofs, zwx, and ukj, or an invented proper name that is not a celebrity. Nothing in Kohya or sd-scripts requires the letters o-h-w-x specifically.
Caption vs folder
Rare trigger tokens compared (ohwx, sks, snofs, zwx, ukj)
Tokenizers split strings differently across SD1.5, SDXL, and Flux. Prefer triggers that stay short, avoid English word fragments with strong priors, and stay spelled identically in every caption. The table below is practical guidance from community usage—not a tokenizer dump from every checkpoint.
| Token | Typical token count | Prior / concept bleed | Recommendation |
|---|---|---|---|
| ohwx | Usually 1–2 pieces on CLIP; short on T5 | Very low on SD1.5 / SDXL / Flux — little English prior | Default community choice; fine for most character LoRAs |
| sks | Often 1 on CLIP | Low–moderate: older DreamBooth lore; mild collision risk if many public sks LoRAs stack | Still usable; invent your own if you publish many adapters |
| snofs | Usually 1–2 | Very low across SD1.5 / SDXL / Flux | Good ohwx alternative when you want a unique house token |
| zwx | Usually 1–2 | Very low; similar rarity profile to ohwx | Solid substitute; keep captions consistent |
| ukj | Usually 1 | Very low on SD1.5 / SDXL / Flux | Short and rare; pair with a class noun (ukj woman) |
Flux vs CLIP priors
Anatomy of 10_ohwx woman
In classic DreamBooth-style subdirectory loading, Kohya splits the child folder name on the first underscore:
| Part | Example | Meaning |
|---|---|---|
| Repeats (N) | 10 | num_repeats: how many times each image in this folder is seen per epoch |
| Class tokens | ohwx woman | Fallback caption / class: rare trigger + broad class noun |
10_ohwx woman→ 10 repeats, tokensohwx woman30_cat→ 30 repeats, tokencat(object-style class, no rare trigger)12_snofs man→ 12 repeats, tokenssnofs man(same pattern, different trigger)
Folders that do not start with an integer are ignored in this mode. Choose N from the steps math on how many images a LoRA needs, not from copying someone else’s folder name.
Where train_data_dir must point
Point train_data_dir at the parent of the N_… folders, not at the folder that contains the PNGs. Kohya looks for named children under that path. Aiming one level too deep is the usual cause of “No data found.” Full packaging steps live in Kohya folder names and Civitai zip layout.
train_data/ ← train_data_dir
└── 10_ohwx woman/
├── 001.png
└── 001.txtWhen folder names do not matter
If you train with a Kohya dataset TOML, num_repeats and class_tokens are set in the config and the N_name convention is ignored. Point image_dir at the directory that directly contains images, and keep sidecar captions. Civitai’s on-site trainer also ignores Kohya folder names: it wants a flat zip of image + .txt pairs.
Should you keep ohwx or invent your own?
Keeping ohwx is fine if you like community examples. Inventing your own rare token (snofs, zwx, ukj, or a house string) is also fine and can reduce collision if you publish many LoRAs. Either way: same spelling in every caption, pair with a class noun (woman, man, person), and do not use a real name that already means something to the base model.
- 01
Choose the token
Prefer low prior bleed from the comparison table; write it down once and never respell it. - 02
Wire folder + captions
NameN_trigger class, pointtrain_data_dirat the parent, and start every.txtwith the same trigger. - 03
Pack for your trainer
Nest for Kohya or zip flat pairs for Civitai using the folder structure guide.
Frequently asked questions
Is ohwx required by Kohya?
No. Kohya only requires that DreamBooth-style child folders start with an integer repeats count. The text after the underscore is whatever class tokens you choose.
Should ohwx appear in every caption?
Yes if that is your trigger. Put the same rare token first in every caption so the LoRA binds identity to it. Folder class tokens are only a fallback when a sidecar is missing.
What does the 10 in 10_ohwx woman mean?
It is num_repeats: each image in that folder is shown 10 times per epoch in classic subdirectory loading. Pick N from your target step count, not from tradition.
Do Civitai zips need an ohwx folder?
No. Civitai wants flat image and .txt pairs at the zip root. Repeats and class settings are chosen in the web UI, not in folder names.
ohwx vs sks vs snofs vs zwx vs ukj — which trigger should I use?
Any low-prior rare token works if captions stay consistent. ohwx, snofs, zwx, and ukj generally show very low concept bleed; sks is still usable but slightly more collision-prone in stacks of public LoRAs. Invent a house token if you publish many adapters.
Does Flux need a different trigger than SDXL?
No special Flux-only keyword is required. Rare triggers still work; Flux captions should lean natural language with the trigger first, while SD1.5 often stays tag-heavy. Keep the same spelling either way.



