Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
So we have FrozenCLIPEmbedder inside the stablediffusion repo, which uses the transformers from huggingface. I do not think the CLIPTokenizer or CLIPTextModel would be perfect, but gives some idea how that works. Possibly the BasicTokenizer as a simpler starting point.
So we have FrozenCLIPEmbedder inside the stablediffusion repo, which uses the transformers from huggingface. I do not think the CLIPTokenizer or CLIPTextModel would be perfect, but gives some idea how that works. Possibly the BasicTokenizer as a simpler starting point.
Checking out https://github.com/rinongal/textual_inversion, which has some possibly informative examples and scripts.