timm
timm/vit_large_patch14_clip_336.openai
The CLIP model was developed by researchers at OpenAI to learn about what contributes to robustness in computer vision tasks. The model was ...
Model Documentation
Model card for vit_large_patch14_clip_336.openai
CLIP (OpenAI model for timm)
Model Details
The CLIP model was developed by researchers at OpenAI to learn about what contributes to robustness in computer vision tasks. The model was also developed to test the ability of models to generalize to arbitrary image classification tasks in a zero-shot manner. It was not developed for general model deploymentThis instance of the CLIP model is intended for loading in *
timm (https://github.com/rwightman/pytorch-image-models) and
* OpenCLIP (https://github.com/mlfoundations/open_clip) libraries.Please see https://huggingface.co/openai/clip-vit-large-patch14-336 for use in Hugging Face Transformers.
Model Date
January 2021Model Type
The model uses a ViT-L/14 (336x336) Transformer architecture as an image encoder and uses a masked self-attention Transformer as a text encoder. These encoders are trained to maximize the similarity of (image, text) pairs via a contrastive loss. The original implementation had two variants: one using a ResNet image encoder and the other using a Vision Transformer. This repository has the variant with the Vision Transformer.Documents
Model Use
Intended Use
The model is intended as a research output for research communities. We hope that this model will enable researchers to better understand and explore zero-shot, arbitrary image classification. We also hope it can be used for interdisciplinary studies of the potential impact of such models#
Primary intended uses
The primary intended users of these models are AI researchers. We primarily imagine the model will be used by researchers to better understand robustness, generalization, and other capabilities, biases, and constraints of computer vision models.Out-of-Scope Use Cases
Any deployed use case of the modelData
The model was trained on publicly available image-caption data. This was done through a combination of crawling a handful of websites and using commonly-used pre-existing image datasets such as YFCC100M. A large portion of the data comes from our crawling of the internet. This means that the data is more representative of people and societies most connected to the internet which tend to skew towards more developed nations, and younger, male users.Data Mission Statement
Our goal with building this dataset was to test out robustness and generalizability in computer vision tasks. As a result, the focus was on gathering large quantities of data from different publicly-available internet data sources. The data was gathered in a mostly non-interventionist manner. However, we only crawled websites that had policies against excessively violent and adult images and allowed us to filter out such content. We do not intend for this dataset to be used as the basis for any commercial or deployed model and will not be releasing the dataset.Limitations
CLIP and our analysis of it have a number of limitations. CLIP currently struggles with respect to certain tasks such as fine grained classification and counting objects. CLIP also poses issues with regards to fairness and bias which we discuss in the paper and briefly in the next section. Additionally, our approach to testing CLIP also has an important limitationBias and Fairness
We find that the performance of CLIPFiles & Weights
| Filename | Size | Action |
|---|---|---|
| model.safetensors | 1.13 GB | |
| open_clip_model.safetensors | 1.59 GB | |
| open_clip_pytorch_model.bin | 1.59 GB | |
| pytorch_model.bin | 1.13 GB |