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

Model

1

stars

6

commits

2

repos using this model

2

linked in READMEs

Jan 9, 2022

updated

endpoints_compatible
pytorch
transformers

README

ruclip-vit-base-patch16-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: 16

Usage Github

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

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.552
CIFAR10acc0.810
CIFAR100acc0.496
Birdsnapacc0.117
SUN397acc0.462
Stanford Carsacc0.487
DTDacc0.401
MNISTacc0.464
STL10acc0.932
PCamacc0.505
CLEVRacc0.128
Rendered SST2acc0.527
ImageNetacc0.401
FGVC Aircraftmean-per-class0.043
Oxford Petsmean-per-class0.595
Caltech101mean-per-class0.775
Flowers102mean-per-class0.388
HatefulMemesroc-auc0.516

Authors

Contributors

ai-forever

4 commits

SH
shonenkov

1 commits

system

1 commits

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

Model

1

stars

6

commits

2

repos using this model

2

linked in READMEs

Jan 9, 2022

updated

endpoints_compatible
pytorch
transformers

README

ruclip-vit-base-patch16-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: 16

Usage Github

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

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.552
CIFAR10acc0.810
CIFAR100acc0.496
Birdsnapacc0.117
SUN397acc0.462
Stanford Carsacc0.487
DTDacc0.401
MNISTacc0.464
STL10acc0.932
PCamacc0.505
CLEVRacc0.128
Rendered SST2acc0.527
ImageNetacc0.401
FGVC Aircraftmean-per-class0.043
Oxford Petsmean-per-class0.595
Caltech101mean-per-class0.775
Flowers102mean-per-class0.388
HatefulMemesroc-auc0.516

Authors

Contributors

ai-forever

4 commits

SH
shonenkov

1 commits

system

1 commits