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