Instructions to use ArsalanAnwar/test-image-classification-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ArsalanAnwar/test-image-classification-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ArsalanAnwar/test-image-classification-model") 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("ArsalanAnwar/test-image-classification-model") model = AutoModelForImageClassification.from_pretrained("ArsalanAnwar/test-image-classification-model") - Notebooks
- Google Colab
- Kaggle
Commit ·
26d3e99
1
Parent(s): bdfb39c
Upload ViTForImageClassification
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"ViTForImageClassification"
|
| 4 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "ArsalanAnwar/test-image-classification-model",
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|