Instructions to use HorcruxNo13/beit-base-patch16-224-pt22k-ft22k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HorcruxNo13/beit-base-patch16-224-pt22k-ft22k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="HorcruxNo13/beit-base-patch16-224-pt22k-ft22k") 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-pt22k-ft22k") model = AutoModelForImageClassification.from_pretrained("HorcruxNo13/beit-base-patch16-224-pt22k-ft22k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
033716b
1
Parent(s): fde9ac9
Model save
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ model-index:
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
-
value: 0.
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [microsoft/beit-base-patch16-224-pt22k-ft22k](https://huggingface.co/microsoft/beit-base-patch16-224-pt22k-ft22k) on the imagefolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
-
- Loss: 0.
|
| 36 |
-
- Accuracy: 0.
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
@@ -52,7 +52,7 @@ More information needed
|
|
| 52 |
### Training hyperparameters
|
| 53 |
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
-
- learning_rate:
|
| 56 |
- train_batch_size: 32
|
| 57 |
- eval_batch_size: 32
|
| 58 |
- seed: 42
|
|
@@ -67,9 +67,9 @@ The following hyperparameters were used during training:
|
|
| 67 |
|
| 68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
-
| No log | 1.0 | 8 |
|
| 71 |
-
|
|
| 72 |
-
| 0.
|
| 73 |
|
| 74 |
|
| 75 |
### Framework versions
|
|
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
+
value: 0.6866666666666666
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [microsoft/beit-base-patch16-224-pt22k-ft22k](https://huggingface.co/microsoft/beit-base-patch16-224-pt22k-ft22k) on the imagefolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 0.6312
|
| 36 |
+
- Accuracy: 0.6867
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
|
|
| 52 |
### Training hyperparameters
|
| 53 |
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
+
- learning_rate: 5e-05
|
| 56 |
- train_batch_size: 32
|
| 57 |
- eval_batch_size: 32
|
| 58 |
- seed: 42
|
|
|
|
| 67 |
|
| 68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
+
| No log | 1.0 | 8 | 3.4268 | 0.275 |
|
| 71 |
+
| 6.7921 | 2.0 | 16 | 0.6216 | 0.7083 |
|
| 72 |
+
| 0.7831 | 3.0 | 24 | 0.5972 | 0.7417 |
|
| 73 |
|
| 74 |
|
| 75 |
### Framework versions
|