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: 129 Bytes
25e3208 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a8c0b14169b4bec7ca8fb7355c98f7642b26b1a5a065cf9ae8201096e4c4271c
size 2671
|