Why include CLS token in the text embedding #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Thanks for your great work!
I notice that you include both hidden state and CLS token in stable diffusion text embeddings here. However, in stable diffusion 1.5, the text embedding does not include the CLS token.
I also checked stable dreamfusion. It also not use CLS token here.
May I know why you include CLS token here?
are u able to use the pretrained model? I am unable to set up the model/environment.
Would u please help?
we also do not use CLS token:
7f051875e4/nerf/utils.py (L732)text_z_sds = text_z[:, :-1]
I think I keep the CLS token for the CLIP. But we do not use that eventually.