huggingface.co
Total runs: 14
24-hour runs: 0
7-day runs: 2
30-day runs: 2
Model's Last Updated: July 05 2024
image-classification

Introduction of cct

Model Details of cct

Compact Convolutional Transformers

Based on the Compact Convolutional Transformers example on keras.io created by Sayak Paul .

Model description

As discussed in the Vision Transformers (ViT) paper, a Transformer-based architecture for vision typically requires a larger dataset than usual, as well as a longer pre-training schedule. ImageNet-1k (which has about a million images) is considered to fall under the medium-sized data regime with respect to ViTs. This is primarily because, unlike CNNs, ViTs (or a typical Transformer-based architecture) do not have well-informed inductive biases (such as convolutions for processing images). This begs the question: can't we combine the benefits of convolution and the benefits of Transformers in a single network architecture? These benefits include parameter-efficiency, and self-attention to process long-range and global dependencies (interactions between different regions in an image).

In Escaping the Big Data Paradigm with Compact Transformers , Hassani et al. present an approach for doing exactly this. They proposed the Compact Convolutional Transformer (CCT) architecture.

Intended uses & limitations
  • In the original paper, the authors use AutoAugment to induce stronger regularization. In this example, the standard geometric augmentations (like random cropping and flipping) are used.
  • The CCT model was trained for 30 epochs. Its plot in the 'Training Metrics' tab shows no signs of overfitting. This means that this network can be trained for longer (perhaps with a bit more regularization) and better performance may be obtained. This performance can further be improved by additional recipes like cosine decay learning rate schedule, other data augmentation techniques like AutoAugment, MixUp or Cutmix.
Training and evaluation data

The model is trained using the CIFAR-10 dataset .

Training procedure
Training hyperparameters

The following hyperparameters were used during training:

name learning_rate decay beta_1 beta_2 epsilon amsgrad weight_decay exclude_from_weight_decay training_precision
AdamW 0.0010000000474974513 0.0 0.8999999761581421 0.9990000128746033 1e-07 False 9.999999747378752e-05 None float32
Model Plot
View Model Plot

Model Image

Model reproduced by Edoardo Abati

Runs of keras-io cct on huggingface.co

14
Total runs
0
24-hour runs
1
3-day runs
2
7-day runs
2
30-day runs

More Information About cct huggingface.co Model

cct huggingface.co

cct huggingface.co is an AI model on huggingface.co that provides cct's model effect (), which can be used instantly with this keras-io cct model. huggingface.co supports a free trial of the cct model, and also provides paid use of the cct. Support call cct model through api, including Node.js, Python, http.

keras-io cct online free

cct huggingface.co is an online trial and call api platform, which integrates cct's modeling effects, including api services, and provides a free online trial of cct, you can try cct online for free by clicking the link below.

keras-io cct online free url in huggingface.co:

https://huggingface.co/keras-io/cct

cct install

cct is an open source model from GitHub that offers a free installation service, and any user can find cct on GitHub to install. At the same time, huggingface.co provides the effect of cct install, users can directly use cct installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

cct install url in huggingface.co:

https://huggingface.co/keras-io/cct

Url of cct

Provider of cct huggingface.co

keras-io
ORGANIZATIONS

Other API from keras-io

huggingface.co

Total runs: 16
Run Growth: 2
Growth Rate: 14.29%
Updated:July 05 2024
huggingface.co

Total runs: 15
Run Growth: 0
Growth Rate: 0.00%
Updated:July 05 2024
huggingface.co

Total runs: 13
Run Growth: 7
Growth Rate: 53.85%
Updated:July 05 2024
huggingface.co

Total runs: 12
Run Growth: -3
Growth Rate: -25.00%
Updated:May 23 2025
huggingface.co

Total runs: 11
Run Growth: -2
Growth Rate: -18.18%
Updated:July 05 2024
huggingface.co

Total runs: 10
Run Growth: -15
Growth Rate: -150.00%
Updated:July 05 2024
huggingface.co

Total runs: 9
Run Growth: -5
Growth Rate: -55.56%
Updated:July 05 2024
huggingface.co

Total runs: 8
Run Growth: 6
Growth Rate: 75.00%
Updated:March 01 2022
huggingface.co

Total runs: 8
Run Growth: 2
Growth Rate: 25.00%
Updated:July 05 2024
huggingface.co

Total runs: 8
Run Growth: 2
Growth Rate: 25.00%
Updated:August 15 2022
huggingface.co

Total runs: 8
Run Growth: -7
Growth Rate: -87.50%
Updated:July 05 2024
huggingface.co

Total runs: 8
Run Growth: 3
Growth Rate: 37.50%
Updated:February 16 2022
huggingface.co

Total runs: 8
Run Growth: -2
Growth Rate: -25.00%
Updated:January 13 2022
huggingface.co

Total runs: 6
Run Growth: 2
Growth Rate: 33.33%
Updated:February 06 2022
huggingface.co

Total runs: 6
Run Growth: 2
Growth Rate: 33.33%
Updated:July 05 2024
huggingface.co

Total runs: 5
Run Growth: -5
Growth Rate: -100.00%
Updated:February 18 2022
huggingface.co

Total runs: 4
Run Growth: -9
Growth Rate: -225.00%
Updated:February 04 2022
huggingface.co

Total runs: 3
Run Growth: -7
Growth Rate: -233.33%
Updated:July 05 2024
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:February 23 2022
huggingface.co

Total runs: 2
Run Growth: -7
Growth Rate: -350.00%
Updated:July 05 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 12 2023