Run this model with HF Jobs
Run 1ancelot/rn_base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/1ancelot/rn_base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/1ancelot/rn_base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use 1ancelot/rn_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 1ancelot/rn_base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="1ancelot/rn_base") 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("1ancelot/rn_base") model = AutoModelForImageClassification.from_pretrained("1ancelot/rn_base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from 1ancelot/rn_base: direct link, hf CLI and curl.
- Browser
- Download file 677 Bytes
-
https://huggingface.co/1ancelot/rn_base/resolve/main/config.json
- Command line
-
hf download hf://1ancelot/rn_base/config.json
-
curl -L -o config.json https://huggingface.co/1ancelot/rn_base/resolve/main/config.json
677 Bytes
| { | |
| "_name_or_path": "microsoft/resnet-50", | |
| "architectures": [ | |
| "ResNetForImageClassification" | |
| ], | |
| "depths": [ | |
| 3, | |
| 4, | |
| 6, | |
| 3 | |
| ], | |
| "downsample_in_bottleneck": false, | |
| "downsample_in_first_stage": false, | |
| "embedding_size": 64, | |
| "hidden_act": "relu", | |
| "hidden_sizes": [ | |
| 256, | |
| 512, | |
| 1024, | |
| 2048 | |
| ], | |
| "layer_type": "bottleneck", | |
| "model_type": "resnet", | |
| "num_channels": 3, | |
| "out_features": [ | |
| "stage4" | |
| ], | |
| "out_indices": [ | |
| 4 | |
| ], | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.45.2" | |
| } | |