Update README.md
Browse files
README.md
CHANGED
|
@@ -1,43 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
license: creativeml-openrail-m
|
| 3 |
tags:
|
| 4 |
- stable-diffusion
|
| 5 |
- stable-diffusion-diffusers
|
| 6 |
- text-to-image
|
| 7 |
-
widget:
|
| 8 |
-
- text: A high tech solarpunk utopia in the Amazon rainforest
|
| 9 |
-
example_title: Amazon rainforest
|
| 10 |
-
- text: A pikachu fine dining with a view to the Eiffel Tower
|
| 11 |
-
example_title: Pikachu in Paris
|
| 12 |
-
- text: A mecha robot in a favela in expressionist style
|
| 13 |
-
example_title: Expressionist robot
|
| 14 |
-
- text: an insect robot preparing a delicious meal
|
| 15 |
-
example_title: Insect robot
|
| 16 |
-
- text: A small cabin on top of a snowy mountain in the style of Disney, artstation
|
| 17 |
-
example_title: Snowy disney cabin
|
| 18 |
-
extra_gated_prompt: >-
|
| 19 |
-
This model is open access and available to all, with a CreativeML OpenRAIL-M
|
| 20 |
-
license further specifying rights and usage.
|
| 21 |
-
|
| 22 |
-
The CreativeML OpenRAIL License specifies:
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
1. You can't use the model to deliberately produce nor share illegal or
|
| 26 |
-
harmful outputs or content
|
| 27 |
-
|
| 28 |
-
2. The authors claim no rights on the outputs you generate, you are free to
|
| 29 |
-
use them and are accountable for their use which must not go against the
|
| 30 |
-
provisions set in the license
|
| 31 |
-
|
| 32 |
-
3. You may re-distribute the weights and use the model commercially and/or as
|
| 33 |
-
a service. If you do, please be aware you have to include the same use
|
| 34 |
-
restrictions as the ones in the license and share a copy of the CreativeML
|
| 35 |
-
OpenRAIL-M to all your users (please read the license entirely and carefully)
|
| 36 |
-
|
| 37 |
-
Please read the full license carefully here:
|
| 38 |
-
https://huggingface.co/spaces/CompVis/stable-diffusion-license
|
| 39 |
-
|
| 40 |
-
extra_gated_heading: Please read the LICENSE to access this model
|
| 41 |
datasets:
|
| 42 |
- yashvoladoddi37/kanjienglish
|
| 43 |
language:
|
|
@@ -92,6 +57,7 @@ image.save("baby-robot-kanji-v1-4.png")
|
|
| 92 |
**Hardware:** Nvidia GTX 1650 4GB vRAM | 8GB RAM and T4 GPU on Colab
|
| 93 |
|
| 94 |
**Training Script:**
|
|
|
|
| 95 |
!accelerate launch train_text_to_image_lora.py \
|
| 96 |
--pretrained_model_name_or_path="CompVis/stable-diffusion-v1-4" \
|
| 97 |
--dataset_name="yashvoladoddi37/kanjienglish" \
|
|
@@ -108,4 +74,5 @@ image.save("baby-robot-kanji-v1-4.png")
|
|
| 108 |
--seed=42 \
|
| 109 |
--output_dir="kanji-diffusion-v1-4" \
|
| 110 |
--validation_prompt="A kanji meaning Elon Musk" \
|
| 111 |
-
--push_to_hub
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
- stable-diffusion
|
| 4 |
- stable-diffusion-diffusers
|
| 5 |
- text-to-image
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
datasets:
|
| 7 |
- yashvoladoddi37/kanjienglish
|
| 8 |
language:
|
|
|
|
| 57 |
**Hardware:** Nvidia GTX 1650 4GB vRAM | 8GB RAM and T4 GPU on Colab
|
| 58 |
|
| 59 |
**Training Script:**
|
| 60 |
+
```python
|
| 61 |
!accelerate launch train_text_to_image_lora.py \
|
| 62 |
--pretrained_model_name_or_path="CompVis/stable-diffusion-v1-4" \
|
| 63 |
--dataset_name="yashvoladoddi37/kanjienglish" \
|
|
|
|
| 74 |
--seed=42 \
|
| 75 |
--output_dir="kanji-diffusion-v1-4" \
|
| 76 |
--validation_prompt="A kanji meaning Elon Musk" \
|
| 77 |
+
--push_to_hub
|
| 78 |
+
```
|