CLIP max_position_embeddings defaults to 77

#49
by ComicGPT - opened

The prompts are being cut down to 77 tokens. How to change/increase this value. Sorry new to this

I think A1111's implementation has a mechanism for extending prompt length, and you can do something similar in ComfyUI.

There's a catch, though: Overly long or complicated prompts are unlikely to be usefully interpreted anyway. Use finetuning, T2I-Adaptor, or ControlNet or any of the varieties similar techniques if you need finer control.

Supposedly there would be official releases of some of those soon enough. Some of those are already deployed on Clipdrop.

Sign up or log in to comment