CLIP code refactor and improvements.
More generic clip model class that can be used on more types of text encoders. Don't apply weighting algorithm when weight is 1.0 Don't compute an empty token output when it's not needed.
Showing
Please register or sign in to comment