
<!-- 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. -->

# Beans_disease_classficationv4

This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0419 
- Accuracy: 0.9925

## 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: 3e-05
- train_batch_size: 64
- eval_batch_size: 32
- seed: 1337
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.0023        | 1.0   | 17   | 0.1371          | 0.9774   |
| 0.002         | 2.0   | 34   | 0.0993          | 0.9774   |
| 0.0234        | 3.0   | 51   | 0.0419          | 0.9925   |


### Framework versions

- Transformers 4.28.0
- Pytorch 2.2.1+cu121
- Datasets 2.19.0
- Tokenizers 0.13.3
label_0 label_1 label_2 label_3 label_4 label_5 label_6 label_7 label_8 label_9 label_10 label_11 label_12 label_13 label_14 label_15 label_16 label_17 label_18 label_19 label_20 label_21 label_22 label_23 label_24 label_25 label_26 label_27 label_28 label_29 label_30 label_31 label_32 label_33 label_34 label_35 label_36 label_37 label_38 label_39 label_40 label_41 label_42 label_43 label_44 label_45 label_46 label_47 label_48 label_49 label_50 label_51 label_52 label_53 label_54 label_55 label_56 label_57 label_58 label_59 label_60 label_61 label_62 label_63 label_64 label_65 label_66 label_67 label_68 label_69 label_70 label_71 label_72 label_73 label_74 label_75 label_76 label_77 label_78 label_79 label_80 label_81 label_82 label_83 label_84 label_85 label_86 label_87 label_88 label_89 label_90 label_91 label_92 label_93 label_94 label_95 label_96 label_97 label_98 label_99 label_100 label_101 label_102 label_103 label_104 label_105 label_106 label_107 label_108 label_109 label_110 label_111 label_112 label_113 label_114 label_115 label_116 label_117 label_118 label_119 label_120 label_121 label_122 label_123 label_124 label_125 label_126 label_127 label_128 label_129 label_130 label_131 label_132 label_133 label_134 label_135 label_136 label_137 label_138 label_139 label_140 label_141 label_142 label_143 label_144 label_145 label_146 label_147 label_148 label_149 label_150 label_151 label_152 label_153 label_154 label_155 label_156 label_157 label_158 label_159 label_160 label_161 label_162 label_163 label_164 label_165 label_166 label_167 label_168 label_169 label_170 label_171 label_172 label_173 label_174 label_175 label_176 label_177 label_178 label_179 label_180 label_181 label_182 label_183 label_184 label_185 label_186 label_187 label_188 label_189 label_190 label_191 label_192 label_193 label_194 label_195 label_196 label_197 label_198 label_199 label_200 label_201 label_202 label_203 label_204 label_205 label_206 label_207 label_208 label_209 label_210 label_211 label_212 label_213 label_214 label_215 label_216 label_217 label_218 label_219 label_220 label_221 label_222 label_223 label_224 label_225 label_226 label_227 label_228 label_229 label_230 label_231 label_232 label_233 label_234 label_235 label_236 label_237 label_238 label_239 label_240 label_241 label_242 label_243 label_244 label_245 label_246 label_247 label_248 label_249 label_250 label_251 label_252 label_253 label_254 label_255 label_256 label_257 label_258 label_259 label_260 label_261 label_262 label_263 label_264 label_265 label_266 label_267 label_268 label_269 label_270 label_271 label_272 label_273 label_274 label_275 label_276 label_277 label_278 label_279 label_280 label_281 label_282 label_283 label_284 label_285 label_286 label_287 label_288 label_289 label_290 label_291 label_292 label_293 label_294 label_295 label_296 label_297 label_298 label_299 label_300 label_301 label_302 label_303 label_304 label_305 label_306 label_307 label_308 label_309 label_310 label_311 label_312 label_313 label_314 label_315 label_316 label_317 label_318 label_319 label_320 label_321 label_322 label_323 label_324 label_325 label_326 label_327 label_328 label_329 label_330 label_331 label_332 label_333 label_334 label_335 label_336 label_337 label_338 label_339 label_340 label_341 label_342 label_343 label_344 label_345 label_346 label_347 label_348 label_349 label_350 label_351 label_352 label_353 label_354 label_355 label_356 label_357 label_358 label_359 label_360 label_361 label_362 label_363 label_364 label_365 label_366 label_367 label_368 label_369 label_370 label_371 label_372 label_373 label_374 label_375 label_376 label_377 label_378 label_379 label_380 label_381 label_382 label_383 label_384 label_385 label_386 label_387 label_388 label_389 label_390 label_391 label_392 label_393 label_394 label_395 label_396 label_397 label_398 label_399 label_400 label_401 label_402 label_403 label_404 label_405 label_406 label_407 label_408 label_409 label_410 label_411 label_412 label_413 label_414 label_415 label_416 label_417 label_418 label_419 label_420 label_421 label_422 label_423 label_424 label_425 label_426 label_427 label_428 label_429 label_430 label_431 label_432 label_433 label_434 label_435 label_436 label_437 label_438 label_439 label_440 label_441 label_442 label_443 label_444 label_445 label_446 label_447 label_448 label_449 label_450 label_451 label_452 label_453 label_454 label_455 label_456 label_457 label_458 label_459 label_460 label_461 label_462 label_463 label_464 label_465 label_466 label_467 label_468 label_469 label_470 label_471 label_472 label_473 label_474 label_475 label_476 label_477 label_478 label_479 label_480 label_481 label_482 label_483 label_484 label_485 label_486 label_487 label_488 label_489 label_490 label_491 label_492 label_493 label_494 label_495 label_496 label_497 label_498 label_499 label_500 label_501 label_502 label_503 label_504 label_505 label_506 label_507 label_508 label_509 label_510 label_511 label_512 label_513 label_514 label_515 label_516 label_517 label_518 label_519 label_520 label_521 label_522 label_523 label_524 label_525 label_526 label_527 label_528 label_529 label_530 label_531 label_532 label_533 label_534 label_535 label_536 label_537 label_538 label_539 label_540 label_541 label_542 label_543 label_544 label_545 label_546 label_547 label_548 label_549 label_550 label_551 label_552 label_553 label_554 label_555 label_556 label_557 label_558 label_559 label_560 label_561 label_562 label_563 label_564 label_565 label_566 label_567 label_568 label_569 label_570 label_571 label_572 label_573 label_574 label_575 label_576 label_577 label_578 label_579 label_580 label_581 label_582 label_583 label_584 label_585 label_586 label_587 label_588 label_589 label_590 label_591 label_592 label_593 label_594 label_595 label_596 label_597 label_598 label_599 label_600 label_601 label_602 label_603 label_604 label_605 label_606 label_607 label_608 label_609 label_610 label_611 label_612 label_613 label_614 label_615 label_616 label_617 label_618 label_619 label_620 label_621 label_622 label_623 label_624 label_625 label_626 label_627 label_628 label_629 label_630 label_631 label_632 label_633 label_634 label_635 label_636 label_637 label_638 label_639 label_640 label_641 label_642 label_643 label_644 label_645 label_646 label_647 label_648 label_649 label_650 label_651 label_652 label_653 label_654 label_655 label_656 label_657 label_658 label_659 label_660 label_661 label_662 label_663 label_664 label_665 label_666 label_667 label_668 label_669 label_670 label_671 label_672 label_673 label_674 label_675 label_676 label_677 label_678 label_679 label_680 label_681 label_682 label_683 label_684 label_685 label_686 label_687 label_688 label_689 label_690 label_691 label_692 label_693 label_694 label_695 label_696 label_697 label_698 label_699 label_700 label_701 label_702 label_703 label_704 label_705 label_706 label_707 label_708 label_709 label_710 label_711 label_712 label_713 label_714 label_715 label_716 label_717 label_718 label_719 label_720 label_721 label_722 label_723 label_724 label_725 label_726 label_727 label_728 label_729 label_730 label_731 label_732 label_733 label_734 label_735 label_736 label_737 label_738 label_739 label_740 label_741 label_742 label_743 label_744 label_745 label_746 label_747 label_748 label_749 label_750 label_751 label_752 label_753 label_754 label_755 label_756 label_757 label_758 label_759 label_760 label_761 label_762 label_763 label_764 label_765 label_766 label_767 label_768 label_769 label_770 label_771 label_772 label_773 label_774 label_775 label_776 label_777 label_778 label_779 label_780 label_781 label_782 label_783 label_784 label_785 label_786 label_787 label_788 label_789 label_790 label_791 label_792 label_793 label_794 label_795 label_796 label_797 label_798 label_799 label_800 label_801 label_802 label_803 label_804 label_805 label_806 label_807 label_808 label_809 label_810 label_811 label_812 label_813 label_814 label_815 label_816 label_817 label_818 label_819 label_820 label_821 label_822 label_823 label_824 label_825 label_826 label_827 label_828 label_829 label_830 label_831 label_832 label_833 label_834 label_835 label_836 label_837 label_838 label_839 label_840 label_841 label_842 label_843 label_844 label_845 label_846 label_847 label_848 label_849 label_850 label_851 label_852 label_853 label_854 label_855 label_856 label_857 label_858 label_859 label_860 label_861 label_862 label_863 label_864 label_865 label_866 label_867 label_868 label_869 label_870 label_871 label_872 label_873 label_874 label_875 label_876 label_877 label_878 label_879 label_880 label_881 label_882 label_883 label_884 label_885 label_886 label_887 label_888 label_889 label_890 label_891 label_892 label_893 label_894 label_895 label_896 label_897 label_898 label_899 label_900 label_901 label_902 label_903 label_904 label_905 label_906 label_907 label_908 label_909 label_910 label_911 label_912 label_913 label_914 label_915 label_916 label_917 label_918 label_919 label_920 label_921 label_922 label_923 label_924 label_925 label_926 label_927 label_928 label_929 label_930 label_931 label_932 label_933 label_934 label_935 label_936 label_937 label_938 label_939 label_940 label_941 label_942 label_943 label_944 label_945 label_946 label_947 label_948 label_949 label_950 label_951 label_952 label_953 label_954 label_955 label_956 label_957 label_958 label_959 label_960 label_961 label_962 label_963 label_964 label_965 label_966 label_967 label_968 label_969 label_970 label_971 label_972 label_973 label_974 label_975 label_976 label_977 label_978 label_979 label_980 label_981 label_982 label_983 label_984 label_985 label_986 label_987 label_988 label_989 label_990 label_991 label_992 label_993 label_994 label_995 label_996 label_997 label_998 label_999 label_1000 label_1001 label_1002 label_1003 label_1004 label_1005 label_1006 label_1007 label_1008 label_1009 label_1010 label_1011 label_1012 label_1013 label_1014 label_1015 label_1016 label_1017 label_1018 label_1019 label_1020 label_1021 label_1022 label_1023 label_1024 label_1025 label_1026 label_1027 label_1028 label_1029 label_1030 label_1031 label_1032 label_1033