root
commited on
Commit
·
81171dc
1
Parent(s):
016df98
update readme
Browse files
README.md
CHANGED
|
@@ -23,7 +23,16 @@ widget:
|
|
| 23 |
example_title: 一张<鸣人>男孩的照片
|
| 24 |
---
|
| 25 |
|
| 26 |
-
# This is a DreamBooth model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
```
|
| 28 |
from diffusers import AltDiffusionPipeline, DPMSolverMultistepScheduler
|
| 29 |
import torch
|
|
|
|
| 23 |
example_title: 一张<鸣人>男孩的照片
|
| 24 |
---
|
| 25 |
|
| 26 |
+
# This is a DreamBooth model finetuned from the multilingual text-to-image model AltDiffusion.
|
| 27 |
+
|
| 28 |
+
Dreambooth is one of the method of finetune the pretrained text-to-image model.Given as input just a few images of a subject, it learns to bind a unique identifier with that specific subject.
|
| 29 |
+
|
| 30 |
+
AltDiffusion which is a multilingual text-to-image model.It currently supports 9 languages and will support more in future.
|
| 31 |
+
We can use the dreambooth to finetune the AltDiffusion,so that we can get a multilingual Dreambooth model which could supports 9 languages.
|
| 32 |
+
|
| 33 |
+
Here we give a example model finetuned use a dozen pictures of Uzumaki Naruto downloaded from web.The example code of inference is shown bellow.You can have a try and maybe train your own dreambooth.Hopes have fun!
|
| 34 |
+
|
| 35 |
+
## Example code of inference
|
| 36 |
```
|
| 37 |
from diffusers import AltDiffusionPipeline, DPMSolverMultistepScheduler
|
| 38 |
import torch
|