/ Модель

Характеристики

Контекст
77 токенов
Лицензия
MIT
Опубликована
6 мар 2023

CLIP-ViT-g-14-laion2B-s34B-b88K

Классификация изображений без дообученияИзображение, текст → label3 профессии

CLIP ViT-g/14 от LAION сопоставляет изображения и английские текстовые запросы для zero-shot классификации и поиска.

5 791скачиваний за 30 дней29лайковвеса обновлены22 янв 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки41

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

  • CVBenchDistance

    main_score

    Результат

    0,4133

    MTEB

    Публичная таблицадругая ревизия

  • TinyImageNetClustering

    main_score

    Результат

    0,721

    MTEB

    Публичная таблицадругая ревизия

  • Caltech101

    main_score

    Результат

    0,9536

    MTEB

    Публичная таблицадругая ревизия

  • ImageNetDog15Clustering

    main_score

    Результат

    0,8146

    MTEB

    Публичная таблицадругая ревизия

  • CIFAR100Clustering

    main_score

    Результат

    0,7813

    MTEB

    Публичная таблицадругая ревизия

  • Winoground

    main_score

    Результат

    0,09

    MTEB

    Публичная таблицадругая ревизия

  • XM3600T2IRetrieval

    main_score

    Результат

    0,039

    Общий результат 0,2302Общий результат 0,0998Общий результат 0,0399
    MTEB

    Публичная таблицадругая ревизия

  • RenderedSST2

    main_score

    Результат

    0,6557

    MTEB

    Публичная таблицадругая ревизия

  • AROVisualAttribution

    main_score

    Результат

    0,6289

    MTEB

    Публичная таблицадругая ревизия

  • SciMMIRT2IRetrieval

    main_score

    Результат

    0,2423

    MTEB

    Публичная таблицадругая ревизия

  • FashionIQIT2IRetrieval

    main_score

    Результат

    0,0392

    MTEB

    Публичная таблицадругая ревизия

  • CIFAR100ZeroShot

    main_score

    Результат

    0,7793

    MTEB

    Публичная таблицадругая ревизия

  • OVENIT2TRetrieval

    main_score

    Результат

    0,0988

    MTEB

    Публичная таблицадругая ревизия

  • RP2kI2IRetrieval

    main_score

    Результат

    0,683

    MTEB

    Публичная таблицадругая ревизия

  • VidoreSyntheticDocQAEnergyRetrieval

    main_score

    Результат

    0,6007

    MTEB

    Публичная таблицадругая ревизия

  • CIRRIT2IRetrieval

    main_score

    Результат

    0,1224

    MTEB

    Публичная таблицадругая ревизия

  • MNIST

    main_score

    Результат

    0,9653

    MTEB

    Публичная таблицадругая ревизия

  • STSBenchmarkMultilingualVisualSTS

    main_score

    Результат

    0,3756

    Общий результат 0,4682Общий результат 0,3684Общий результат 0,2566
    MTEB

    Публичная таблицадругая ревизия

  • METI2IRetrieval

    main_score

    Результат

    0,4335

    MTEB

    Публичная таблицадругая ревизия

  • AROCocoOrder

    main_score

    Результат

    0,3292

    MTEB

    Публичная таблицадругая ревизия

  • Flickr30kI2TRetrieval

    main_score

    Результат

    0,8555

    MTEB

    Публичная таблицадругая ревизия

  • HatefulMemesT2IRetrieval

    main_score

    Результат

    0,66

    MTEB

    Публичная таблицадругая ревизия

  • SketchyI2IRetrieval

    main_score

    Результат

    0,7712

    MTEB

    Публичная таблицадругая ревизия

  • InfoSeekIT2TRetrieval

    main_score

    Результат

    0,0874

    MTEB

    Публичная таблицадругая ревизия

  • RESISC45

    main_score

    Результат

    0,9074

    MTEB

    Публичная таблицадругая ревизия

  • RParisHardI2IRetrieval

    main_score

    Результат

    0,0476

    MTEB

    Публичная таблицадругая ревизия

  • ROxfordEasyI2IRetrieval

    main_score

    Результат

    0,2852

    MTEB

    Публичная таблицадругая ревизия

  • WITT2IRetrieval

    main_score

    Результат

    0,3212

    Общий результат 0,4552
    MTEB

    Публичная таблицадругая ревизия

  • EuroSATZeroShot

    main_score

    Результат

    0,6309

    MTEB

    Публичная таблицадругая ревизия

  • StanfordCarsI2IRetrieval

    main_score

    Результат

    0,8952

    MTEB

    Публичная таблицадругая ревизия

  • UCF101ZeroShot

    main_score

    Результат

    0,7

    MTEB

    Публичная таблицадругая ревизия

  • CUB200I2IRetrieval

    main_score

    Результат

    0,7874

    MTEB

    Публичная таблицадругая ревизия

  • STS17MultilingualVisualSTS

    main_score

    Результат

    −0,0479

    Общий результат 0,297
    MTEB

    Публичная таблицадругая ревизия

  • VisualSTS-b-Eng

    main_score

    Результат

    0,6413

    MTEB

    Публичная таблицадругая ревизия

  • SUN397

    main_score

    Результат

    0,7819

    MTEB

    Публичная таблицадругая ревизия

  • STS14VisualSTS

    main_score

    Результат

    0,6232

    MTEB

    Публичная таблицадругая ревизия

  • RParisMediumI2IRetrieval

    main_score

    Результат

    0,0269

    MTEB

    Публичная таблицадругая ревизия

  • GLDv2I2IRetrieval

    main_score

    Результат

    0,2829

    MTEB

    Публичная таблицадругая ревизия

  • OxfordPets

    main_score

    Результат

    0,9271

    MTEB

    Публичная таблицадругая ревизия

  • ImageCoDe

    main_score

    Результат

    0,152

    MTEB

    Публичная таблицадругая ревизия

  • OxfordFlowersClassification

    main_score

    Результат

    0,9918

    MTEB

    Публичная таблицадругая ревизия

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Это модель CLIP ViT-g/14, разработанная Jenia Jitsev с использованием OpenCLIP и обученная на англоязычной подвыборке LAION-5B объёмом 2 млрд пар изображений и текстов. Модель сопоставляет изображения с текстовыми описаниями и предназначена прежде всего для классификации изображений без дообучения по заданным текстовым меткам, а также для поиска по изображениям и текстам. В README указана точность zero-shot классификации ImageNet-1k 78,4% top-1.

Модель подходит для исследовательских экспериментов, оценки zero-shot классификации, извлечения изображений по текстовому запросу и последующей адаптации для задач компьютерного зрения. Обучение и оценка ориентированы на английский язык; качество может зависеть от формулировок меток и предметной области, поэтому перед использованием необходимы проверки на целевых данных. README не рекомендует развёртывание модели в прикладных системах и исключает применение для наблюдения и распознавания лиц. Обучающий набор не курировался и может содержать вредоносный или дискомфортный контент. Лицензия модели — MIT.

Сценарии применения

  • классификация изображений по текстовым меткам без дообучения
  • поиск изображений по текстовому описанию
  • поиск текстовых описаний по изображению
  • сравнение соответствия изображения и подписи
  • исследовательская оценка мультимодальных моделей

Ограничения

Модель предназначена для исследовательского применения; развёртывание, наблюдение и распознавание лиц не рекомендуются. Она обучена на английских данных, её результаты зависят от выбранной таксономии меток, а обучающий набор не курировался и мог содержать вредоносный или дискомфортный контент.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Model card for CLIP-ViT-g-14-laion2B-s34B-b88K

Table of Contents

  1. Model Details
  2. Uses
  3. Training Details
  4. Evaluation
  5. Acknowledgements
  6. Citation
  7. How To Get Started With the Model

Model Details

Model Description

A CLIP ViT-g/14 model trained with the LAION-2B English subset of LAION-5B (https://laion.ai/blog/laion-5b/, https://openreview.net/forum?id=M3Y74vmsMcY) using OpenCLIP (https://github.com/mlfoundations/open_clip).

Model training done by Jenia Jitsev on JUWELS Booster at Juelich Supercomputing Center and on the stability.ai AWS HPC cluster. Training performed in frame of reproducible scaling law studies, published as research paper at CVPR 2023. See also the research repository

Uses

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. Additionally, the LAION-5B blog (https://laion.ai/blog/laion-5b/) and LAION-5B NeurIPS paper include additional discussion as it relates specifically to the training dataset.

Direct Use

Zero-shot image classification, image and text retrieval, among others.

Downstream Use

Image classification and other image task fine-tuning, linear probe image classification, image generation guiding and conditioning, among others.

Out-of-Scope Use

As per the OpenAI models,

Any deployed use case of the model - whether commercial or not - is currently out of scope. Non-deployed use cases such as image search in a constrained environment, are also not recommended unless there is thorough in-domain testing of the model with a specific, fixed class taxonomy. This is because our safety assessment demonstrated a high need for task specific testing especially given the variability of CLIP’s performance with different class taxonomies. This makes untested and unconstrained deployment of the model in any use case currently potentially harmful.

Certain use cases which would fall under the domain of surveillance and facial recognition are always out-of-scope regardless of performance of the model. This is because the use of artificial intelligence for tasks such as these can be premature currently given the lack of testing norms and checks to ensure its fair use.

Since the model has not been purposefully trained in or evaluated on any languages other than English, its use should be limited to English language use cases.

Further the above notice, the LAION-5B dataset used in training of these models has additional considerations, see below.

Training Details

Training Data

This model was trained with the 2 Billion sample English subset of LAION-5B (https://laion.ai/blog/laion-5b/).

IMPORTANT NOTE: The motivation behind dataset creation is to democratize research and experimentation around large-scale multi-modal model training and handling of uncurated, large-scale datasets crawled from publically available internet. Our recommendation is therefore to use the dataset for research purposes. Be aware that this large-scale dataset is uncurated. Keep in mind that the uncurated nature of the dataset means that collected links may lead to strongly discomforting and disturbing content for a human viewer. Therefore, please use the demo links with caution and at your own risk. It is possible to extract a “safe” subset by filtering out samples based on the safety tags (using a customized trained NSFW classifier that we built). While this strongly reduces the chance for encountering potentially harmful content when viewing, we cannot entirely exclude the possibility for harmful content being still present in safe mode, so that the warning holds also there. We think that providing the dataset openly to broad research and other interested communities will allow for transparent investigation of benefits that come along with training large-scale models as well as pitfalls and dangers that may stay unreported or unnoticed when working with closed large datasets that remain restricted to a small community. Providing our dataset openly, we however do not recommend using it for creating ready-to-go industrial products, as the basic research about general properties and safety of such large-scale models, which we would like to encourage with this release, is still in progress.

Training Procedure

OpenCLIP ViT-g/14 model was trained on 34.5B samples (135M * 256 checkpoints) from laion2b-en (part of LAION-5B) dataset. Warmup = 13.5k steps, learning rate = 1e-3, cosine annealing schedule, weight decay = 0.2. Global batch size = 88800, number of GPUs = 1480, local batch size = 60

Evaluation

Evaluation done with code in the LAION CLIP Benchmark suite.

Testing Data, Factors & Metrics

Testing Data

The testing is performed with VTAB+ (A combination of VTAB (https://arxiv.org/abs/1910.04867) w/ additional robustness datasets) for classification and COCO and Flickr for retrieval.

TODO - more detail

Results

The model achieves a 78.4 zero-shot top-1 accuracy on ImageNet-1k.

An initial round of benchmarks have been performed on a wider range of datasets, currently viewable at https://github.com/LAION-AI/CLIP_benchmark/blob/main/benchmark/results.ipynb

TODO - create table for just this model's metrics.

Acknowledgements

We gratefully acknowledge the Gauss Centre for Supercomputing e.V. (www.gauss-centre.eu) for funding the work by providing computing time through the John von Neumann Institute for Computing (NIC) on the GCS Supercomputer JUWELS Booster at Jülich Supercomputing Centre (JSC) We also acknowledge storage resources on JUST granted and operated by JSC, as well as computing resources from the Helmholtz Data Federation (HDF). We further acknowledge stability.ai providing additional compute used to train this model.

Citation

BibTeX:

Please cite:

LAION-5B paper

@inproceedings{Schuhmann2022,
title={{LAION}-5{B}: An open large-scale dataset for training next generation image-text models},
author={Christoph Schuhmann and Romain Beaumont and Richard Vencu and Cade W Gordon and Ross Wightman and Mehdi Cherti and Theo Coombes and Aarush Katta and Clayton Mullis and Mitchell Wortsman and Patrick Schramowski and Srivatsa R Kundurthy and Katherine Crowson and Ludwig Schmidt and Robert Kaczmarczyk and Jenia Jitsev},
booktitle={Thirty-sixth Conference on Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track},
year={2022},
volume={35},
pages={25278--25294},
url={https://openreview.net/forum?id=M3Y74vmsMcY}
}

Reproducible scaling laws for openCLIP paper

@inproceedings{Cherti2023,
  title={Reproducible scaling laws for contrastive language-image learning},
  author={Cherti, Mehdi and Beaumont, Romain and Wightman, Ross and Wortsman, Mitchell and Ilharco, Gabriel and Gordon, Cade and Schuhmann, Christoph and Schmidt, Ludwig and Jitsev, Jenia},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={2818--2829},
  year={2023}
}

OpenAI CLIP paper

@inproceedings{Radford2021LearningTV,
  title={Learning Transferable Visual Models From Natural Language Supervision},
  author={Alec Radford and Jong Wook Kim and Chris Hallacy and A. Ramesh and Gabriel Goh and Sandhini Agarwal and Girish Sastry and Amanda Askell and Pamela Mishkin and Jack Clark and Gretchen Krueger and Ilya Sutskever},
  booktitle={ICML},
  year={2021}
}

OpenCLIP software

@software{ilharco_gabriel_2021_5143773,
  author       = {Ilharco, Gabriel and
                  Wortsman, Mitchell and
                  Wightman, Ross and
                  Gordon, Cade and
                  Carlini, Nicholas and
                  Taori, Rohan and
                  Dave, Achal and
                  Shankar, Vaishaal and
                  Namkoong, Hongseok and
                  Miller, John and
                  Hajishirzi, Hannaneh and
                  Farhadi, Ali and
                  Schmidt, Ludwig},
  title        = {OpenCLIP},
  month        = jul,
  year         = 2021,
  note         = {If you use this software, please cite it as below.},
  publisher    = {Zenodo},
  version      = {0.1},
  doi          = {10.5281/zenodo.5143773},
  url          = {https://doi.org/10.5281/zenodo.5143773}
}

How to Get Started with the Model

Use the code below to get started with the model.

** TODO ** - Hugging Face transformers, OpenCLIP, and timm getting started snippets

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Модели OpenCLIP требуют отдельного рантайма.

Ревизия весов
a20bc45

0 моделей