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