SAVRN
Search Contact SAVRN

Open-weight model · Zero shot image classification

clip-vit-large-patch14-336

by OpenAI openai/clip-vit-large-patch14-336

This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - trainingprecision: float32 - Transformers 4.21.3 - TensorFlow 2.8.2 - Tokenizers…

Parameters
Context77
Weights3.4 GB
License
AccessOpen weights
Monthly Downloads2.3M

Model Card

This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - trainingprecision: float32 - Transformers 4.21.3 - TensorFlow 2.8.2 - Tokenizers 0.12.1

Excerpt from the card by OpenAI.

Configuration

Architecture
CLIPModel
Context length (tokens)
77
Layers
12
Hidden size
768
Feed-forward size
3,072
Attention heads
12
Vocabulary size
49,408
Stored precision
float32
Model type
clip

Identity and Version

Repository
openai/clip-vit-large-patch14-336
Publisher
OpenAI
Task
Zero shot image classification
Modality
Other
Library
transformers
Parameters
Not stated by the source
Languages
tf
Revision
ce19dc912ca5cd21c8a653c79e251e808ccabcd1
First published
2022-04-22
Last updated
2022-10-04

Files and Weights

11 files, 3.4 GB in total. The weights are 2 files totalling 3.4 GB in bin, h5.

Weights2 files · 3.4 GB
Configuration3 files · 5.5 KB
Tokenizer4 files · 3.6 MB
Documentation1 file · 1.0 KB
Repository1 file · 1.2 KB
Every file
FileTypeSizeSHA-256
pytorch_model.binWeights1.7 GB c6032c2e0caa
tf_model.h5Weights1.7 GB d12828ca8f0f
config.jsonConfiguration4.8 KB
preprocessor_config.jsonConfiguration316 B
special_tokens_map.jsonConfiguration389 B
README.mdDocumentation1.0 KB
.gitattributesRepository1.2 KB
merges.txtTokenizer524.7 KB
tokenizer.jsonTokenizer2.2 MB
tokenizer_config.jsonTokenizer844 B
vocab.jsonTokenizer862.3 KB

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
3.4 GB
Download from OpenAI

Released by OpenAI through its official repository on Hugging Face.

Memory Requirements

PrecisionWeights in memory
As published3.4 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About clip-vit-large-patch14-336

What is clip-vit-large-patch14-336's context length?

77 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Zero shot image classification

clip-vit-base-patch32

OpenAI

Disclaimer: The model card is taken and modified from the official CLIP repository, it can be found here. 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 deployment - to deploy models like CLIP, researchers will first need to carefully study their capabilities in relation to the specific context they’re being deployed within. January 2021 The model uses a ViT-B/32 Transformer architecture as an image encoder and uses a masked self-attention…

Open weights 77 tokens transformers

Model · Zero shot image classification

clip-vit-base-patch16

OpenAI

Disclaimer: The model card is taken and modified from the official CLIP repository, it can be found here. 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 deployment - to deploy models like CLIP, researchers will first need to carefully study their capabilities in relation to the specific context they’re being deployed within. January 2021 The base model uses a ViT-B/16 Transformer architecture as an image encoder and uses a masked…

Open weights 77 tokens transformers

Model · Zero shot image classification

CLIP-convnext_base_w-laion2B-s13B-b82K-augreg

LAION eV

A series of CLIP ConvNeXt-Base (w/ wide embed dim) models trained on subsets LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/openclip). Explore an alternative to ViT and ResNet (w/ AttentionPooling) CLIP models that scales well with model size and image resolution First known ConvNeXt CLIP models trained at scale in the range of CLIP ViT-B/16 and RN50x4 models First released model weights exploring increase of augmentation + regularization for image tower via adding (greater scale range of RRC, random erasing, stochastic depth) The models utilize the timm ConvNeXt-Base model (convnextbase) as the image tower, and the same text tower as the RN50x4…

Open weights mit open_clip

Model · Zero shot image classification

DermLIP_ViT-B-16

Siyuan Yan

DermLIP is a vision-language model for dermatology, trained on the Derm1M dataset—the largest dermatological image-text corpus to date. python import openclip from PIL import Image import torch model,, preprocess = openclip.createmodelandtransforms( 'hf-hub:redlessone/DermLIPViT-B-16' model.eval() tokenizer = openclip.gettokenizer('hf-hub:redlessone/DermLIPViT-B-16') image = preprocess(Image.open("yourskinimage.png")).unsqueeze(0) PADCLASSNAMES = [ "nevus", "basal cell carcinoma", "actinic keratosis", "seborrheic keratosis", "squamous cell carcinoma", "melanoma" template = lambda c: f'This is a skin image of {c}' text = tokenizer([template(c) for c in PADCLASSNAMES]) with torch.nograd()…

Open weights cc-by-4.0 transformers

Model · Zero shot image classification

DermFM-Zero

Siyuan Yan

DermFM-Zero is a dermatology vision–language foundation model. It pairs a PanDerm ViT-L/16 vision encoder with native-resolution input (NaViT patch-and-pack) and a PubMedBERT-256 text encoder pretrained on a Derm1M knowledge tree (KEP), aligned on 517,455 public dermatology image–text pairs with multi-aspect knowledge contrastive learning (MAKE) and knowledge distillation. It performs zero-shot diagnosis and cross-modal retrieval, serves as a backbone for multimodal fine-tuning and VQA, and yields interpretable concepts through sparse autoencoders. Across extensive benchmarks and three multinational reader studies, DermFM-Zero achieves state-of-the-art zero-shot performance while improving…

Open weights cc-by-nc-nd-4.0 transformers

Model · Zero shot image classification

CLIP-ViT-B-32-laion2B-s34B-b79K

LAION eV

A CLIP ViT-B/32 model trained with the LAION-2B English subset of LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/openclip). Model training done by Romain Beaumont on the stability.ai cluster. As per the original OpenAI CLIP model card, this 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 model. The OpenAI CLIP paper includes a discussion of potential downstream impacts to provide an example for this sort of analysis.…

Open weights mit 151M parameters 77 tokens open_clip