--text_encoder_use_attention_mask \
--tokenizer_max_length 77 \
--pre_compute_text_embeddings \
--use_8bit_adam \
--set_grads_to_none \
--skip_save_text_encoder \
--push_to_hub
```  
</hfoption>
<hfoption id="Stage 2 DreamBooth">  
For stage 2 of DeepFloyd IF with DreamBooth, pay attention to these parameters:  
* `--learning_rate=5e-6`, use a lower learning rate with a smaller effective batch size
* `--resolution=256`, the expected resolution for the upscaler