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