CoolFace
Modelpublic

masafresh/swin-transformer-class

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes27downloads
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. -->

swin-transformer-class

This model is a fine-tuned version of microsoft/swinv2-base-patch4-window16-256 on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 1.2549
  • —Accuracy: 0.4953
  • —F1: 0.4547

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.0005
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 64
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 150

Training results

Training LossEpochStepValidation LossAccuracyF1
2.13810.9748292.11030.25940.1420
1.94621.9832591.89630.27830.1481
1.72992.9916891.69780.30660.2504
1.64064.01191.59540.35850.3221
1.50674.97481481.53390.39150.3527
1.45665.98321781.49720.41510.3769
1.44876.99162081.46350.43870.3369
1.43358.02381.43770.44810.3958
1.39748.97482671.42130.46230.4066
1.35429.98322971.40040.45750.4090
1.296410.99163271.38800.44340.3832
1.307312.03571.37160.49060.4449
1.325612.97483861.36640.45280.4175
1.286713.98324161.36220.44340.4033
1.309614.99164461.34180.47640.4281
1.301216.04761.33210.45280.4161
1.308616.97485051.32480.44810.3578
1.264617.98325351.31640.47170.4269
1.264718.99165651.31400.48110.4394
1.267320.05951.30730.46700.4311
1.264920.97486241.29990.49060.4319
1.272121.98326541.30070.47640.4236
1.31722.99166841.29820.46700.4167
1.239724.07141.30310.46230.4115
1.20924.97487431.30750.48110.4379
1.199425.98327731.30910.42450.3765
1.269526.99168031.30170.47170.4362
1.216728.08331.29860.45750.4153
1.23428.97488621.30820.42920.3773
1.272629.98328921.30030.46700.4238
1.20730.99169221.29640.46700.4260
1.153432.09521.30590.42920.3727
1.247732.97489811.29240.48580.4397
1.220233.983210111.29240.46230.3850
1.224834.991610411.29690.44340.3680
1.177536.010711.28480.49530.4485
1.240136.974811001.28870.45750.4214
1.231137.983211301.28380.48580.4420
1.214338.991611601.28460.49060.4354
1.154840.011901.28280.44810.4057
1.140540.974812191.28780.47170.4356
1.195741.983212491.28390.45280.4063
1.21142.991612791.28530.46700.4097
1.184944.013091.27790.48110.4360
1.146644.974813381.27650.47640.4341
1.138645.983213681.28360.46230.4184
1.225846.991613981.27180.47170.4293
1.213948.014281.26950.49060.4409
1.193848.974814571.27370.47640.4385
1.217149.983214871.27090.46700.4189
1.180450.991615171.26570.47640.4327
1.14352.015471.27010.47640.4345
1.172352.974815761.27830.47170.4152
1.145453.983216061.26700.50470.4496
1.195754.991616361.27090.46700.4211
1.238356.016661.27520.46700.4136
1.193556.974816951.26700.46230.4201
1.15957.983217251.26960.47170.4199
1.226758.991617551.26760.48580.4404
1.204760.017851.26590.47640.4336
1.116860.974818141.26800.49530.4466
1.239661.983218441.27410.44810.4045
1.119362.991618741.27910.46230.4184
1.158764.019041.26570.48580.4369
1.149264.974819331.27360.47170.4367
1.130365.983219631.26830.48110.4300
1.167266.991619931.26830.49530.4494
1.203568.020231.26670.48110.4447
1.149468.974820521.26450.48580.4476
1.153769.983220821.27140.48110.4434
1.1870.991621121.27010.48110.4344
1.138672.021421.26880.48580.4440
1.175772.974821711.26940.49060.4514
1.133573.983222011.27120.48580.4419
1.166974.991622311.27010.50940.4651
1.186276.022611.26840.47640.4316
1.169576.974822901.26420.49060.4509
1.131777.983223201.26870.48110.4391
1.202378.991623501.26470.50.4579
1.160380.023801.26500.50.4596
1.146180.974824091.26230.48110.4396
1.135681.983224391.26210.49530.4449
1.164682.991624691.27130.49530.4526
1.15284.024991.26610.50470.4632
1.099984.974825281.26850.50470.4576
1.174985.983225581.27160.48580.4459
1.182386.991625881.26240.49060.4441
1.173688.026181.26500.48110.4377
1.156588.974826471.26670.46700.4226
1.156589.983226771.26670.49530.4453
1.19290.991627071.26340.50470.4635
1.127192.027371.26390.47640.4303
1.1992.974827661.26310.48580.4412
1.186693.983227961.26160.49530.4555
1.082994.991628261.25860.49530.4522
1.169296.028561.26080.49060.4497
1.150396.974828851.26070.49530.4551
1.126397.983229151.25770.49530.4543
1.219998.991629451.25700.50470.4601
1.1347100.029751.25550.49530.4503
1.1583100.974830041.25570.50.4592
1.1697101.983230341.25780.48580.4467
1.1918102.991630641.25720.50470.4598
1.1959104.030941.25630.50940.4649
1.2032104.974831231.25510.49060.4480
1.2031105.983231531.25520.49060.4491
1.1565106.991631831.25440.51420.4668
1.1703108.032131.25700.50.4598
1.2085108.974832421.25500.50940.4639
1.1641109.983232721.25780.49530.4551
1.1846110.991633021.25790.49060.4510
1.1989112.033321.25600.50.4579
1.111112.974833611.25610.49530.4545
1.1703113.983233911.25610.50470.4567
1.165114.991634211.25670.50.4480
1.1295116.034511.25820.49530.4475
1.1084116.974834801.25740.50.4571
1.1577117.983235101.25730.50470.4617
1.156118.991635401.25650.49530.4559
1.1491120.035701.25640.50.4573
1.1396120.974835991.25720.50.4534
1.1545121.983236291.25650.50.4604
1.1796122.991636591.25630.50.4593
1.2012124.036891.25590.48580.4454
1.1396124.974837181.25670.49530.4555
1.1999125.983237481.25580.48580.4450
1.1524126.991637781.25690.49530.4554
1.2299128.038081.25600.49530.4525
1.1548128.974838371.25530.47640.4375
1.1869129.983238671.25540.48110.4426
1.1891130.991638971.25550.48110.4423
1.1353132.039271.25650.49530.4554
1.1717132.974839561.25690.50470.4643
1.1536133.983239861.25560.50.4574
1.1667134.991640161.25550.50.4594
1.1633136.040461.25500.49530.4551
1.1646136.974840751.25390.48580.4457
1.1618137.983241051.25400.50470.4594
1.1581138.991641351.25450.48580.4460
1.117140.041651.25490.48580.4457
1.184140.974841941.25520.49060.4504
1.1323141.983242241.25530.49060.4504
1.1219142.991642541.25500.49530.4547
1.1478144.042841.25500.49530.4547
1.1177144.974843131.25500.49530.4547
1.1326145.983243431.25490.49530.4547
1.1392146.218543501.25490.49530.4547

Framework versions

  • —Transformers 4.45.2
  • —Pytorch 2.4.0+cu121
  • —Datasets 3.1.0
  • —Tokenizers 0.20.1