Instructions to use AFZAL0008/SwimV1Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AFZAL0008/SwimV1Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="AFZAL0008/SwimV1Base") 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("AFZAL0008/SwimV1Base") model = AutoModelForImageClassification.from_pretrained("AFZAL0008/SwimV1Base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
d7cdf05 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:12d2816c1c18ca6b1ccaba238e0c8a809f24edea0436f6db3191c07b8dfb06d5
size 5201
|