Instructions to use nqvii/fold_4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nqvii/fold_4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nqvii/fold_4") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("nqvii/fold_4") model = AutoModelForImageClassification.from_pretrained("nqvii/fold_4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training Fold 4
Browse files- README.md +44 -40
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -24,10 +24,10 @@ model-index:
|
|
| 24 |
metrics:
|
| 25 |
- name: Accuracy
|
| 26 |
type: accuracy
|
| 27 |
-
value: 0.
|
| 28 |
- name: Recall
|
| 29 |
type: recall
|
| 30 |
-
value: 0.
|
| 31 |
---
|
| 32 |
|
| 33 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -37,10 +37,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 37 |
|
| 38 |
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
| 39 |
It achieves the following results on the evaluation set:
|
| 40 |
-
- Loss: 1.
|
| 41 |
-
- Accuracy: 0.
|
| 42 |
-
- F1 Score: 0.
|
| 43 |
-
- Recall: 0.
|
| 44 |
|
| 45 |
## Model description
|
| 46 |
|
|
@@ -73,40 +73,44 @@ The following hyperparameters were used during training:
|
|
| 73 |
|
| 74 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score | Recall |
|
| 75 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:------:|
|
| 76 |
-
|
|
| 77 |
-
| 2.
|
| 78 |
-
| 2.
|
| 79 |
-
| 2.
|
| 80 |
-
| 1.
|
| 81 |
-
| 1.
|
| 82 |
-
| 1.
|
| 83 |
-
| 1.
|
| 84 |
-
| 1.
|
| 85 |
-
| 1.
|
| 86 |
-
| 1.
|
| 87 |
-
| 1.
|
| 88 |
-
| 1.
|
| 89 |
-
| 1.
|
| 90 |
-
| 1.
|
| 91 |
-
|
|
| 92 |
-
| 0.
|
| 93 |
-
| 0.
|
| 94 |
-
| 0.
|
| 95 |
-
| 0.
|
| 96 |
-
| 0.
|
| 97 |
-
| 0.
|
| 98 |
-
| 0.
|
| 99 |
-
| 0.
|
| 100 |
-
| 0.
|
| 101 |
-
| 0.
|
| 102 |
-
| 0.
|
| 103 |
-
| 0.
|
| 104 |
-
| 0.
|
| 105 |
-
| 0.
|
| 106 |
-
| 0.
|
| 107 |
-
| 0.
|
| 108 |
-
| 0.
|
| 109 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
|
| 112 |
### Framework versions
|
|
|
|
| 24 |
metrics:
|
| 25 |
- name: Accuracy
|
| 26 |
type: accuracy
|
| 27 |
+
value: 0.9653979238754326
|
| 28 |
- name: Recall
|
| 29 |
type: recall
|
| 30 |
+
value: 0.9683506090481117
|
| 31 |
---
|
| 32 |
|
| 33 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 37 |
|
| 38 |
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
| 39 |
It achieves the following results on the evaluation set:
|
| 40 |
+
- Loss: 1.1328
|
| 41 |
+
- Accuracy: 0.9654
|
| 42 |
+
- F1 Score: 0.9688
|
| 43 |
+
- Recall: 0.9684
|
| 44 |
|
| 45 |
## Model description
|
| 46 |
|
|
|
|
| 73 |
|
| 74 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score | Recall |
|
| 75 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:------:|
|
| 76 |
+
| 2.7279 | 1.0 | 19 | 2.6961 | 0.3287 | 0.3257 | 0.3264 |
|
| 77 |
+
| 2.6497 | 2.0 | 38 | 2.5197 | 0.4775 | 0.4752 | 0.4600 |
|
| 78 |
+
| 2.3856 | 3.0 | 57 | 2.2554 | 0.6574 | 0.6632 | 0.6472 |
|
| 79 |
+
| 2.0467 | 4.0 | 76 | 1.9435 | 0.8062 | 0.8186 | 0.8137 |
|
| 80 |
+
| 1.6696 | 5.0 | 95 | 1.6132 | 0.8720 | 0.8800 | 0.8750 |
|
| 81 |
+
| 1.3967 | 6.0 | 114 | 1.3746 | 0.9170 | 0.9249 | 0.9244 |
|
| 82 |
+
| 1.2758 | 7.0 | 133 | 1.2437 | 0.9412 | 0.9473 | 0.9422 |
|
| 83 |
+
| 1.1517 | 8.0 | 152 | 1.1767 | 0.9550 | 0.9593 | 0.9559 |
|
| 84 |
+
| 1.1069 | 9.0 | 171 | 1.1511 | 0.9516 | 0.9556 | 0.9512 |
|
| 85 |
+
| 1.0847 | 10.0 | 190 | 1.1386 | 0.9550 | 0.9589 | 0.9584 |
|
| 86 |
+
| 1.0566 | 11.0 | 209 | 1.1328 | 0.9654 | 0.9688 | 0.9684 |
|
| 87 |
+
| 1.0535 | 12.0 | 228 | 1.1346 | 0.9550 | 0.9597 | 0.9609 |
|
| 88 |
+
| 1.0154 | 13.0 | 247 | 1.1250 | 0.9550 | 0.9595 | 0.9595 |
|
| 89 |
+
| 1.0196 | 14.0 | 266 | 1.1252 | 0.9585 | 0.9625 | 0.9609 |
|
| 90 |
+
| 1.0003 | 15.0 | 285 | 1.1256 | 0.9481 | 0.9529 | 0.9524 |
|
| 91 |
+
| 0.9951 | 16.0 | 304 | 1.1191 | 0.9619 | 0.9653 | 0.9659 |
|
| 92 |
+
| 0.9877 | 17.0 | 323 | 1.1133 | 0.9619 | 0.9651 | 0.9646 |
|
| 93 |
+
| 0.9841 | 18.0 | 342 | 1.1038 | 0.9619 | 0.9651 | 0.9646 |
|
| 94 |
+
| 0.9887 | 19.0 | 361 | 1.1080 | 0.9619 | 0.9650 | 0.9635 |
|
| 95 |
+
| 0.9794 | 20.0 | 380 | 1.1105 | 0.9619 | 0.9651 | 0.9646 |
|
| 96 |
+
| 0.9786 | 21.0 | 399 | 1.1086 | 0.9654 | 0.9681 | 0.9671 |
|
| 97 |
+
| 0.9719 | 22.0 | 418 | 1.1084 | 0.9550 | 0.9591 | 0.9597 |
|
| 98 |
+
| 0.9723 | 23.0 | 437 | 1.1242 | 0.9516 | 0.9562 | 0.9584 |
|
| 99 |
+
| 0.9813 | 24.0 | 456 | 1.0986 | 0.9654 | 0.9681 | 0.9671 |
|
| 100 |
+
| 0.9682 | 25.0 | 475 | 1.0959 | 0.9654 | 0.9681 | 0.9671 |
|
| 101 |
+
| 0.9750 | 26.0 | 494 | 1.0990 | 0.9654 | 0.9681 | 0.9671 |
|
| 102 |
+
| 0.9716 | 27.0 | 513 | 1.0995 | 0.9619 | 0.9651 | 0.9646 |
|
| 103 |
+
| 0.9701 | 28.0 | 532 | 1.0949 | 0.9654 | 0.9681 | 0.9671 |
|
| 104 |
+
| 0.9694 | 29.0 | 551 | 1.0997 | 0.9654 | 0.9681 | 0.9671 |
|
| 105 |
+
| 0.9637 | 30.0 | 570 | 1.1002 | 0.9654 | 0.9681 | 0.9671 |
|
| 106 |
+
| 0.9647 | 31.0 | 589 | 1.0992 | 0.9654 | 0.9681 | 0.9671 |
|
| 107 |
+
| 0.9658 | 32.0 | 608 | 1.1084 | 0.9619 | 0.9650 | 0.9635 |
|
| 108 |
+
| 0.9686 | 33.0 | 627 | 1.1156 | 0.9619 | 0.9652 | 0.9659 |
|
| 109 |
+
| 0.9632 | 34.0 | 646 | 1.1068 | 0.9619 | 0.9650 | 0.9634 |
|
| 110 |
+
| 0.9630 | 35.0 | 665 | 1.1040 | 0.9619 | 0.9650 | 0.9634 |
|
| 111 |
+
| 0.9680 | 36.0 | 684 | 1.1131 | 0.9619 | 0.9650 | 0.9634 |
|
| 112 |
+
| 0.9579 | 37.0 | 703 | 1.1063 | 0.9619 | 0.9650 | 0.9634 |
|
| 113 |
+
| 0.9615 | 38.0 | 722 | 1.1063 | 0.9619 | 0.9650 | 0.9634 |
|
| 114 |
|
| 115 |
|
| 116 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343230128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49948ffabd10e4d7a1327d995ec1a242f1e8f91738e292e90cae67859edc343a
|
| 3 |
size 343230128
|