CoolFace
Modelpublic

keras-sd/text-encoder-tflite

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
0likes51downloads
Model Card

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.