Downloads · 30 days
152
24% of all-time downloads
rzgar/NSFW-Wan-UMT5-XXL-V2
NSFW-Wan-UMT5-XXL-V2 is a machine learning model from rzgar. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for wan2.2. The card lists the license as apache-2.0.
Extended UMT5 text encoder for Wan 2.2 video. 767 new tokens + LoRA on encoder layers 21–23.
Downloads · 30 days
152
24% of all-time downloads
All-time downloads
644
Public
Repo size
70.2 GB
Likes
22
Public
Click a slice to open those files.
.safetensors70.1 GB · 100%
From the Hugging Face model README
Extended UMT5 text encoder for Wan 2.2 video. 767 new tokens + LoRA on encoder layers 21–23.
encoders/
nsfw_wan_umt5_xxl_v2_fp16.safetensors # main fp16
nsfw_wan_umt5_xxl_v2_fp32.safetensors # highest precision
nsfw_wan_umt5_xxl_v2_fp8_e4m3fn_scaled.safetensors # fp8 quantized
nsfw_wan_umt5_xxl_v2_bf16.safetensors # bf16 balanced
nsfw_wan_umt5_xxl_v2_int8-convrot.safetensors # int8 convrot (best quality among INT8 variants)
nsfw_wan_umt5_xxl_v2_int4_convrot.safetensors # int4 convrot (fastest)
nsfw_wan_umt5_xxl_v2_int8.safetensors # int8 standard
new_tokens_v4.json # 767 extended token strings
config.json # vocab_size 257067
tokenizer/ # extended spiece
load_example.py # non-ComfyUI load script
ComfyUI-UMT5-Extended/ # ComfyUI custom node
| Metric | Stock UMT5 | This model |
|---|---|---|
shared.weight rows | 256,384 | 257,067 |
| New tokens | — | 767 |
| Word | Stock (pieces) | Extended (pieces) |
|---|---|---|
thighjob | 4 | 1 (id 256937) |
titfuck | 2 | 1 (id 256955) |
fellatio | 2 | 1 (id 256511) |
paizuri | 2 | 1 (id 256687) |
deepthroat | 2 | 1 (id 256444) |
cowgirl | 2 | 1 (id 256409) |
blowjob | 1 | 1 (already stock) |
penis / cock | 1 each | 1 each |
ComfyUI/custom_nodes/encoders/*.safetensors -> ComfyUI/models/text_encoders/UMT5_extended/nsfw_wan_umt5_xxl_v2_fp16.safetensors (or fp8)Custom node: ComfyUI hardcodes vocab_size: 256384. Extended files need 257067. The node sets this from shared.weight shape automatically.
Manual (no node): edit comfy/text_encoders/umt5_config_xxl.json -> "vocab_size": 257067 (revert to 256384 for stock encoders).
No custom node. You need vocab_size=257067 and the extended tokenizer.
pip install torch safetensors transformers
python load_example.py