keras-io / deit

huggingface.co
Total runs: 10
24-hour runs: 2
7-day runs: 5
30-day runs: -1
Model's Last Updated: July 05 2024

Introduction of deit

Model Details of deit

Model description

This model is implementation of the distillation recipe proposed in DeiT.
Visit Keras example on Distilling Vision Transformers .

Full credits to: Sayak Paul

In the original Vision Transformers (ViT) paper (Dosovitskiy et al.), the authors concluded that to perform on par with Convolutional Neural Networks (CNNs), ViTs need to be pre-trained on larger datasets. The larger the better. This is mainly due to the lack of inductive biases in the ViT architecture -- unlike CNNs, they don't have layers that exploit locality.

Many groups have proposed different ways to deal with the problem of data-intensiveness of ViT training. One such way was shown in the Data-efficient image Transformers, (DeiT) paper (Touvron et al.). The authors introduced a distillation technique that is specific to transformer-based vision models. DeiT is among the first works to show that it's possible to train ViTs well without using larger datasets.

Intended uses & limitations

The model is trained for demonstrative purposes and does not guarantee the best results in production.
For better results, follow & optimize the Keras example as per your need.

Training and evaluation data

The model is trained and evaluated on TF Flowers dataset

Training procedure

Training procedure is followed exactly as from the keras example .
The batch size is however decreased to 16 from the original 256 for accomodating the model in a single V100 GPU memory.

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 6.25000029685907e-05 0.0 0.8999999761581421 0.9990000128746033 1e-07 False 9.999999747378752e-05 None float32
Model Plot
View Model Plot

Model Image

Runs of keras-io deit on huggingface.co

10
Total runs
2
24-hour runs
3
3-day runs
5
7-day runs
-1
30-day runs

More Information About deit huggingface.co Model

deit huggingface.co

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

keras-io deit online free

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

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

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

deit install

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

deit install url in huggingface.co:

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

Url of deit

Provider of deit huggingface.co

keras-io
ORGANIZATIONS

Other API from keras-io

huggingface.co

Total runs: 41
Run Growth: 21
Growth Rate: 51.22%
Updated:February 18 2022
huggingface.co

Total runs: 38
Run Growth: 29
Growth Rate: 78.38%
Updated:August 15 2022
huggingface.co

Total runs: 23
Run Growth: 7
Growth Rate: 38.89%
Updated:July 05 2024
huggingface.co

Total runs: 18
Run Growth: -14
Growth Rate: -77.78%
Updated:May 23 2025
huggingface.co

Total runs: 18
Run Growth: -5
Growth Rate: -27.78%
Updated:January 13 2022
huggingface.co

Total runs: 16
Run Growth: -4
Growth Rate: -26.67%
Updated:July 05 2024
huggingface.co

Total runs: 16
Run Growth: 11
Growth Rate: 68.75%
Updated:February 23 2022
huggingface.co

Total runs: 15
Run Growth: 8
Growth Rate: 53.33%
Updated:February 06 2022
huggingface.co

Total runs: 14
Run Growth: 6
Growth Rate: 42.86%
Updated:July 05 2024
huggingface.co

Total runs: 12
Run Growth: -2
Growth Rate: -16.67%
Updated:February 04 2022
huggingface.co

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

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

Total runs: 9
Run Growth: 1
Growth Rate: 11.11%
Updated:July 05 2024
huggingface.co

Total runs: 7
Run Growth: 3
Growth Rate: 42.86%
Updated:March 01 2022
huggingface.co

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

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

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

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

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:February 16 2022
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:July 05 2024
huggingface.co

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