deit_black / README.md
huyhuy12302's picture
Update README.md
9723b2a verified
metadata
license: apache-2.0
base_model: facebook/deit-base-patch16-224
tags:
  - generated_from_trainer
datasets:
  - imagefolder
metrics:
  - accuracy
model-index:
  - name: model
    results:
      - task:
          name: Image Classification
          type: image-classification
        dataset:
          name: imagefolder
          type: imagefolder
          config: default
          split: train
          args: default
        metrics:
          - name: Accuracy
            type: accuracy
            value: 1
library_name: transformers

model

This model is a fine-tuned version of facebook/deit-base-patch16-224 on the imagefolder dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0003
  • Accuracy: 1.0

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 500
  • num_epochs: 10

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.322 1.0 138 0.0291 0.99
0.0225 2.0 276 0.0040 1.0
0.012 3.0 414 0.0005 1.0
0.0022 4.0 552 0.0002 1.0
0.0008 5.0 690 0.0016 1.0
0.0 6.0 828 0.0006 1.0
0.0 7.0 966 0.0004 1.0
0.0 8.0 1104 0.0003 1.0
0.0 9.0 1242 0.0003 1.0
0.0 10.0 1380 0.0003 1.0

Framework versions

  • Transformers 4.44.0
  • Pytorch 2.4.0
  • Datasets 2.21.0
  • Tokenizers 0.19.1