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