dongOi071102
commited on
Commit
•
d8b8e27
1
Parent(s):
a5837c5
End of training
Browse files- README.md +54 -0
- pytorch_lora_weights.safetensors +3 -0
- val_imgs_grid.png +0 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
license: mit
|
4 |
+
base_model: warp-ai/wuerstchen-prior
|
5 |
+
datasets:
|
6 |
+
- dongOi071102/meme-pretreatment-dataset-100rows
|
7 |
+
tags:
|
8 |
+
- wuerstchen
|
9 |
+
- text-to-image
|
10 |
+
- diffusers
|
11 |
+
- diffusers-training
|
12 |
+
- lora
|
13 |
+
inference: true
|
14 |
+
---
|
15 |
+
|
16 |
+
# LoRA Finetuning - dongOi071102/wuerstchen-prior-naruto-lora-2
|
17 |
+
|
18 |
+
This pipeline was finetuned from **warp-ai/wuerstchen-prior** on the **dongOi071102/meme-pretreatment-dataset-100rows** dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['a catton cat with angry face']:
|
19 |
+
|
20 |
+
![val_imgs_grid](./val_imgs_grid.png)
|
21 |
+
|
22 |
+
|
23 |
+
## Pipeline usage
|
24 |
+
|
25 |
+
You can use the pipeline like so:
|
26 |
+
|
27 |
+
```python
|
28 |
+
from diffusers import DiffusionPipeline
|
29 |
+
import torch
|
30 |
+
|
31 |
+
pipeline = AutoPipelineForText2Image.from_pretrained(
|
32 |
+
"warp-ai/wuerstchen", torch_dtype=float32
|
33 |
+
)
|
34 |
+
# load lora weights from folder:
|
35 |
+
pipeline.prior_pipe.load_lora_weights("dongOi071102/wuerstchen-prior-naruto-lora-2", torch_dtype=float32)
|
36 |
+
|
37 |
+
image = pipeline(prompt=prompt).images[0]
|
38 |
+
image.save("my_image.png")
|
39 |
+
```
|
40 |
+
|
41 |
+
## Training info
|
42 |
+
|
43 |
+
These are the key hyperparameters used during training:
|
44 |
+
|
45 |
+
* LoRA rank: 4
|
46 |
+
* Epochs: 5
|
47 |
+
* Learning rate: 0.0002
|
48 |
+
* Batch size: 8
|
49 |
+
* Gradient accumulation steps: 1
|
50 |
+
* Image resolution: 512
|
51 |
+
* Mixed-precision: fp16
|
52 |
+
|
53 |
+
|
54 |
+
More information on all the CLI arguments and the environment are available on your [`wandb` run page](https://wandb.ai/2111818-no/text2image-fine-tune/runs/js2o268h).
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8474605f2937d63aaa5f2aef5330711dcce3b4e870eec99e8dec8ed0e0c88581
|
3 |
+
size 6320568
|
val_imgs_grid.png
ADDED