Instructions to use trouvaille-k/bean-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use trouvaille-k/bean-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="trouvaille-k/bean-classifier") 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("trouvaille-k/bean-classifier") model = AutoModelForImageClassification.from_pretrained("trouvaille-k/bean-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download optimizer.pt from trouvaille-k/bean-classifier: direct link, hf CLI and curl.
- Browser
- Download file 687 MB
-
https://huggingface.co/trouvaille-k/bean-classifier/resolve/refs%2Fpr%2F1/optimizer.pt
- Command line
-
hf download hf://trouvaille-k/bean-classifier@refs/pr/1/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/trouvaille-k/bean-classifier/resolve/refs%2Fpr%2F1/optimizer.pt
687 MB
- Xet hash:
- 85954dec9954a116b4666adfc896a4bda277d6d16d2226d3796a2bf21cce3784
- Size of remote file:
- 687 MB
- SHA256:
- 22629942d78762202ca72694bd0e577ba7772decf6ea6ca8d6149b1ece4d4357
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.