ai-forever/ruclip-vit-large-patch14-336

Model

3

stars

3

commits

2

repos using this model

2

linked in READMEs

Jan 9, 2022

updated

endpoints_compatible
pytorch
transformers

README

ruclip-vit-large-patch14-336

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: 430M
  • Training Data Volume: 240 million text-image pairs
  • Language: Russian
  • Context Length: 77
  • Transformer Layers: 12
  • Transformer Width: 768
  • Transformer Heads: 12
  • Image Size: 336
  • Vision Layers: 24
  • Vision Width: 1024
  • Vision Patch Size: 14

Usage Github

pip install ruclip
clip, processor = ruclip.load("ruclip-vit-large-patch14-336", device="cuda")

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.712
CIFAR10acc0.906
CIFAR100acc0.591
Birdsnapacc0.213
SUN397acc0.523
Stanford Carsacc0.659
DTDacc0.408
MNISTacc0.242
STL10acc0.956
PCamacc0.554
CLEVRacc0.142
Rendered SST2acc0.539
ImageNetacc0.488
FGVC Aircraftmean-per-class0.075
Oxford Petsmean-per-class0.546
Caltech101mean-per-class0.835
Flowers102mean-per-class0.517
HatefulMemesroc-auc0.519

Authors

Contributors

ai-forever

1 commits

SH
shonenkov

1 commits

system

1 commits

ai-forever/ruclip-vit-large-patch14-336

Model

3

stars

3

commits

2

repos using this model

2

linked in READMEs

Jan 9, 2022

updated

endpoints_compatible
pytorch
transformers

README

ruclip-vit-large-patch14-336

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: 430M
  • Training Data Volume: 240 million text-image pairs
  • Language: Russian
  • Context Length: 77
  • Transformer Layers: 12
  • Transformer Width: 768
  • Transformer Heads: 12
  • Image Size: 336
  • Vision Layers: 24
  • Vision Width: 1024
  • Vision Patch Size: 14

Usage Github

pip install ruclip
clip, processor = ruclip.load("ruclip-vit-large-patch14-336", device="cuda")

Performance

We have evaluated the performance on the following datasets:

DatasetMetric NameMetric Result
Food101acc0.712
CIFAR10acc0.906
CIFAR100acc0.591
Birdsnapacc0.213
SUN397acc0.523
Stanford Carsacc0.659
DTDacc0.408
MNISTacc0.242
STL10acc0.956
PCamacc0.554
CLEVRacc0.142
Rendered SST2acc0.539
ImageNetacc0.488
FGVC Aircraftmean-per-class0.075
Oxford Petsmean-per-class0.546
Caltech101mean-per-class0.835
Flowers102mean-per-class0.517
HatefulMemesroc-auc0.519

Authors

Contributors

ai-forever

1 commits

SH
shonenkov

1 commits

system

1 commits