jc-builds commited on
Commit
3e5d06b
·
verified ·
1 Parent(s): bcfb940

docs: declare SFW-by-default safety policy + reference safety_negative_prompt.txt

Browse files
Files changed (1) hide show
  1. README.md +14 -0
README.md CHANGED
@@ -43,9 +43,23 @@ Z-Image-Turbo is a 6B-parameter [**S3-DiT**](https://arxiv.org/abs/2511.22699) (
43
  | [`z-image-turbo-Q3_K_M.gguf`](./z-image-turbo-Q3_K_M.gguf) | Diffusion transformer — 6B params, Q3_K_M quant | 3.9 GB |
44
  | [`Qwen3-4B-Instruct-2507-Q4_K_M.gguf`](./Qwen3-4B-Instruct-2507-Q4_K_M.gguf) | Text encoder | 2.3 GB |
45
  | [`ae.safetensors`](./ae.safetensors) | VAE (from FLUX.1) | 320 MB |
 
46
 
47
  Total bundle size: **~6.5 GB**. Total GPU residency at generation time: ~7-8 GB (weights + activations + KV cache).
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  ## Quick start (Mirage)
50
 
51
  ```swift
 
43
  | [`z-image-turbo-Q3_K_M.gguf`](./z-image-turbo-Q3_K_M.gguf) | Diffusion transformer — 6B params, Q3_K_M quant | 3.9 GB |
44
  | [`Qwen3-4B-Instruct-2507-Q4_K_M.gguf`](./Qwen3-4B-Instruct-2507-Q4_K_M.gguf) | Text encoder | 2.3 GB |
45
  | [`ae.safetensors`](./ae.safetensors) | VAE (from FLUX.1) | 320 MB |
46
+ | [`safety_negative_prompt.txt`](./safety_negative_prompt.txt) | Recommended default negative prompt to apply at inference time for SFW-by-default deployments | <1 KB |
47
 
48
  Total bundle size: **~6.5 GB**. Total GPU residency at generation time: ~7-8 GB (weights + activations + KV cache).
49
 
50
+ ## Safety / SFW-by-default
51
+
52
+ This bundle is intended for shipping in consumer apps and ships with a recommended default negative prompt at [`safety_negative_prompt.txt`](./safety_negative_prompt.txt). Consumers building on top of this bundle SHOULD load the file and prepend its contents to any user-supplied negative prompt by default, with an explicit user-facing opt-out for adult/artistic contexts.
53
+
54
+ The blocklist covers:
55
+
56
+ - **Child safety** — explicit terms blocking sexualised content involving minors or apparent minors (loaded first / highest weight in SD-style negative prompts)
57
+ - **Adult / explicit** — `nsfw`, `nude`, `explicit`, `sexual`, anatomical detail
58
+ - **Gore + graphic violence** — `gore`, `blood`, `mutilation`, etc.
59
+ - **Hate symbols** — `swastika`, `nazi`, `extremist`
60
+
61
+ Diffusion models steer *away* from negative-prompt concepts; they don't binary-reject them. A sufficiently determined prompt can still produce undesirable output, so apps shipping this bundle to general audiences should pair the negative-prompt filter with output-side classification (e.g. a CSAM/NSFW classifier on the generated `CGImage`) before display.
62
+
63
  ## Quick start (Mirage)
64
 
65
  ```swift