Image Classification
Transformers
PyTorch
TensorBoard
swin
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run Soulaimen/swin-tiny-patch4-window7-224-bottom_cleaned_data on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Soulaimen/swin-tiny-patch4-window7-224-bottom_cleaned_data. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Soulaimen/swin-tiny-patch4-window7-224-bottom_cleaned_data on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Soulaimen/swin-tiny-patch4-window7-224-bottom_cleaned_data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Soulaimen/swin-tiny-patch4-window7-224-bottom_cleaned_data with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Soulaimen/swin-tiny-patch4-window7-224-bottom_cleaned_data") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Soulaimen/swin-tiny-patch4-window7-224-bottom_cleaned_data") model = AutoModelForImageClassification.from_pretrained("Soulaimen/swin-tiny-patch4-window7-224-bottom_cleaned_data", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files20 unmodified lines212223242526273 unmodified lines313233343536373812 unmodified lines515253545556578 unmodified lines666768697071727374757620 unmodified linesmetrics:- name: Accuracytype: accuracyvalue: 0.961352657004831---<!-- This model card has been generated automatically according to the information the Trainer had access to. You3 unmodified linesThis model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.It achieves the following results on the evaluation set:- Loss: 0.0963- Accuracy: 0.9614## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 5e-05- train_batch_size: 8- eval_batch_size: 8- seed: 428 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.4343 | 1.0 | 174 | 0.2458 | 0.9275 || 0.3086 | 2.0 | 349 | 0.1366 | 0.9517 || 0.2377 | 3.0 | 523 | 0.1385 | 0.9469 || 0.2451 | 4.0 | 698 | 0.1001 | 0.9630 || 0.1148 | 4.99 | 870 | 0.0963 | 0.9614 |### Framework versions20 unmodified lines212223242526273 unmodified lines313233343536373812 unmodified lines515253545556578 unmodified lines666768697071727374757620 unmodified linesmetrics:- name: Accuracytype: accuracyvalue: 0.9259259259259259---<!-- This model card has been generated automatically according to the information the Trainer had access to. You3 unmodified linesThis model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.It achieves the following results on the evaluation set:- Loss: 0.2031- Accuracy: 0.9259## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 8- eval_batch_size: 8- seed: 428 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.6591 | 1.0 | 174 | 0.5232 | 0.8068 || 0.4104 | 2.0 | 349 | 0.3161 | 0.8889 || 0.3559 | 3.0 | 523 | 0.2237 | 0.9163 || 0.3487 | 4.0 | 698 | 0.1999 | 0.9195 || 0.3422 | 4.99 | 870 | 0.2031 | 0.9259 |### Framework versions
README.md+9-9