Instructions to use gatecitypreservation/architectural_styles with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gatecitypreservation/architectural_styles with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="gatecitypreservation/architectural_styles") 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("gatecitypreservation/architectural_styles") model = AutoModelForImageClassification.from_pretrained("gatecitypreservation/architectural_styles", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download images/ex_classical_revival_architecture.jpg from gatecitypreservation/architectural_styles: direct link, hf CLI and curl.
- Browser
- Download file 121 kB
-
https://huggingface.co/gatecitypreservation/architectural_styles/resolve/main/images/ex_classical_revival_architecture.jpg
- Command line
-
hf download hf://gatecitypreservation/architectural_styles/images/ex_classical_revival_architecture.jpg
-
curl -L -o ex_classical_revival_architecture.jpg https://huggingface.co/gatecitypreservation/architectural_styles/resolve/main/images/ex_classical_revival_architecture.jpg
121 kB
