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 filesFiles changed (2)
- README.md+7-7
- model.safetensors+1-1
17 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.0108- Accuracy: 0.9979## Model description25 unmodified lines### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:------:|:----:|:---------------:|:--------:|| 0.6533 | 0.9577 | 17 | 0.0737 | 0.9830 || 0.0735 | 1.9718 | 35 | 0.0163 | 0.9979 || 0.0411 | 2.8732 | 51 | 0.0108 | 0.9979 |### 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: 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 versions
123version https://git-lfs.github.com/spec/v1oid sha256:5a3228a719e34aaa8b00fe1f2b91d231b2c86dcbfc6c6ff16ba5b96a7d25ce99size 110348984123version https://git-lfs.github.com/spec/v1oid sha256:faf727de699bb1ef8e00184db001fa8235ea34eedd4bf72e62912e8c171ce0f1size 110348984
README.md+7-7
model.safetensors+1-1