TLDRocket
Sign in

Tools & Coding

975 summarised stories in Tools & Coding, each linking back to the original source. Browse all topics →

Friday, 29 September 2023

Finetune Stable Diffusion Models with DDPO via TRL

Hugging Face 2 years ago 52

Hugging Face's TRL library integrated DDPO (Denoising Diffusion Policy Optimization), a reinforcement learning method for fine-tuning diffusion models like Stable Diffusion to align outputs with human preferences. The method requires an A100 GPU minimum and uses a reward model trained on aesthetic preferences, with recommended hyperparameters including a learning rate of 3e-4 and training batch size of 3 for single-GPU setups. Users can now fine-tune Stable Diffusion models to generate images matching specific objectives such as visual aesthetics without needing the supervised fine-tuning step typically required in RLHF workflows.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.