Instructions to use MatanBT/swin-tiny-patch4-window7-224-cifar10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MatanBT/swin-tiny-patch4-window7-224-cifar10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="MatanBT/swin-tiny-patch4-window7-224-cifar10") 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("MatanBT/swin-tiny-patch4-window7-224-cifar10") model = AutoModelForImageClassification.from_pretrained("MatanBT/swin-tiny-patch4-window7-224-cifar10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +10 -10
- loss_curve.png +0 -0
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -52,18 +52,18 @@ The following hyperparameters were used during training:
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 54 |
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
| 62 |
|
| 63 |
|
| 64 |
### Framework versions
|
| 65 |
|
| 66 |
- Transformers 5.3.0
|
| 67 |
-
- Pytorch 2.
|
| 68 |
- Datasets 4.8.3
|
| 69 |
- Tokenizers 0.22.2
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0995
|
| 22 |
+
- Accuracy: 0.9803
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 54 |
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 55 |
+
| 0.1430 | 1.2788 | 500 | 0.1258 | 0.9588 |
|
| 56 |
+
| 0.0699 | 2.5575 | 1000 | 0.1101 | 0.9676 |
|
| 57 |
+
| 0.0489 | 3.8363 | 1500 | 0.1001 | 0.9713 |
|
| 58 |
+
| 0.0234 | 5.1151 | 2000 | 0.1054 | 0.9734 |
|
| 59 |
+
| 0.0136 | 6.3939 | 2500 | 0.0970 | 0.98 |
|
| 60 |
+
| 0.0080 | 7.6726 | 3000 | 0.0995 | 0.9803 |
|
| 61 |
+
| 0.0059 | 8.9514 | 3500 | 0.1005 | 0.9799 |
|
| 62 |
|
| 63 |
|
| 64 |
### Framework versions
|
| 65 |
|
| 66 |
- Transformers 5.3.0
|
| 67 |
+
- Pytorch 2.6.0+cu124
|
| 68 |
- Datasets 4.8.3
|
| 69 |
- Tokenizers 0.22.2
|
loss_curve.png
CHANGED
|
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 110367448
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:408f31cff8ac45805f1cf3e463900dd4c857da9fc71921ae279139e701ef5fe2
|
| 3 |
size 110367448
|