Instructions to use ramnck/beer-classificator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ramnck/beer-classificator with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ramnck/beer-classificator") 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("ramnck/beer-classificator") model = AutoModelForImageClassification.from_pretrained("ramnck/beer-classificator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __pycache__/preprocessing.cpython-311.pyc from ramnck/beer-classificator: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/ramnck/beer-classificator/resolve/main/__pycache__/preprocessing.cpython-311.pyc
- Command line
-
hf download hf://ramnck/beer-classificator/__pycache__/preprocessing.cpython-311.pyc
-
curl -L -o preprocessing.cpython-311.pyc https://huggingface.co/ramnck/beer-classificator/resolve/main/__pycache__/preprocessing.cpython-311.pyc
1.51 kB
This file contains binary data. It cannot be displayed, but you can still download it.