Instructions to use bombshelll/swin-brain-modality-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bombshelll/swin-brain-modality-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="bombshelll/swin-brain-modality-classification") 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("bombshelll/swin-brain-modality-classification") model = AutoModelForImageClassification.from_pretrained("bombshelll/swin-brain-modality-classification") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +5 -5
- model.safetensors +1 -1
- training_args.bin +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 |
|
|
@@ -53,9 +53,9 @@ The following hyperparameters were used during training:
|
|
| 53 |
|
| 54 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 56 |
-
|
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
|
| 60 |
|
| 61 |
### Framework versions
|
|
|
|
| 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.0349
|
| 22 |
+
- Accuracy: 0.9821
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 53 |
|
| 54 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 56 |
+
| 0.7628 | 1.0 | 12 | 0.1582 | 0.9702 |
|
| 57 |
+
| 0.1095 | 2.0 | 24 | 0.0339 | 0.9881 |
|
| 58 |
+
| 0.0597 | 3.0 | 36 | 0.0349 | 0.9821 |
|
| 59 |
|
| 60 |
|
| 61 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 110348984
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f069b539c7d74dae50c5e6b4d4a8bb8d4e16fba5aaa3237a40364f6b867a904d
|
| 3 |
size 110348984
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5240
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:891ff1d129291d9cba2e5529f66d1920d21b1a0d8a7c1da236e20c4a2da2d61d
|
| 3 |
size 5240
|