Instructions to use HorcruxNo13/swin-tiny-patch4-window7-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HorcruxNo13/swin-tiny-patch4-window7-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="HorcruxNo13/swin-tiny-patch4-window7-224") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("HorcruxNo13/swin-tiny-patch4-window7-224") model = AutoModelForImageClassification.from_pretrained("HorcruxNo13/swin-tiny-patch4-window7-224") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 3.0, | |
| "total_flos": 7.4567966957568e+16, | |
| "train_loss": 0.5813349982102712, | |
| "train_runtime": 56.867, | |
| "train_samples_per_second": 52.755, | |
| "train_steps_per_second": 0.422 | |
| } |