justinpinkney commited on
Commit
158053c
1 Parent(s): 3bb3aa9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -0
README.md CHANGED
@@ -1,3 +1,31 @@
1
  ---
2
  license: creativeml-openrail-m
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: creativeml-openrail-m
3
  ---
4
+
5
+ ## Usage
6
+
7
+ ```bash
8
+ python scripts/txt2img.py \
9
+ --prompt 'a photograph of an wrinkly old man laughing' \
10
+ --H 256 --W 256 \
11
+ --n_samples 4 \
12
+ --ckpt miniSD.ckpt
13
+ ```
14
+
15
+ ## Training details
16
+
17
+ Fine tuned from the stable-diffusion 1.4 checkpoint as follows:
18
+
19
+ - 22,000 steps fine-tuning only the attention layers of the unet, learn rate=1e-5, batch size=256
20
+ - 66,000 steps training the full unet, learn rate=5e-5, batch size=552
21
+
22
+ - GPUs provided by [Lambda GPU Cloud](https://lambdalabs.com/service/gpu-cloud)
23
+ - Trained on [LAION Improved Aesthetics 6plus](https://huggingface.co/datasets/ChristophSchuhmann/improved_aesthetics_6plus).
24
+ - Trained using https://github.com/justinpinkney/stable-diffusion, original [checkpoint available here](https://huggingface.co/justinpinkney/miniSD)
25
+
26
+ ## License
27
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies:
28
+
29
+ - You can't use the model to deliberately produce nor share illegal or harmful outputs or content
30
+ - The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
31
+ - You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) Please read the full license here