Instructions to use kvablack/ddpo-alignment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kvablack/ddpo-alignment with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kvablack/ddpo-alignment", dtype=torch.bfloat16, device_map="cuda") prompt = "a horse playing chess" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,6 +8,10 @@ tags:
|
|
| 8 |
- stable-diffusion
|
| 9 |
- stable-diffusion-diffusers
|
| 10 |
- text-to-image
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# ddpo-alignment
|
|
|
|
| 8 |
- stable-diffusion
|
| 9 |
- stable-diffusion-diffusers
|
| 10 |
- text-to-image
|
| 11 |
+
inference:
|
| 12 |
+
parameters:
|
| 13 |
+
num_inference_steps: 50
|
| 14 |
+
guidance_scale: 100.0
|
| 15 |
---
|
| 16 |
|
| 17 |
# ddpo-alignment
|