Instructions to use faisalabidi/hotel-image-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use faisalabidi/hotel-image-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="faisalabidi/hotel-image-classifier", device_map="auto") 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("faisalabidi/hotel-image-classifier") model = AutoModelForImageClassification.from_pretrained("faisalabidi/hotel-image-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 24.7 kB xet
- 220 kB xet
- 19.4 kB xet
- 133 kB xet
- 563 kB xet
- 19.4 kB xet
- 133 kB xet
- 563 kB xet
- 257 kB xet
- 438 kB xet
- 422 kB xet
- 563 kB xet
- 22.6 kB xet
- 14 kB xet
- 900 kB xet
- 73.1 kB xet
- 563 kB xet
- 530 kB xet
- 563 kB xet
- 14 kB xet
- 343 kB xet
- 438 kB xet
- 411 kB xet
- 563 kB xet
- 22.6 kB xet
- 430 kB xet
- 89.3 kB xet