krthr / clip-embeddings

Generate CLIP (clip-vit-large-patch14) text & image embeddings

  • Public
  • 160.2K runs
  • GitHub
  • Paper

Run time and cost

This model costs approximately $0.0022 to run on Replicate, or 454 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 3 seconds. The predict time for this model varies significantly based on the inputs.

Readme

Get text & image embeddings using CLIP.

Details

  • Model used: clip-vit-large-patch14
  • Length of the embeddings: 768

Response

{
  "embedding": [0.1, 0.2, ..., 0.5]
}