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
Training in progress, epoch 1
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:32d9c8fcde7f0b174db8e6b61cd55d02773eac152547487463983d4679a02204size 110345908123version https://git-lfs.github.com/spec/v1oid sha256:9e6cd98d565b6994fb71602690916c9303527e4e52616e06234c3d46400ae304size 110345908
123version https://git-lfs.github.com/spec/v1oid sha256:c6cb64237a8e373faf1c7ddce8dd7857647c05d69c3427bfdb54871eace8df33size 5240123version https://git-lfs.github.com/spec/v1oid sha256:cd43d32ba039215b3156da8dda9a53dcbae53848c19ba2557439177f77602be9size 5240
model.safetensors+1-1
training_args.bin+1-1