Instructions to use ags0504/diamond-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ags0504/diamond-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ags0504/diamond-classifier") 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("ags0504/diamond-classifier") model = AutoModelForImageClassification.from_pretrained("ags0504/diamond-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
d7d2880 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c64fa31b601e69917019a4fd82b3d445298995a3a8cbf908bac6d5ec63d41ce9
size 4091
|