ai-forever/ruclip-vit-base-patch32-224

Model

0

stars

11

commits

3

repos using this model

2

linked in READMEs

Jan 9, 2022

updated

endpoints_compatible
pytorch
transformers

README

ruclip-vit-base-patch32-224

RuCLIP (Russian Contrastive Language–Image Pretraining) is a multimodal model for obtaining images and text similarities and rearranging captions and pictures. RuCLIP builds on a large body of work on zero-shot transfer, computer vision, natural language processing and multimodal learning.

Model was trained by Sber AI and SberDevices teams.

  • Task: text ranking; image ranking; zero-shot image classification;
  • Type: encoder
  • Num Parameters: 150M
  • Training Data Volume: 240 million text-image pairs
  • Language: Russian
  • Context Length: 77
  • Transformer Layers: 12
  • Transformer Width: 512
  • Transformer Heads: 8
  • Image Size: 224
  • Vision Layers: 12
  • Vision Width: 768
  • Vision Patch Size: 32

Usage Github

pip install ruclip
clip, processor = ruclip.load("ruclip-vit-base-patch32-224", device="cuda")

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.505
CIFAR10acc0.818
CIFAR100acc0.504
Birdsnapacc0.115
SUN397acc0.452
Stanford Carsacc0.433
DTDacc0.380
MNISTacc0.447
STL10acc0.932
PCamacc0.501
CLEVRacc0.148
Rendered SST2acc0.489
ImageNetacc0.375
FGVC Aircraftmean-per-class0.033
Oxford Petsmean-per-class0.560
Caltech101mean-per-class0.786
Flowers102mean-per-class0.401
HatefulMemesroc-auc0.564

Authors

Contributors

ai-forever

9 commits

SH
shonenkov

1 commits

system

1 commits

ai-forever/ruclip-vit-base-patch32-224

Model

0

stars

11

commits

3

repos using this model

2

linked in READMEs

Jan 9, 2022

updated

endpoints_compatible
pytorch
transformers

README

ruclip-vit-base-patch32-224

RuCLIP (Russian Contrastive Language–Image Pretraining) is a multimodal model for obtaining images and text similarities and rearranging captions and pictures. RuCLIP builds on a large body of work on zero-shot transfer, computer vision, natural language processing and multimodal learning.

Model was trained by Sber AI and SberDevices teams.

  • Task: text ranking; image ranking; zero-shot image classification;
  • Type: encoder
  • Num Parameters: 150M
  • Training Data Volume: 240 million text-image pairs
  • Language: Russian
  • Context Length: 77
  • Transformer Layers: 12
  • Transformer Width: 512
  • Transformer Heads: 8
  • Image Size: 224
  • Vision Layers: 12
  • Vision Width: 768
  • Vision Patch Size: 32

Usage Github

pip install ruclip
clip, processor = ruclip.load("ruclip-vit-base-patch32-224", device="cuda")

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.505
CIFAR10acc0.818
CIFAR100acc0.504
Birdsnapacc0.115
SUN397acc0.452
Stanford Carsacc0.433
DTDacc0.380
MNISTacc0.447
STL10acc0.932
PCamacc0.501
CLEVRacc0.148
Rendered SST2acc0.489
ImageNetacc0.375
FGVC Aircraftmean-per-class0.033
Oxford Petsmean-per-class0.560
Caltech101mean-per-class0.786
Flowers102mean-per-class0.401
HatefulMemesroc-auc0.564

Authors

Contributors

ai-forever

9 commits

SH
shonenkov

1 commits

system

1 commits