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