Spaces:
Runtime error
Runtime error
bokyeong1015
commited on
Commit
•
a9b3bf8
1
Parent(s):
28d75fa
update docs
Browse files- docs/description.md +4 -4
- docs/fig_model.png +0 -0
- docs/header.md +7 -0
docs/description.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
This demo showcases a
|
2 |
|
3 |
-
|
4 |
-
<img src="docs/fig_model.png" width="70%">
|
5 |
-
</center>
|
6 |
|
|
|
1 |
+
This demo showcases a lightweight Stable Diffusion model (SDM) for general-purpose text-to-image synthesis. Our model **BK-SDM-Small** achieves **36% reduced** parameters and latency. This model is bulit with (i) removing several residual and attention blocks from the U-Net of SDM-v1.4 and (ii) distillation pretraining on only 0.22M LAION pairs (fewer than 0.1% of the full training set). Despite very limited training resources, our model can imitate the original SDM by benefiting from transferred knowledge.
|
2 |
|
3 |
+
<center>
|
4 |
+
<img src="https://huggingface.co/spaces/nota-ai/compressed-stable-diffusion/blob/main/docs/fig_model.png" width="70%">
|
5 |
+
</center>
|
6 |
|
docs/fig_model.png
CHANGED
docs/header.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1 |
# <center>Lightweight Text-to-Image Generation Demo</center>
|
2 |
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# <center>Lightweight Text-to-Image Generation Demo</center>
|
2 |
|
3 |
|
4 |
+
<br/>
|
5 |
+
|
6 |
+
<p align="center">
|
7 |
+
<a href="https://arxiv.org/abs/2305.15798"><img src="https://img.shields.io/badge/arXiv-2305.15798-b31b1b.svg?style=flat-square" style="display:inline;"></a>
|
8 |
+
<a href="https://huggingface.co/spaces/nota-ai/compressed-stable-diffusion"><img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fnota-ai%2Fcompressed-stable-diffusion&count_bg=%23325AC8&title_bg=%23112344&icon=&icon_color=%23E7E7E7&title=HITS&edge_flat=true" style="display:inline;"></a>
|
9 |
+
</p>
|
10 |
+
<br/>
|