Update README.md
Browse files
README.md
CHANGED
@@ -10,13 +10,8 @@ Model trained with LoRA implementation of Diffusion DPO Read more [here](https:/
|
|
10 |
|
11 |
Base Model: https://huggingface.co/stabilityai/stable-diffusion-2-1
|
12 |
|
13 |
-
|
14 |
-
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6064e095abd8d3692e3e2ed6/3o1UBMgrBTT5SFfgYFmaq.png)
|
15 |
-
|
16 |
-
With DPO Lora
|
17 |
-
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6064e095abd8d3692e3e2ed6/chu29lik7TVGEyVddWyqb.png)
|
18 |
|
19 |
-
## Running
|
20 |
|
21 |
```python
|
22 |
from diffusers import DiffusionPipeline
|
@@ -45,4 +40,12 @@ images = pipe(
|
|
45 |
num_images_per_prompt=4
|
46 |
).images
|
47 |
make_image_grid(images, 1, 4)
|
48 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
Base Model: https://huggingface.co/stabilityai/stable-diffusion-2-1
|
12 |
|
13 |
+
## Running with [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
|
|
|
|
|
|
|
|
14 |
|
|
|
15 |
|
16 |
```python
|
17 |
from diffusers import DiffusionPipeline
|
|
|
40 |
num_images_per_prompt=4
|
41 |
).images
|
42 |
make_image_grid(images, 1, 4)
|
43 |
+
```
|
44 |
+
|
45 |
+
## Example
|
46 |
+
|
47 |
+
Without DPO Lora
|
48 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6064e095abd8d3692e3e2ed6/3o1UBMgrBTT5SFfgYFmaq.png)
|
49 |
+
|
50 |
+
With DPO Lora
|
51 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6064e095abd8d3692e3e2ed6/chu29lik7TVGEyVddWyqb.png)
|