Instructions to use nprasad24/bean_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nprasad24/bean_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nprasad24/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("nprasad24/bean_classifier") model = AutoModelForImageClassification.from_pretrained("nprasad24/bean_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tf_model.h5 from nprasad24/bean_classifier: direct link, hf CLI and curl.
- Browser
- Download file 343 MB
-
https://huggingface.co/nprasad24/bean_classifier/resolve/main/tf_model.h5
- Command line
-
hf download hf://nprasad24/bean_classifier/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/nprasad24/bean_classifier/resolve/main/tf_model.h5
343 MB
- Xet hash:
- 47f71e40c655f2ca10dd3618ea606ec149b0dc5f6c226ed0cc0c7c18453d1ef2
- Size of remote file:
- 343 MB
- SHA256:
- 12e95f2c32f09351bc5d503cbcc7e5761cb3ab322e195dc5a9879d10f089c1d0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.