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

Model

1

stars

3

commits

2

repos using this model

2

linked in READMEs

Jan 11, 2022

updated

endpoints_compatible
pytorch
transformers

README

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

Usage Github

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

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.689
CIFAR10acc0.845
CIFAR100acc0.569
Birdsnapacc0.195
SUN397acc0.521
Stanford Carsacc0.626
DTDacc0.421
MNISTacc0.478
STL10acc0.964
PCamacc0.501
CLEVRacc0.132
Rendered SST2acc0.525
ImageNetacc0.482
FGVC Aircraftmean-per-class0.046
Oxford Petsmean-per-class0.635
Caltech101mean-per-class0.835
Flowers102mean-per-class0.452
HatefulMemesroc-auc0.543

Authors

Contributors

ai-forever

1 commits

SH
shonenkov

1 commits

system

1 commits

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

Model

1

stars

3

commits

2

repos using this model

2

linked in READMEs

Jan 11, 2022

updated

endpoints_compatible
pytorch
transformers

README

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

Usage Github

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

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.689
CIFAR10acc0.845
CIFAR100acc0.569
Birdsnapacc0.195
SUN397acc0.521
Stanford Carsacc0.626
DTDacc0.421
MNISTacc0.478
STL10acc0.964
PCamacc0.501
CLEVRacc0.132
Rendered SST2acc0.525
ImageNetacc0.482
FGVC Aircraftmean-per-class0.046
Oxford Petsmean-per-class0.635
Caltech101mean-per-class0.835
Flowers102mean-per-class0.452
HatefulMemesroc-auc0.543

Authors

Contributors

ai-forever

1 commits

SH
shonenkov

1 commits

system

1 commits