Instructions to use ProbeX/Model-J__ResNet__model_idx_0987 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_0987 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_0987") 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_0987") model = AutoModelForImageClassification.from_pretrained("ProbeX/Model-J__ResNet__model_idx_0987", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ProbeX/Model-J__ResNet__model_idx_0987: direct link, hf CLI and curl.
- Browser
- Download file 2 kB
-
https://huggingface.co/ProbeX/Model-J__ResNet__model_idx_0987/resolve/8097ff18c5c96054290fcb8fa8c6f2e764c4f112/README.md
- Command line
-
hf download hf://ProbeX/Model-J__ResNet__model_idx_0987@8097ff18c5c96054290fcb8fa8c6f2e764c4f112/README.md
-
curl -L -o README.md https://huggingface.co/ProbeX/Model-J__ResNet__model_idx_0987/resolve/8097ff18c5c96054290fcb8fa8c6f2e764c4f112/README.md
2 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_0987) | |
| 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 | 0.0005 | | |
| | LR Scheduler | constant_with_warmup | | |
| | Epochs | 2 | | |
| | Max Train Steps | 666 | | |
| | Batch Size | 64 | | |
| | Weight Decay | 0.007 | | |
| | Seed | 987 | | |
| | Random Crop | True | | |
| | Random Flip | False | | |
| ## Performance | |
| | Metric | Value | | |
| |---|---| | |
| | Train Accuracy | 0.9283 | | |
| | Val Accuracy | 0.8547 | | |
| | Test Accuracy | 0.8554 | | |
| ## Training Categories | |
| The model was fine-tuned on the following 50 CIFAR100 classes: | |
| `crab`, `flatfish`, `lobster`, `tulip`, `bed`, `man`, `road`, `pickup_truck`, `mushroom`, `cattle`, `mountain`, `bowl`, `poppy`, `dolphin`, `lamp`, `lawn_mower`, `pear`, `possum`, `caterpillar`, `kangaroo`, `bear`, `telephone`, `lizard`, `television`, `snake`, `table`, `castle`, `dinosaur`, `house`, `tank`, `otter`, `oak_tree`, `spider`, `apple`, `bicycle`, `trout`, `couch`, `rocket`, `orange`, `girl`, `worm`, `butterfly`, `hamster`, `mouse`, `sunflower`, `tiger`, `streetcar`, `pine_tree`, `motorcycle`, `shrew` | |