Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: nota-ai/bk-sdm-tiny
|
| 3 |
+
datasets:
|
| 4 |
+
- ChristophSchuhmann/improved_aesthetics_6.5plus
|
| 5 |
+
library_name: diffusers
|
| 6 |
+
license: creativeml-openrail-m
|
| 7 |
+
pipeline_tag: text-to-image
|
| 8 |
+
tags:
|
| 9 |
+
- stable-diffusion
|
| 10 |
+
- stable-diffusion-diffusers
|
| 11 |
+
- text-to-image
|
| 12 |
+
- openvino
|
| 13 |
+
- openvino-export
|
| 14 |
+
extra_gated_prompt: "This model is open access and available to all, with a CreativeML\
|
| 15 |
+
\ OpenRAIL-M license further specifying rights and usage.\nThe CreativeML OpenRAIL\
|
| 16 |
+
\ License specifies: \n\n1. You can't use the model to deliberately produce nor\
|
| 17 |
+
\ share illegal or harmful outputs or content \n2. The authors claim no rights on\
|
| 18 |
+
\ the outputs you generate, you are free to use them and are accountable for their\
|
| 19 |
+
\ use which must not go against the provisions set in the license\n3. You may re-distribute\
|
| 20 |
+
\ the weights and use the model commercially and/or as a service. If you do, please\
|
| 21 |
+
\ be aware you have to include the same use restrictions as the ones in the license\
|
| 22 |
+
\ and share a copy of the CreativeML OpenRAIL-M to all your users (please read the\
|
| 23 |
+
\ license entirely and carefully)\nPlease read the full license carefully here:\
|
| 24 |
+
\ https://huggingface.co/spaces/CompVis/stable-diffusion-license\n "
|
| 25 |
+
extra_gated_heading: Please read the LICENSE to access this model
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
This model was converted to OpenVINO from [`nota-ai/bk-sdm-tiny`](https://huggingface.co/nota-ai/bk-sdm-tiny) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
| 29 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
| 30 |
+
|
| 31 |
+
First make sure you have optimum-intel installed:
|
| 32 |
+
|
| 33 |
+
```bash
|
| 34 |
+
pip install optimum[openvino]
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
To load your model you can do as follows:
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
from optimum.intel import OVStableDiffusionPipeline
|
| 41 |
+
|
| 42 |
+
model_id = "hsuwill000/bk-sdm-tiny-openvino"
|
| 43 |
+
model = OVStableDiffusionPipeline.from_pretrained(model_id)
|
| 44 |
+
```
|