All models

bit (image classification)

A ResNetv2-style convolutional network with group normalization and weight standardization, built for transfer.

Image classification · 353 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (26 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
bit
Parameters
23.5M
Operations
353
Framework
PyTorch
Recurrent
No
Name in source
bit:image-classification
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3689
Graph hash
abd560d48676e585eac8b64811b1e5add608af2c41046e9300ffd6a2c61f713e
Skeleton hash
2ac103797f7b360a7196fd6ebf01011c1d0d2d8170fe4be66c0d3a965278f20d
Architecture hash
3c63a826eb8f375a3669e9e5c471ba348194871b804a7f904af98a2beb8ac91e
Diagram SHA-256
1f799349edbb5d4668e3a0e08a332571e0ccab6cdcba1c21f3a175766520c982
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

transformers.AutoModelForImageClassification.from_config()

What it is

This model is the image classification form of BiT, the class BitForImageClassification.

About this model's family

BiT, short for Big Transfer, is a recipe for scaling up the pre-training of ResNet-like image networks, specifically ResNetv2. The idea is to pre-train on large supervised datasets and then fine-tune the model on a target task.

In architecture a BiT model is equivalent to ResNetv2 with two changes: all batch normalization layers are replaced by group normalization, and the convolutional layers use weight standardization. The authors show that the two together are useful for training with large batch sizes and have a significant impact on transfer learning. The paper reports 87.5% top-1 accuracy on ILSVRC-2012, 99.4% on CIFAR-10 and 76.3% on the 19 task Visual Task Adaptation Benchmark (VTAB). With 10 examples per class, it reports 76.8% on ILSVRC-2012 and 97.0% on CIFAR-10.

Key idea. The paper scales up supervised pre-training of ResNet-like networks with a simple recipe, Big Transfer, and reports strong transfer performance on over 20 datasets.

  • bit
  • big transfer
  • bit model
  • group normalization
  • weight standardization
  • transfer learning
  • large-scale pre-training
  • image classification

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.