nielsgl commited on
Commit
686a880
·
1 Parent(s): a2e9761

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +33 -9
README.md CHANGED
@@ -1,20 +1,45 @@
1
  ---
2
- library_name: keras
 
 
 
 
 
 
 
 
 
 
 
3
  ---
4
 
5
- ## Model description
6
 
7
- More information needed
8
 
9
- ## Intended uses & limitations
10
 
11
- More information needed
12
 
13
- ## Training and evaluation data
14
 
15
- More information needed
16
 
17
- ## Training procedure
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ### Training hyperparameters
20
 
@@ -38,4 +63,3 @@ The following hyperparameters were used during training:
38
  | epsilon | 1e-07 |
39
  | centered | False |
40
  | training_precision | float32 |
41
-
 
1
  ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - keras
5
+ - keras-cv
6
+ - diffusers
7
+ - stable-diffusion
8
+ - text-to-image
9
+ - diffusion-models-class
10
+ - dreambooth
11
+ - nature
12
+ widget:
13
+ - text: a photo of puggieace dog on the beach
14
  ---
15
 
16
+ # DreamBooth model for the `puggieace` concept trained by nielsgl on the nielsgl/dreambooth-ace dataset.
17
 
18
+ This is a KerasCV Stable Diffusion V2.1 model fine-tuned on the puggieace concept with DreamBooth. It can be used by modifying the `instance_prompt`: **a photo of puggieace**
19
 
20
+ This model was created as part of the Keras DreamBooth Sprint 🔥. Visit the [organisation page](https://huggingface.co/keras-dreambooth) for instructions on how to take part!
21
 
22
+ ## Description
23
 
 
24
 
25
+ This is a KerasCV Stable Diffusion model fine-tuned on `dog` images for the nature theme.
26
 
27
+
28
+ ## Usage
29
+
30
+ ```python
31
+ from huggingface_hub import from_pretrained_keras
32
+ import keras_cv
33
+ import matplotlib.pyplot as plt
34
+
35
+
36
+ model = keras_cv.models.StableDiffusionV2(img_width=512, img_height=512, jit_compile=True)
37
+ model._diffusion_model = from_pretrained_keras(nielsgl/dreambooth-pug-ace-sd2.1)
38
+ model._text_encoder = from_pretrained_keras(nielsgl/dreambooth-pug-ace-sd2.1-text-encoder)
39
+
40
+ images = model.text_to_image("a photo of puggieace dog on the beach", batch_size=3)
41
+ plt.imshow(image[0])
42
+ ```
43
 
44
  ### Training hyperparameters
45
 
 
63
  | epsilon | 1e-07 |
64
  | centered | False |
65
  | training_precision | float32 |