Downloads · 30 days
50
7% of all-time downloads
keras-sd/text-encoder-tflite
text-encoder-tflite is a text-to-image model from keras-sd. Use it when you need an image from a text prompt. It is set up for keras. The card lists the license as apache-2.0.
This repository hosts the TFLite version of text encoder part of KerasCV Stable Diffusion.
Downloads · 30 days
50
7% of all-time downloads
All-time downloads
686
Public
Repo size
888 MB
Likes
0
Public
Click a slice to open those files.
.tflite127 MB · 100%
From the Hugging Face model README
This repository hosts the TFLite version of text encoder part of KerasCV Stable Diffusion.
Stable Diffusion consists of text encoder, diffusion model, decoder, and some glue codes to handl inputs and outputs of each part. The TFLite version of text encoder in this repository is built not only with the text encoder itself but also TensorFlow operations that generates context and unconditional context. These output should be passed down to the diffusion model which is hosted in this repository.
TFLite conversion was based on the SavedModel from this repository, and TensorFlow version >= 2.12-nightly was used.
< 2.12-nightly will fail for the conversion process.SavedModel is constructed, find it in keras-sd-serving repository.