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 ·
0690452
1
Parent(s): e284e63
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.7333333333333333
|
| 28 |
- name: Precision
|
| 29 |
type: precision
|
| 30 |
+
value: 0.708216298040535
|
| 31 |
- name: Recall
|
| 32 |
type: recall
|
| 33 |
+
value: 0.7333333333333333
|
| 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.5490
|
| 44 |
+
- Accuracy: 0.7333
|
| 45 |
+
- Precision: 0.7082
|
| 46 |
+
- Recall: 0.7333
|
| 47 |
+
- F1 Score: 0.7050
|
| 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.6369 | 0.725 | 0.5256 | 0.725 | 0.6094 |
|
| 82 |
+
| No log | 2.0 | 8 | 0.6192 | 0.7458 | 0.7215 | 0.7458 | 0.6907 |
|
| 83 |
+
| No log | 3.0 | 12 | 0.5699 | 0.725 | 0.5256 | 0.725 | 0.6094 |
|
| 84 |
+
| 0.727 | 4.0 | 16 | 0.6237 | 0.6792 | 0.6716 | 0.6792 | 0.6751 |
|
| 85 |
+
| 0.727 | 5.0 | 20 | 0.5533 | 0.7292 | 0.8028 | 0.7292 | 0.6191 |
|
| 86 |
+
| 0.727 | 6.0 | 24 | 0.5601 | 0.7375 | 0.7200 | 0.7375 | 0.6562 |
|
| 87 |
+
| 0.727 | 7.0 | 28 | 0.5901 | 0.7167 | 0.6944 | 0.7167 | 0.7013 |
|
| 88 |
+
| 0.5968 | 8.0 | 32 | 0.5543 | 0.7375 | 0.7081 | 0.7375 | 0.7080 |
|
| 89 |
+
| 0.5968 | 9.0 | 36 | 0.5780 | 0.7208 | 0.7095 | 0.7208 | 0.7141 |
|
| 90 |
+
| 0.5968 | 10.0 | 40 | 0.5389 | 0.7375 | 0.7049 | 0.7375 | 0.6990 |
|
| 91 |
+
| 0.5968 | 11.0 | 44 | 0.5438 | 0.7542 | 0.7306 | 0.7542 | 0.7238 |
|
| 92 |
+
| 0.5631 | 12.0 | 48 | 0.5426 | 0.7458 | 0.7187 | 0.7458 | 0.7145 |
|
| 93 |
+
| 0.5631 | 13.0 | 52 | 0.5383 | 0.7458 | 0.7187 | 0.7458 | 0.7145 |
|
| 94 |
+
| 0.5631 | 14.0 | 56 | 0.5432 | 0.7458 | 0.7239 | 0.7458 | 0.7269 |
|
| 95 |
+
| 0.541 | 15.0 | 60 | 0.5453 | 0.7417 | 0.7212 | 0.7417 | 0.7256 |
|
| 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:0d6ed51b30e0f4f4b0c9310e6917c0b878ae06d76431267fad9ec9caf5c4216e
|
| 3 |
size 343130249
|