Instructions to use ProbeX/Model-J__ResNet__model_idx_0505 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProbeX/Model-J__ResNet__model_idx_0505 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ProbeX/Model-J__ResNet__model_idx_0505") 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("ProbeX/Model-J__ResNet__model_idx_0505") model = AutoModelForImageClassification.from_pretrained("ProbeX/Model-J__ResNet__model_idx_0505", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ProbeX/Model-J__ResNet__model_idx_0505: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/ProbeX/Model-J__ResNet__model_idx_0505/resolve/main/README.md
- Command line
-
hf download hf://ProbeX/Model-J__ResNet__model_idx_0505/README.md
-
curl -L -o README.md https://huggingface.co/ProbeX/Model-J__ResNet__model_idx_0505/resolve/main/README.md
2.01 kB
| base_model: microsoft/resnet-101 | |
| library_name: transformers | |
| pipeline_tag: image-classification | |
| tags: | |
| - probex | |
| - model-j | |
| - weight-space-learning | |
| # Model-J: ResNet Model (model_idx_0505) | |
| This model is part of the **Model-J** dataset, introduced in: | |
| **Learning on Model Weights using Tree Experts** (CVPR 2025) by Eliahu Horwitz*, Bar Cavia*, Jonathan Kahana*, Yedid Hoshen | |
| <p align="center"> | |
| π <a href="https://horwitz.ai/probex" target="_blank">Project</a> | π <a href="https://arxiv.org/abs/2410.13569" target="_blank">Paper</a> | π» <a href="https://github.com/eliahuhorwitz/ProbeX" target="_blank">GitHub</a> | π€ <a href="https://huggingface.co/ProbeX" target="_blank">Dataset</a> | |
| </p> | |
|  | |
| ## Model Details | |
| | Attribute | Value | | |
| |---|---| | |
| | **Subset** | ResNet | | |
| | **Split** | train | | |
| | **Base Model** | `microsoft/resnet-101` | | |
| | **Dataset** | CIFAR100 (50 classes) | | |
| ## Training Hyperparameters | |
| | Parameter | Value | | |
| |---|---| | |
| | Learning Rate | 9e-05 | | |
| | LR Scheduler | cosine_with_restarts | | |
| | Epochs | 6 | | |
| | Max Train Steps | 1998 | | |
| | Batch Size | 64 | | |
| | Weight Decay | 0.05 | | |
| | Seed | 505 | | |
| | Random Crop | True | | |
| | Random Flip | False | | |
| ## Performance | |
| | Metric | Value | | |
| |---|---| | |
| | Train Accuracy | 0.9262 | | |
| | Val Accuracy | 0.8680 | | |
| | Test Accuracy | 0.8686 | | |
| ## Training Categories | |
| The model was fine-tuned on the following 50 CIFAR100 classes: | |
| `rabbit`, `beaver`, `dolphin`, `hamster`, `willow_tree`, `porcupine`, `can`, `lobster`, `camel`, `apple`, `boy`, `dinosaur`, `skunk`, `tractor`, `spider`, `sweet_pepper`, `cockroach`, `house`, `forest`, `lamp`, `oak_tree`, `road`, `bicycle`, `mountain`, `chimpanzee`, `wolf`, `crocodile`, `snail`, `rocket`, `tiger`, `bottle`, `snake`, `squirrel`, `pine_tree`, `keyboard`, `mushroom`, `bridge`, `couch`, `castle`, `chair`, `butterfly`, `orange`, `poppy`, `worm`, `rose`, `whale`, `bear`, `streetcar`, `otter`, `caterpillar` | |