krthr / clip-embeddings

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

  • Public
  • 158.2K runs
  • GitHub
  • Paper

Run time and cost

This model costs approximately $0.00058 to run on Replicate, or 1724 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 1 seconds.

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]
}