diffusion-safety
Collection
7 items • Updated
This model is part of a dose-response experiment studying how the fraction of unsafe content in training data affects the safety of generated images from text-to-image diffusion models.
| Architecture | PRX-1.2B (Photoroom diffusion model) |
| Parameters | 1.2B (denoiser only) |
| Resolution | 512px |
| Condition | C5 — All unsafe included (~9.6% unsafe), 1M scale |
| Unsafe fraction | ~9.6% |
| Training set size | 1M images |
| Training steps | 100K batches |
| Batch size | 1024 (global) |
| Precision | bf16 |
| Hardware | 8x H200 GPUs |
Downscaled to 1M images with all 96K original unsafe images included (~9.6% unsafe rate, 904K safe).
This model is one of 7 conditions in the dose-response experiment:
| Condition | Unsafe Fraction | Dataset Scale | Description |
|---|---|---|---|
| C0 | 0% | Full (~7.85M) | All unsafe removed |
| C1 | 5% | Full (~8.24M) | Unsafe oversampled to 5% |
| C2 | 10% | Full (~8.72M) | Unsafe oversampled to 10% |
| C3 | ~1.21% | Full (~7.94M) | Original composition |
| C4 | ~1.21% | 1M | Original proportion, downscaled |
| C5 | ~9.6% | 1M | All unsafe included, downscaled |
| C6 | ~1.21% | 100K | Original proportion, small scale |
lehduong/flux_generated, LucasFang/FLUX-Reason-6M, brivangl/midjourney-v6-llavadenoiser.pt — Consolidated single-file checkpoint (EMA weights, ready for inference)distributed/ — Original FSDP distributed checkpoint shardsconfig.yaml — Full Hydra training configurationimport torch
# Load consolidated checkpoint
state_dict = torch.load("denoiser.pt", map_location="cpu")
# Keys are in format: denoiser.*
For the full generation pipeline, see the diffusion_safety repository.
If you use these models, please cite the associated paper and the PRX architecture.
Apache 2.0