Instructions to use HorcruxNo13/beit-base-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HorcruxNo13/beit-base-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="HorcruxNo13/beit-base-patch16-224") 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("HorcruxNo13/beit-base-patch16-224") model = AutoModelForImageClassification.from_pretrained("HorcruxNo13/beit-base-patch16-224", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
fefaac6
1
Parent(s): dfad733
Model save
Browse files- README.md +23 -23
- pytorch_model.bin +1 -1
README.md
CHANGED
|
@@ -24,13 +24,13 @@ model-index:
|
|
| 24 |
metrics:
|
| 25 |
- name: Accuracy
|
| 26 |
type: accuracy
|
| 27 |
-
value: 0.
|
| 28 |
- name: Precision
|
| 29 |
type: precision
|
| 30 |
-
value: 0.
|
| 31 |
- name: Recall
|
| 32 |
type: recall
|
| 33 |
-
value: 0.
|
| 34 |
---
|
| 35 |
|
| 36 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -40,11 +40,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 40 |
|
| 41 |
This model is a fine-tuned version of [microsoft/beit-base-patch16-224](https://huggingface.co/microsoft/beit-base-patch16-224) on the imagefolder dataset.
|
| 42 |
It achieves the following results on the evaluation set:
|
| 43 |
-
- Loss: 0.
|
| 44 |
-
- Accuracy: 0.
|
| 45 |
-
- Precision: 0.
|
| 46 |
-
- Recall: 0.
|
| 47 |
-
- F1 Score: 0.
|
| 48 |
|
| 49 |
## Model description
|
| 50 |
|
|
@@ -78,21 +78,21 @@ The following hyperparameters were used during training:
|
|
| 78 |
|
| 79 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score |
|
| 80 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|
|
| 81 |
-
| No log | 1.0 | 4 | 0.
|
| 82 |
-
| No log | 2.0 | 8 | 0.
|
| 83 |
-
| No log | 3.0 | 12 | 0.
|
| 84 |
-
| 0.
|
| 85 |
-
| 0.
|
| 86 |
-
| 0.
|
| 87 |
-
| 0.
|
| 88 |
-
| 0.
|
| 89 |
-
| 0.
|
| 90 |
-
| 0.
|
| 91 |
-
| 0.
|
| 92 |
-
| 0.
|
| 93 |
-
| 0.
|
| 94 |
-
| 0.
|
| 95 |
-
| 0.
|
| 96 |
|
| 97 |
|
| 98 |
### Framework versions
|
|
|
|
| 24 |
metrics:
|
| 25 |
- name: Accuracy
|
| 26 |
type: accuracy
|
| 27 |
+
value: 0.8966666666666666
|
| 28 |
- name: Precision
|
| 29 |
type: precision
|
| 30 |
+
value: 0.891224605606628
|
| 31 |
- name: Recall
|
| 32 |
type: recall
|
| 33 |
+
value: 0.8966666666666666
|
| 34 |
---
|
| 35 |
|
| 36 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 40 |
|
| 41 |
This model is a fine-tuned version of [microsoft/beit-base-patch16-224](https://huggingface.co/microsoft/beit-base-patch16-224) on the imagefolder dataset.
|
| 42 |
It achieves the following results on the evaluation set:
|
| 43 |
+
- Loss: 0.2426
|
| 44 |
+
- Accuracy: 0.8967
|
| 45 |
+
- Precision: 0.8912
|
| 46 |
+
- Recall: 0.8967
|
| 47 |
+
- F1 Score: 0.8935
|
| 48 |
|
| 49 |
## Model description
|
| 50 |
|
|
|
|
| 78 |
|
| 79 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score |
|
| 80 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|
|
| 81 |
+
| No log | 1.0 | 4 | 0.4160 | 0.8667 | 0.8037 | 0.8667 | 0.8160 |
|
| 82 |
+
| No log | 2.0 | 8 | 0.4441 | 0.8375 | 0.7702 | 0.8375 | 0.7998 |
|
| 83 |
+
| No log | 3.0 | 12 | 0.4451 | 0.8667 | 0.8559 | 0.8667 | 0.8605 |
|
| 84 |
+
| 0.4959 | 4.0 | 16 | 0.3299 | 0.8792 | 0.8545 | 0.8792 | 0.8551 |
|
| 85 |
+
| 0.4959 | 5.0 | 20 | 0.3813 | 0.8458 | 0.8776 | 0.8458 | 0.8580 |
|
| 86 |
+
| 0.4959 | 6.0 | 24 | 0.2802 | 0.8958 | 0.8851 | 0.8958 | 0.8881 |
|
| 87 |
+
| 0.4959 | 7.0 | 28 | 0.2991 | 0.8875 | 0.8830 | 0.8875 | 0.8850 |
|
| 88 |
+
| 0.3696 | 8.0 | 32 | 0.2565 | 0.8917 | 0.8792 | 0.8917 | 0.8825 |
|
| 89 |
+
| 0.3696 | 9.0 | 36 | 0.2582 | 0.9 | 0.8949 | 0.9 | 0.8970 |
|
| 90 |
+
| 0.3696 | 10.0 | 40 | 0.2472 | 0.9 | 0.8927 | 0.9 | 0.8954 |
|
| 91 |
+
| 0.3696 | 11.0 | 44 | 0.2463 | 0.9208 | 0.9179 | 0.9208 | 0.9191 |
|
| 92 |
+
| 0.3299 | 12.0 | 48 | 0.2474 | 0.9167 | 0.9145 | 0.9167 | 0.9155 |
|
| 93 |
+
| 0.3299 | 13.0 | 52 | 0.2826 | 0.8833 | 0.8971 | 0.8833 | 0.8889 |
|
| 94 |
+
| 0.3299 | 14.0 | 56 | 0.2720 | 0.8958 | 0.9035 | 0.8958 | 0.8991 |
|
| 95 |
+
| 0.3036 | 15.0 | 60 | 0.2629 | 0.9 | 0.9059 | 0.9 | 0.9025 |
|
| 96 |
|
| 97 |
|
| 98 |
### Framework versions
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343130249
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8ba18166828da3f0496c3e7b8ffc667f45e4ea6257934658a36df0e15e965d2
|
| 3 |
size 343130249
|