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

Model

4

stars

3

commits

2

repos using this model

2

linked in READMEs

Jan 10, 2022

updated

endpoints_compatible
pytorch
transformers

README

ruclip-vit-base-patch32-384

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: 384
  • Vision Layers: 12
  • Vision Width: 768
  • Vision Patch Size: 32

Usage Github

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

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.642
CIFAR10acc0.862
CIFAR100acc0.529
Birdsnapacc0.161
SUN397acc0.510
Stanford Carsacc0.572
DTDacc0.390
MNISTacc0.404
STL10acc0.946
PCamacc0.506
CLEVRacc0.188
Rendered SST2acc0.508
ImageNetacc0.451
FGVC Aircraftmean-per-class0.053
Oxford Petsmean-per-class0.587
Caltech101mean-per-class0.834
Flowers102mean-per-class0.449
HatefulMemesroc-auc0.537

Authors

Contributors

ai-forever

1 commits

SH
shonenkov

1 commits

system

1 commits

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

Model

4

stars

3

commits

2

repos using this model

2

linked in READMEs

Jan 10, 2022

updated

endpoints_compatible
pytorch
transformers

README

ruclip-vit-base-patch32-384

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: 384
  • Vision Layers: 12
  • Vision Width: 768
  • Vision Patch Size: 32

Usage Github

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

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.642
CIFAR10acc0.862
CIFAR100acc0.529
Birdsnapacc0.161
SUN397acc0.510
Stanford Carsacc0.572
DTDacc0.390
MNISTacc0.404
STL10acc0.946
PCamacc0.506
CLEVRacc0.188
Rendered SST2acc0.508
ImageNetacc0.451
FGVC Aircraftmean-per-class0.053
Oxford Petsmean-per-class0.587
Caltech101mean-per-class0.834
Flowers102mean-per-class0.449
HatefulMemesroc-auc0.537

Authors

Contributors

ai-forever

1 commits

SH
shonenkov

1 commits

system

1 commits