n1hal's picture
End of training
dd142b5 verified
metadata
license: apache-2.0
base_model: google/vit-base-patch16-224-in21k
tags:
  - generated_from_trainer
metrics:
  - accuracy
model-index:
  - name: Small_Weeds_Classification
    results: []

Small_Weeds_Classification

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 2.7318
  • Accuracy: 0.4200

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: 0.0001
  • train_batch_size: 16
  • eval_batch_size: 8
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 64
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 6

Training results

Training Loss Epoch Step Validation Loss Accuracy
4.2032 0.9996 662 4.1884 0.2552
3.3354 1.9992 1324 3.4367 0.3206
2.8501 2.9989 1986 3.0902 0.3626
2.643 4.0 2649 2.9247 0.3870
2.4272 4.9996 3311 2.8228 0.4070
2.1558 5.9977 3972 2.7318 0.4200

Framework versions

  • Transformers 4.43.3
  • Pytorch 2.4.0+cu121
  • Datasets 2.20.0
  • Tokenizers 0.19.1