#103103rd of 190 in Open models
clip
OpenAI's reference PyTorch code and weights for contrastive image-text embeddings
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts clip on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.clip is on your watch list. Its new releases and problems show there.
- Stars
- 34.7k
- License
- MIT
- Last commit
- Mar 2026
- Language
- Jupyter Notebook
32,660 on 24 Mar 202634,676 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
OpenAI is hiring: 877 open roles
Overview
CLIP is a Python package that loads OpenAI's pretrained image-text models and exposes encode_image, encode_text and a similarity forward pass. It supports zero-shot image classification from natural-language labels and feature extraction for linear-probe training. The README targets PyTorch 1.7.1 or later on CUDA or CPU, with weights downloaded on demand.
Who it is for: ML engineers needing image-text embeddings or zero-shot classification
Strengths
- Small API: clip.load, clip.tokenize, encode_image, encode_text
- Zero-shot classification from text labels without task-specific training
- MIT license; runs on CPU or CUDA GPU
- README has runnable zero-shot and linear-probe examples on CIFAR-100
Weaknesses
- Inference and evaluation only; no training code in this repo
- Installed from git via pip; no tagged releases
- Text context length defaults to 77 tokens
- Larger independently trained models are in OpenCLIP, not here
What it needs
- GPU optional
- Needs PyTorch 1.7.1+, torchvision, ftfy, regex, tqdm
- Models: CLIP ViT-B/32, other names via clip.available_models()
Also in Open models
See all 190| Rank | Project | Score |
|---|---|---|
| #101 | damo-convaiAlibaba DAMO research code for conversational AI and text-to-SQL papers | 42 out of 100 |
| #102 | auroraPretrained foundation model for weather, air pollution and ocean wave forecasting | 42 out of 100 |
| #104 | evo2DNA language model for scoring, embedding and generating sequences up to 1M bp | 41 out of 100 |
| #105 | ask-anythingVideo chat models and code for asking questions about video and images | 41 out of 100 |
| #106 | boltzOpen biomolecular structure and binding affinity prediction models | 40 out of 100 |