krthr / clip-embeddings

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

  • Public
  • 137.5K runs
  • GitHub
  • Paper

Input

Output

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 A40 GPU hardware. Predictions typically complete within 4 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]
}