Run this model with HF Jobs
Run ProbeX/Model-J__ResNet__model_idx_0394 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/ProbeX/Model-J__ResNet__model_idx_0394. 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/ProbeX/Model-J__ResNet__model_idx_0394 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 ProbeX/Model-J__ResNet__model_idx_0394 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_0394 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_0394") 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_0394") model = AutoModelForImageClassification.from_pretrained("ProbeX/Model-J__ResNet__model_idx_0394", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (5)
- config.jsonAdded+145
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+22
- trainer_state.jsonAdded+97
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145{ "_name_or_path": "microsoft/resnet-101", "architectures": [ "ResNetForImageClassification" ], "depths": [ 3, 4, 23, 3 ], "downsample_in_bottleneck": false, "downsample_in_first_stage": false, "embedding_size": 64, "hidden_act": "relu", "hidden_sizes": [ 256, 512, 1024, 2048 ], "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2", "3": "LABEL_3", "4": "LABEL_4", "5": "LABEL_5", "6": "LABEL_6", "7": "LABEL_7", "8": "LABEL_8", "9": "LABEL_9", "10": "LABEL_10", "11": "LABEL_11", "12": "LABEL_12", "13": "LABEL_13", "14": "LABEL_14", "15": "LABEL_15", "16": "LABEL_16", "17": "LABEL_17", "18": "LABEL_18", "19": "LABEL_19", "20": "LABEL_20", "21": "LABEL_21", "22": "LABEL_22", "23": "LABEL_23", "24": "LABEL_24", "25": "LABEL_25", "26": "LABEL_26", "27": "LABEL_27", "28": "LABEL_28", "29": "LABEL_29", "30": "LABEL_30", "31": "LABEL_31", "32": "LABEL_32", "33": "LABEL_33", "34": "LABEL_34", "35": "LABEL_35", "36": "LABEL_36", "37": "LABEL_37", "38": "LABEL_38", "39": "LABEL_39", "40": "LABEL_40", "41": "LABEL_41", "42": "LABEL_42", "43": "LABEL_43", "44": "LABEL_44", "45": "LABEL_45", "46": "LABEL_46", "47": "LABEL_47", "48": "LABEL_48", "49": "LABEL_49" }, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_10": 10, "LABEL_11": 11, "LABEL_12": 12, "LABEL_13": 13, "LABEL_14": 14, "LABEL_15": 15, "LABEL_16": 16, "LABEL_17": 17, "LABEL_18": 18, "LABEL_19": 19, "LABEL_2": 2, "LABEL_20": 20, "LABEL_21": 21, "LABEL_22": 22, "LABEL_23": 23, "LABEL_24": 24, "LABEL_25": 25, "LABEL_26": 26, "LABEL_27": 27, "LABEL_28": 28, "LABEL_29": 29, "LABEL_3": 3, "LABEL_30": 30, "LABEL_31": 31, "LABEL_32": 32, "LABEL_33": 33, "LABEL_34": 34, "LABEL_35": 35, "LABEL_36": 36, "LABEL_37": 37, "LABEL_38": 38, "LABEL_39": 39, "LABEL_4": 4, "LABEL_40": 40, "LABEL_41": 41, "LABEL_42": 42, "LABEL_43": 43, "LABEL_44": 44, "LABEL_45": 45, "LABEL_46": 46, "LABEL_47": 47, "LABEL_48": 48, "LABEL_49": 49, "LABEL_5": 5, "LABEL_6": 6, "LABEL_7": 7, "LABEL_8": 8, "LABEL_9": 9 }, "layer_type": "bottleneck", "model_type": "resnet", "num_channels": 3, "out_features": [ "stage4" ], "out_indices": [ 4 ], "problem_type": "single_label_classification", "stage_names": [ "stem", "stage1", "stage2", "stage3", "stage4" ], "torch_dtype": "float32", "transformers_version": "4.44.0"}123version https://git-lfs.github.com/spec/v1oid sha256:ce947f619997849ce32faa5f01b7e57509603a90dd3f1eecce7f2b4b6498f86dsize 17091613612345678910111213141516171819202122{ "crop_pct": 0.875, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.485, 0.456, 0.406 ], "image_processor_type": "ConvNextImageProcessor", "image_std": [ 0.229, 0.224, 0.225 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 224 }}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697{ "best_metric": 0.8565333333333334, "best_model_checkpoint": "./resnet_finetuned_models_dataset/CIFAR100/50_from_100/microsoft_resnet-101/model_idx_0394/checkpoints/checkpoint-1332", "epoch": 4.0, "eval_steps": 500, "global_step": 1332, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 1.0, "grad_norm": 119.03367614746094, "learning_rate": 9.045084971874738e-05, "loss": 2.9136, "step": 333 }, { "epoch": 1.0, "eval_accuracy": 0.6706666666666666, "eval_loss": 1.2413145303726196, "eval_runtime": 7.6226, "eval_samples_per_second": 491.959, "eval_steps_per_second": 7.74, "step": 333 }, { "epoch": 2.0, "grad_norm": 154.16531372070312, "learning_rate": 6.545084971874738e-05, "loss": 0.8892, "step": 666 }, { "epoch": 2.0, "eval_accuracy": 0.8077333333333333, "eval_loss": 0.6499355435371399, "eval_runtime": 7.9441, "eval_samples_per_second": 472.05, "eval_steps_per_second": 7.427, "step": 666 }, { "epoch": 3.0, "grad_norm": 83.17750549316406, "learning_rate": 3.4549150281252636e-05, "loss": 0.5599, "step": 999 }, { "epoch": 3.0, "eval_accuracy": 0.8517333333333333, "eval_loss": 0.5091395974159241, "eval_runtime": 7.5813, "eval_samples_per_second": 494.637, "eval_steps_per_second": 7.782, "step": 999 }, { "epoch": 4.0, "grad_norm": 65.25487518310547, "learning_rate": 9.549150281252633e-06, "loss": 0.4549, "step": 1332 }, { "epoch": 4.0, "eval_accuracy": 0.8565333333333334, "eval_loss": 0.47455883026123047, "eval_runtime": 7.8877, "eval_samples_per_second": 475.423, "eval_steps_per_second": 7.48, "step": 1332 } ], "logging_steps": 500, "max_steps": 1665, "num_input_tokens_seen": 0, "num_train_epochs": 5, "save_steps": 500, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": false }, "attributes": {} } }, "total_flos": 3.2705716958208e+18, "train_batch_size": 64, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:d17378c4a3ad4b21e87ac3f312b98e575b3a5361cfbde30b08236b2fbae93caasize 5368config.jsonAdded+145
model.safetensorsAdded+3
preprocessor_config.jsonAdded+22
trainer_state.jsonAdded+97
training_args.binAdded+3