CoolFace
Modelpublic

hanslab37/architectural_styles_classifier

sourceHugging Faceotherupdated 2y agoView on Hugging Face
1likes5downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

architecturalstylesclassifier

This model is a fine-tuned version of nvidia/mit-b0 on the Architectural styles dataset, retrieved from https://www.kaggle.com/datasets/dumitrux/architectural-styles-dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.9412
  • —Accuracy: 0.7223

Model description

Presentation about the model: https://www.canva.com/design/DAGLBMAs1K4/d8qvLN2nchSYVmnrwYzx0w/edit?utmcontent=DAGLBMAs1K4&utmcampaign=designshare&utmmedium=link2&utmsource=sharebutton

You can try the model from Huggingface Space this link: https://huggingface.co/spaces/hanslab37/technospire

Intended uses & limitations

The model were developed as part of experiment to learn about training a model and developing Image Classification model with Gradio in Huggingface. You can use it for experiment only. Not recommended for daily use.

Training and evaluation data

https://www.kaggle.com/datasets/dumitrux/architectural-styles-dataset

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 0.0005
  • —trainbatchsize: 4
  • —evalbatchsize: 4
  • —seed: 42
  • —gradientaccumulationsteps: 16
  • —totaltrainbatch_size: 64
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=0.0003
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 20

Training results

Training LossEpochStepValidation LossAccuracy
1.88550.99601101.77530.4457
1.5831.99212201.62080.4829
1.43432.99723311.32910.5851
1.28363.99324411.25500.6005
1.28854.99835521.14830.6298
1.12265.99436621.12450.6491
0.9856.99947731.13810.6397
0.99637.99558831.09640.6605
0.888.99159931.04070.6739
0.76889.996611041.02880.6918
0.76310.992612140.98350.6898
0.628711.997713251.00490.7037
0.622912.993814351.10100.6918
0.573113.998915460.99100.7082
0.507614.994916561.04570.7112
0.55416.017671.01410.7007
0.38216.996018771.06060.6928
0.45917.992119871.00910.7161
0.401818.997220981.00110.7072
0.398119.920822000.98210.7310

Framework versions

  • —Transformers 4.41.1
  • —Pytorch 2.3.0
  • —Datasets 2.19.1
  • —Tokenizers 0.19.1