Run this model with HF Jobs
Run prithivMLmods/Fire-Risk-Detection 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/prithivMLmods/Fire-Risk-Detection. 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/prithivMLmods/Fire-Risk-Detection 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 prithivMLmods/Fire-Risk-Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Fire-Risk-Detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/Fire-Risk-Detection") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("prithivMLmods/Fire-Risk-Detection") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/Fire-Risk-Detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (20)
- checkpoint-2198/config.jsonAdded+56
- checkpoint-2198/model.safetensorsAdded+3
- checkpoint-2198/optimizer.ptAdded+3
- checkpoint-2198/preprocessor_config.jsonAdded+24
- checkpoint-2198/rng_state.pthAdded+3
- checkpoint-2198/scheduler.ptAdded+3
- checkpoint-2198/trainer_state.jsonAdded+72
- checkpoint-2198/training_args.binAdded+3
- checkpoint-4396/config.jsonAdded+56
- checkpoint-4396/model.safetensorsAdded+3
- checkpoint-4396/optimizer.ptAdded+3
- checkpoint-4396/preprocessor_config.jsonAdded+24
- checkpoint-4396/rng_state.pthAdded+3
- checkpoint-4396/scheduler.ptAdded+3
- checkpoint-4396/trainer_state.jsonAdded+110
- checkpoint-4396/training_args.binAdded+3
- config.jsonAdded+56
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+24
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "high", "1": "low", "2": "moderate", "3": "non-burnable", "4": "very_high", "5": "very_low", "6": "water" }, "initializer_factor": 1.0, "label2id": { "high": 0, "low": 1, "moderate": 2, "non-burnable": 3, "very_high": 4, "very_low": 5, "water": 6 }, "model_type": "siglip", "problem_type": "single_label_classification", "text_config": { "attention_dropout": 0.0, "hidden_act": "gelu_pytorch_tanh", "hidden_size": 768, "intermediate_size": 3072, "layer_norm_eps": 1e-06, "max_position_embeddings": 64, "model_type": "siglip_text_model", "num_attention_heads": 12, "num_hidden_layers": 12, "projection_size": 768, "torch_dtype": "float32", "vocab_size": 256000 }, "torch_dtype": "float32", "transformers_version": "4.50.0", "vision_config": { "attention_dropout": 0.0, "hidden_act": "gelu_pytorch_tanh", "hidden_size": 768, "image_size": 224, "intermediate_size": 3072, "layer_norm_eps": 1e-06, "model_type": "siglip_vision_model", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "torch_dtype": "float32" }}123version https://git-lfs.github.com/spec/v1oid sha256:6281091ff5c0fe9bd7983cc1ce080bd70427dc708f2e46d7ad32a52dc0ee7492size 371583372123version https://git-lfs.github.com/spec/v1oid sha256:6f91323c2914267114842e3480f4ca3c1c9be012f6f05fadd5a660acb8f8ccc9size 686586490123456789101112131415161718192021222324{ "do_convert_rgb": null, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "SiglipImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "processor_class": "SiglipProcessor", "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:1f7ea8883c164178080363baee98398c7a8d1e1a522fd334729e8f0d56e1b69asize 14244123version https://git-lfs.github.com/spec/v1oid sha256:50e32a9c6bef3ed656c949f069fb2e36bc4cc2d0f6fa32eea032204726059cbesize 1064123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ "best_global_step": 2198, "best_metric": 1.0199397802352905, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-2198", "epoch": 1.0, "eval_steps": 500, "global_step": 2198, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.22747952684258416, "grad_norm": 30.234283447265625, "learning_rate": 1.7929130234698574e-06, "loss": 1.2741, "step": 500 }, { "epoch": 0.4549590536851683, "grad_norm": 22.959794998168945, "learning_rate": 1.5628163828808099e-06, "loss": 1.1086, "step": 1000 }, { "epoch": 0.6824385805277525, "grad_norm": 22.508281707763672, "learning_rate": 1.3327197422917624e-06, "loss": 1.0646, "step": 1500 }, { "epoch": 0.9099181073703366, "grad_norm": 23.277908325195312, "learning_rate": 1.102623101702715e-06, "loss": 1.0494, "step": 2000 }, { "epoch": 1.0, "eval_accuracy": 0.5876782642078173, "eval_loss": 1.0199397802352905, "eval_model_preparation_time": 0.0025, "eval_runtime": 1231.0032, "eval_samples_per_second": 57.133, "eval_steps_per_second": 7.142, "step": 2198 } ], "logging_steps": 500, "max_steps": 4396, "num_input_tokens_seen": 0, "num_train_epochs": 2, "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": 5.890852013733292e+18, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:b82b36bb262e454f8e5c5fe3efc83cadeb46f932ed1ecf2e64afcef391dc64f0size 53041234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "high", "1": "low", "2": "moderate", "3": "non-burnable", "4": "very_high", "5": "very_low", "6": "water" }, "initializer_factor": 1.0, "label2id": { "high": 0, "low": 1, "moderate": 2, "non-burnable": 3, "very_high": 4, "very_low": 5, "water": 6 }, "model_type": "siglip", "problem_type": "single_label_classification", "text_config": { "attention_dropout": 0.0, "hidden_act": "gelu_pytorch_tanh", "hidden_size": 768, "intermediate_size": 3072, "layer_norm_eps": 1e-06, "max_position_embeddings": 64, "model_type": "siglip_text_model", "num_attention_heads": 12, "num_hidden_layers": 12, "projection_size": 768, "torch_dtype": "float32", "vocab_size": 256000 }, "torch_dtype": "float32", "transformers_version": "4.50.0", "vision_config": { "attention_dropout": 0.0, "hidden_act": "gelu_pytorch_tanh", "hidden_size": 768, "image_size": 224, "intermediate_size": 3072, "layer_norm_eps": 1e-06, "model_type": "siglip_vision_model", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "torch_dtype": "float32" }}123version https://git-lfs.github.com/spec/v1oid sha256:aa8028d94b788509b18a5c60b04fe826f76be8583df7f70f9bd236ca2c2bcf7dsize 371583372123version https://git-lfs.github.com/spec/v1oid sha256:5c7dad23017f9b67247fff6781aebfddf8b84a6b449b067e527cb2d7e4f314d5size 686586490123456789101112131415161718192021222324{ "do_convert_rgb": null, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "SiglipImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "processor_class": "SiglipProcessor", "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:1e2709858db832dff17362cebc52149213793092c6ab9d2bc8b36eabe6f30966size 14244123version https://git-lfs.github.com/spec/v1oid sha256:f583943f9826b26cabb09f2981f523d0b21e37f5df49172661800c73d9aaa7f9size 1064123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110{ "best_global_step": 4396, "best_metric": 0.9813332557678223, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-4396", "epoch": 2.0, "eval_steps": 500, "global_step": 4396, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.22747952684258416, "grad_norm": 30.234283447265625, "learning_rate": 1.7929130234698574e-06, "loss": 1.2741, "step": 500 }, { "epoch": 0.4549590536851683, "grad_norm": 22.959794998168945, "learning_rate": 1.5628163828808099e-06, "loss": 1.1086, "step": 1000 }, { "epoch": 0.6824385805277525, "grad_norm": 22.508281707763672, "learning_rate": 1.3327197422917624e-06, "loss": 1.0646, "step": 1500 }, { "epoch": 0.9099181073703366, "grad_norm": 23.277908325195312, "learning_rate": 1.102623101702715e-06, "loss": 1.0494, "step": 2000 }, { "epoch": 1.0, "eval_accuracy": 0.5876782642078173, "eval_loss": 1.0199397802352905, "eval_model_preparation_time": 0.0025, "eval_runtime": 1231.0032, "eval_samples_per_second": 57.133, "eval_steps_per_second": 7.142, "step": 2198 }, { "epoch": 1.1373976342129208, "grad_norm": 25.28997802734375, "learning_rate": 8.725264611136677e-07, "loss": 1.0211, "step": 2500 }, { "epoch": 1.364877161055505, "grad_norm": 23.57412338256836, "learning_rate": 6.424298205246204e-07, "loss": 0.9994, "step": 3000 }, { "epoch": 1.5923566878980893, "grad_norm": 31.955904006958008, "learning_rate": 4.123331799355729e-07, "loss": 0.9899, "step": 3500 }, { "epoch": 1.8198362147406733, "grad_norm": 23.125858306884766, "learning_rate": 1.8223653934652553e-07, "loss": 0.9761, "step": 4000 }, { "epoch": 2.0, "eval_accuracy": 0.6032190641395686, "eval_loss": 0.9813332557678223, "eval_model_preparation_time": 0.0025, "eval_runtime": 1219.9593, "eval_samples_per_second": 57.65, "eval_steps_per_second": 7.207, "step": 4396 } ], "logging_steps": 500, "max_steps": 4396, "num_input_tokens_seen": 0, "num_train_epochs": 2, "save_steps": 500, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": true }, "attributes": {} } }, "total_flos": 1.1781704027466584e+19, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:b82b36bb262e454f8e5c5fe3efc83cadeb46f932ed1ecf2e64afcef391dc64f0size 53041234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "high", "1": "low", "2": "moderate", "3": "non-burnable", "4": "very_high", "5": "very_low", "6": "water" }, "initializer_factor": 1.0, "label2id": { "high": 0, "low": 1, "moderate": 2, "non-burnable": 3, "very_high": 4, "very_low": 5, "water": 6 }, "model_type": "siglip", "problem_type": "single_label_classification", "text_config": { "attention_dropout": 0.0, "hidden_act": "gelu_pytorch_tanh", "hidden_size": 768, "intermediate_size": 3072, "layer_norm_eps": 1e-06, "max_position_embeddings": 64, "model_type": "siglip_text_model", "num_attention_heads": 12, "num_hidden_layers": 12, "projection_size": 768, "torch_dtype": "float32", "vocab_size": 256000 }, "torch_dtype": "float32", "transformers_version": "4.50.0", "vision_config": { "attention_dropout": 0.0, "hidden_act": "gelu_pytorch_tanh", "hidden_size": 768, "image_size": 224, "intermediate_size": 3072, "layer_norm_eps": 1e-06, "model_type": "siglip_vision_model", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "torch_dtype": "float32" }}123version https://git-lfs.github.com/spec/v1oid sha256:aa8028d94b788509b18a5c60b04fe826f76be8583df7f70f9bd236ca2c2bcf7dsize 371583372123456789101112131415161718192021222324{ "do_convert_rgb": null, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "SiglipImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "processor_class": "SiglipProcessor", "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:b82b36bb262e454f8e5c5fe3efc83cadeb46f932ed1ecf2e64afcef391dc64f0size 5304checkpoint-2198/config.jsonAdded+56
checkpoint-2198/model.safetensorsAdded+3
checkpoint-2198/optimizer.ptAdded+3
checkpoint-2198/preprocessor_config.jsonAdded+24
checkpoint-2198/rng_state.pthAdded+3
checkpoint-2198/scheduler.ptAdded+3
checkpoint-2198/trainer_state.jsonAdded+72
checkpoint-2198/training_args.binAdded+3
checkpoint-4396/config.jsonAdded+56
checkpoint-4396/model.safetensorsAdded+3
checkpoint-4396/optimizer.ptAdded+3
checkpoint-4396/preprocessor_config.jsonAdded+24
checkpoint-4396/rng_state.pthAdded+3
checkpoint-4396/scheduler.ptAdded+3
checkpoint-4396/trainer_state.jsonAdded+110
checkpoint-4396/training_args.binAdded+3
config.jsonAdded+56
model.safetensorsAdded+3
preprocessor_config.jsonAdded+24
training_args.binAdded+3