Run this model with HF Jobs
Run prithivMLmods/AIorNot-SigLIP2 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/AIorNot-SigLIP2. 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/AIorNot-SigLIP2 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/AIorNot-SigLIP2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/AIorNot-SigLIP2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/AIorNot-SigLIP2") 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/AIorNot-SigLIP2") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/AIorNot-SigLIP2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (20)
- checkpoint-1164/config.jsonAdded+46
- checkpoint-1164/model.safetensorsAdded+3
- checkpoint-1164/optimizer.ptAdded+3
- checkpoint-1164/preprocessor_config.jsonAdded+24
- checkpoint-1164/rng_state.pthAdded+3
- checkpoint-1164/scheduler.ptAdded+3
- checkpoint-1164/trainer_state.jsonAdded+68
- checkpoint-1164/training_args.binAdded+3
- checkpoint-582/config.jsonAdded+46
- checkpoint-582/model.safetensorsAdded+3
- checkpoint-582/optimizer.ptAdded+3
- checkpoint-582/preprocessor_config.jsonAdded+24
- checkpoint-582/rng_state.pthAdded+3
- checkpoint-582/scheduler.ptAdded+3
- checkpoint-582/trainer_state.jsonAdded+51
- checkpoint-582/training_args.binAdded+3
- config.jsonAdded+46
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+24
- training_args.binAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "Real", "1": "AI" }, "initializer_factor": 1.0, "label2id": { "AI": 1, "Real": 0 }, "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:8560c44d0f9fbe9a939a3dbbff4c2d88047b073beeb1410e7afc2b567e6628f4size 371567992123version https://git-lfs.github.com/spec/v1oid sha256:b715982592db256aabfd32721cf8140adcded1e00b628e00d5786a7555ac087bsize 686555770123456789101112131415161718192021222324{ "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:7e1ea2b46dd598770f6017019352d426285ae77cb2430efb5a4f47c28041949bsize 14244123version https://git-lfs.github.com/spec/v1oid sha256:8cfdeba37894edaf4ac8f41c28ab878995c1e016d8abb743ab1d91009fe2dd2asize 10641234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ "best_global_step": 1164, "best_metric": 0.2065684199333191, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-1164", "epoch": 2.0, "eval_steps": 500, "global_step": 1164, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.8591065292096219, "grad_norm": 3.2585995197296143, "learning_rate": 0.00011921005385996409, "loss": 0.5338, "step": 500 }, { "epoch": 1.0, "eval_accuracy": 0.8734020840047266, "eval_loss": 0.3001032769680023, "eval_model_preparation_time": 0.0027, "eval_runtime": 277.2698, "eval_samples_per_second": 67.148, "eval_steps_per_second": 8.396, "step": 582 }, { "epoch": 1.718213058419244, "grad_norm": 3.363511562347412, "learning_rate": 2.9443447037701977e-05, "loss": 0.3278, "step": 1000 }, { "epoch": 2.0, "eval_accuracy": 0.9149210441508218, "eval_loss": 0.2065684199333191, "eval_model_preparation_time": 0.0027, "eval_runtime": 280.2892, "eval_samples_per_second": 66.424, "eval_steps_per_second": 8.306, "step": 1164 } ], "logging_steps": 500, "max_steps": 1164, "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": 3.1187196424023736e+18, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:206d195b28a5a4e1f61804a2eec06b109a4be9fa8d841f4d552fca404cebe15fsize 530412345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "Real", "1": "AI" }, "initializer_factor": 1.0, "label2id": { "AI": 1, "Real": 0 }, "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:caae1250ebfd11db56e18ed1a1132fd0ac6104ab9922fbcafbaf79c63a81dbc6size 371567992123version https://git-lfs.github.com/spec/v1oid sha256:e566e2828377d9bd353e9cf879944f45d205b370ae74761452403ec038900cc6size 686555770123456789101112131415161718192021222324{ "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:1aef95b588f2fa4f74aa3445276067460b3f96dbe1913e7b6087b3f3ed691c48size 14244123version https://git-lfs.github.com/spec/v1oid sha256:5461f1d8cc6a2eddb196f32da43cf9fb09101eead2a8748d00fe8a8e3e51b19bsize 1064123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "best_global_step": 582, "best_metric": 0.3001032769680023, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-582", "epoch": 1.0, "eval_steps": 500, "global_step": 582, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.8591065292096219, "grad_norm": 3.2585995197296143, "learning_rate": 0.00011921005385996409, "loss": 0.5338, "step": 500 }, { "epoch": 1.0, "eval_accuracy": 0.8734020840047266, "eval_loss": 0.3001032769680023, "eval_model_preparation_time": 0.0027, "eval_runtime": 277.2698, "eval_samples_per_second": 67.148, "eval_steps_per_second": 8.396, "step": 582 } ], "logging_steps": 500, "max_steps": 1164, "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": 1.5593598212011868e+18, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:206d195b28a5a4e1f61804a2eec06b109a4be9fa8d841f4d552fca404cebe15fsize 530412345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "Real", "1": "AI" }, "initializer_factor": 1.0, "label2id": { "AI": 1, "Real": 0 }, "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:8560c44d0f9fbe9a939a3dbbff4c2d88047b073beeb1410e7afc2b567e6628f4size 371567992123456789101112131415161718192021222324{ "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:206d195b28a5a4e1f61804a2eec06b109a4be9fa8d841f4d552fca404cebe15fsize 5304checkpoint-1164/config.jsonAdded+46
checkpoint-1164/model.safetensorsAdded+3
checkpoint-1164/optimizer.ptAdded+3
checkpoint-1164/preprocessor_config.jsonAdded+24
checkpoint-1164/rng_state.pthAdded+3
checkpoint-1164/scheduler.ptAdded+3
checkpoint-1164/trainer_state.jsonAdded+68
checkpoint-1164/training_args.binAdded+3
checkpoint-582/config.jsonAdded+46
checkpoint-582/model.safetensorsAdded+3
checkpoint-582/optimizer.ptAdded+3
checkpoint-582/preprocessor_config.jsonAdded+24
checkpoint-582/rng_state.pthAdded+3
checkpoint-582/scheduler.ptAdded+3
checkpoint-582/trainer_state.jsonAdded+51
checkpoint-582/training_args.binAdded+3
config.jsonAdded+46
model.safetensorsAdded+3
preprocessor_config.jsonAdded+24
training_args.binAdded+3