79357500

Date: 2025-01-15 08:28:44
Score: 0.5
Natty:
Report link

You can use the huggingface Clip models (open_clip just wraps around huggingface libraries anyway), which has a output_hidden_states parameter, which will return the outputs before the pooled layer.

See an example here https://github.com/huggingface/diffusers/blob/2432f80ca37f882af733244df24b46f2d447fbcf/src/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3.py#L323

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SwayStar123