Run this model with HF Jobs
Run bombshelll/swin-brain-modality-classification 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/bombshelll/swin-brain-modality-classification. 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/bombshelll/swin-brain-modality-classification 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 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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files17 unmodified lines181920212223242525 unmodified lines515253545556575859606117 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 an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.0288- Accuracy: 0.9911## Model description25 unmodified lines### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.7536 | 1.0 | 16 | 0.1194 | 0.9689 || 0.0863 | 2.0 | 32 | 0.0395 | 0.9911 || 0.0542 | 3.0 | 48 | 0.0288 | 0.9911 |### Framework versions17 unmodified lines181920212223242525 unmodified lines515253545556575859606117 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 an unknown dataset.It achieves the following results on the evaluation set:- Loss: 2.1943- Accuracy: 0.5726## Model description25 unmodified lines### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:------:|:----:|:---------------:|:--------:|| 1.3592 | 0.8889 | 4 | 1.7443 | 0.4188 || 0.532 | 2.0 | 9 | 2.1342 | 0.5641 || 0.3591 | 2.6667 | 12 | 2.1943 | 0.5726 |### Framework versions
README.md+7-7