Instructions to use nqvii/fold_5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nqvii/fold_5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nqvii/fold_5") 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_5") model = AutoModelForImageClassification.from_pretrained("nqvii/fold_5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training Fold 5
Browse files
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,47 +73,36 @@ 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 |
-
|
|
| 80 |
-
| 1.
|
| 81 |
-
| 1.
|
| 82 |
-
| 1.
|
| 83 |
-
| 1.
|
| 84 |
-
| 1.
|
| 85 |
-
| 1.
|
| 86 |
-
| 1.
|
| 87 |
-
| 1.
|
| 88 |
-
| 1.
|
| 89 |
-
| 1.
|
| 90 |
-
|
|
| 91 |
-
| 1.
|
| 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.9644 | 31.0 | 589 | 1.1415 | 0.9585 | 0.9604 | 0.9610 |
|
| 107 |
-
| 0.9610 | 32.0 | 608 | 1.1462 | 0.9550 | 0.9563 | 0.9558 |
|
| 108 |
-
| 0.9623 | 33.0 | 627 | 1.1423 | 0.9550 | 0.9566 | 0.9571 |
|
| 109 |
-
| 0.9630 | 34.0 | 646 | 1.1416 | 0.9516 | 0.9536 | 0.9546 |
|
| 110 |
-
| 0.9664 | 35.0 | 665 | 1.1438 | 0.9550 | 0.9566 | 0.9571 |
|
| 111 |
-
| 0.9643 | 36.0 | 684 | 1.1454 | 0.9550 | 0.9566 | 0.9571 |
|
| 112 |
-
| 0.9670 | 37.0 | 703 | 1.1431 | 0.9550 | 0.9566 | 0.9571 |
|
| 113 |
-
| 0.9631 | 38.0 | 722 | 1.1490 | 0.9481 | 0.9503 | 0.9498 |
|
| 114 |
-
| 0.9589 | 39.0 | 741 | 1.1512 | 0.9481 | 0.9503 | 0.9498 |
|
| 115 |
-
| 0.9620 | 40.0 | 760 | 1.1427 | 0.9516 | 0.9535 | 0.9535 |
|
| 116 |
-
| 0.9552 | 41.0 | 779 | 1.1427 | 0.9516 | 0.9535 | 0.9535 |
|
| 117 |
|
| 118 |
|
| 119 |
### Framework versions
|
|
|
|
| 24 |
metrics:
|
| 25 |
- name: Accuracy
|
| 26 |
type: accuracy
|
| 27 |
+
value: 0.9515570934256056
|
| 28 |
- name: Recall
|
| 29 |
type: recall
|
| 30 |
+
value: 0.955763200802709
|
| 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.1556
|
| 41 |
+
- Accuracy: 0.9516
|
| 42 |
+
- F1 Score: 0.9547
|
| 43 |
+
- Recall: 0.9558
|
| 44 |
|
| 45 |
## Model description
|
| 46 |
|
|
|
|
| 73 |
|
| 74 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score | Recall |
|
| 75 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:------:|
|
| 76 |
+
| 3.0831 | 1.0 | 19 | 2.9877 | 0.1834 | 0.1506 | 0.1750 |
|
| 77 |
+
| 2.9160 | 2.0 | 38 | 2.7975 | 0.2734 | 0.2517 | 0.2583 |
|
| 78 |
+
| 2.5816 | 3.0 | 57 | 2.5431 | 0.4671 | 0.4271 | 0.4325 |
|
| 79 |
+
| 2.1999 | 4.0 | 76 | 2.2368 | 0.6263 | 0.6019 | 0.6120 |
|
| 80 |
+
| 1.8110 | 5.0 | 95 | 1.9213 | 0.7301 | 0.7278 | 0.7223 |
|
| 81 |
+
| 1.4822 | 6.0 | 114 | 1.6147 | 0.8304 | 0.8407 | 0.8357 |
|
| 82 |
+
| 1.2515 | 7.0 | 133 | 1.4442 | 0.8581 | 0.8646 | 0.8541 |
|
| 83 |
+
| 1.1471 | 8.0 | 152 | 1.3540 | 0.8789 | 0.8857 | 0.8784 |
|
| 84 |
+
| 1.0819 | 9.0 | 171 | 1.2801 | 0.8962 | 0.9021 | 0.8978 |
|
| 85 |
+
| 1.0613 | 10.0 | 190 | 1.2465 | 0.9100 | 0.9142 | 0.9124 |
|
| 86 |
+
| 1.0395 | 11.0 | 209 | 1.2235 | 0.9343 | 0.9386 | 0.9387 |
|
| 87 |
+
| 1.0240 | 12.0 | 228 | 1.2106 | 0.9377 | 0.9410 | 0.9397 |
|
| 88 |
+
| 1.0257 | 13.0 | 247 | 1.1934 | 0.9308 | 0.9358 | 0.9361 |
|
| 89 |
+
| 1.0162 | 14.0 | 266 | 1.1946 | 0.9377 | 0.9402 | 0.9384 |
|
| 90 |
+
| 0.9940 | 15.0 | 285 | 1.1879 | 0.9377 | 0.9411 | 0.9397 |
|
| 91 |
+
| 1.0097 | 16.0 | 304 | 1.1848 | 0.9412 | 0.9449 | 0.9423 |
|
| 92 |
+
| 0.9937 | 17.0 | 323 | 1.1863 | 0.9377 | 0.9408 | 0.9384 |
|
| 93 |
+
| 0.9864 | 18.0 | 342 | 1.1935 | 0.9446 | 0.9471 | 0.9446 |
|
| 94 |
+
| 0.9830 | 19.0 | 361 | 1.1802 | 0.9446 | 0.9474 | 0.9459 |
|
| 95 |
+
| 0.9825 | 20.0 | 380 | 1.1508 | 0.9446 | 0.9490 | 0.9485 |
|
| 96 |
+
| 0.9733 | 21.0 | 399 | 1.1568 | 0.9343 | 0.9385 | 0.9385 |
|
| 97 |
+
| 0.9778 | 22.0 | 418 | 1.1570 | 0.9412 | 0.9455 | 0.9460 |
|
| 98 |
+
| 0.9657 | 23.0 | 437 | 1.1588 | 0.9446 | 0.9487 | 0.9497 |
|
| 99 |
+
| 0.9771 | 24.0 | 456 | 1.1637 | 0.9446 | 0.9495 | 0.9510 |
|
| 100 |
+
| 0.9647 | 25.0 | 475 | 1.1640 | 0.9481 | 0.9509 | 0.9509 |
|
| 101 |
+
| 0.9649 | 26.0 | 494 | 1.1572 | 0.9516 | 0.9546 | 0.9546 |
|
| 102 |
+
| 0.9686 | 27.0 | 513 | 1.1667 | 0.9377 | 0.9411 | 0.9397 |
|
| 103 |
+
| 0.9681 | 28.0 | 532 | 1.1614 | 0.9377 | 0.9417 | 0.9423 |
|
| 104 |
+
| 0.9642 | 29.0 | 551 | 1.1599 | 0.9412 | 0.9444 | 0.9434 |
|
| 105 |
+
| 0.9677 | 30.0 | 570 | 1.1556 | 0.9516 | 0.9547 | 0.9558 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
|
| 107 |
|
| 108 |
### Framework versions
|