Run this model with HF Jobs
Run peft-internal-testing/tiny-random-ResNetForImageClassification 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/peft-internal-testing/tiny-random-ResNetForImageClassification. 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/peft-internal-testing/tiny-random-ResNetForImageClassification 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 peft-internal-testing/tiny-random-ResNetForImageClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use peft-internal-testing/tiny-random-ResNetForImageClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="peft-internal-testing/tiny-random-ResNetForImageClassification") 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("peft-internal-testing/tiny-random-ResNetForImageClassification") model = AutoModelForImageClassification.from_pretrained("peft-internal-testing/tiny-random-ResNetForImageClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from peft-internal-testing/tiny-random-ResNetForImageClassification: direct link, hf CLI and curl.
- Browser
- Download file 84.9 kB
-
https://huggingface.co/peft-internal-testing/tiny-random-ResNetForImageClassification/resolve/main/model.safetensors
- Command line
-
hf download hf://peft-internal-testing/tiny-random-ResNetForImageClassification/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/peft-internal-testing/tiny-random-ResNetForImageClassification/resolve/main/model.safetensors
84.9 kB
- Xet hash:
- 2c29f586477b4add5aa164172c302029e2139ff65b81d4dad47dd1a881129412
- Size of remote file:
- 84.9 kB
- SHA256:
- b42df6c88db1b4ceba9504f335e9bcd0eba87aca6276260bdbb41011abb8c2cf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.