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:3248b27169d4bcd44d43d1f5d9b6530afd874ffb008e6aadd7fa19b1817d73a6size 110345908123version https://git-lfs.github.com/spec/v1oid sha256:0b478a570ac2a7d8d8e61d245db4e3958d2fc4c87d8e8257d255ed2c73cc2760size 110345908
123version https://git-lfs.github.com/spec/v1oid sha256:cd43d32ba039215b3156da8dda9a53dcbae53848c19ba2557439177f77602be9size 5240123version https://git-lfs.github.com/spec/v1oid sha256:07169705d3bceecccfde57a5e0a7d54f6a5e1dbf17f3c761c735117f417b6159size 5240
model.safetensors+1-1
training_args.bin+1-1