Instructions to use huji-iml-image-hackathon-2026/validate_API with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huji-iml-image-hackathon-2026/validate_API with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="huji-iml-image-hackathon-2026/validate_API") 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("huji-iml-image-hackathon-2026/validate_API") model = AutoModelForImageClassification.from_pretrained("huji-iml-image-hackathon-2026/validate_API") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "ViTForImageClassification" | |
| ], | |
| "model_type": "vit", | |
| "attention_probs_dropout_prob": 0.0, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 32, | |
| "image_size": 32, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 64, | |
| "layer_norm_eps": 1e-12, | |
| "num_attention_heads": 4, | |
| "num_channels": 3, | |
| "num_hidden_layers": 1, | |
| "patch_size": 16, | |
| "qkv_bias": true, | |
| "num_labels": 3, | |
| "id2label": { | |
| "0": "cat", | |
| "1": "dog", | |
| "2": "bird" | |
| }, | |
| "label2id": { | |
| "cat": 0, | |
| "dog": 1, | |
| "bird": 2 | |
| } | |
| } | |