Instructions to use prithivMLmods/x-bot-profile-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/x-bot-profile-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/x-bot-profile-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/x-bot-profile-detection") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/x-bot-profile-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (20)
- checkpoint-313/config.jsonAdded+50
- checkpoint-313/model.safetensorsAdded+3
- checkpoint-313/optimizer.ptAdded+3
- checkpoint-313/preprocessor_config.jsonAdded+24
- checkpoint-313/rng_state.pthAdded+3
- checkpoint-313/scheduler.ptAdded+3
- checkpoint-313/trainer_state.jsonAdded+44
- checkpoint-313/training_args.binAdded+3
- checkpoint-626/config.jsonAdded+50
- checkpoint-626/model.safetensorsAdded+3
- checkpoint-626/optimizer.ptAdded+3
- checkpoint-626/preprocessor_config.jsonAdded+24
- checkpoint-626/rng_state.pthAdded+3
- checkpoint-626/scheduler.ptAdded+3
- checkpoint-626/trainer_state.jsonAdded+61
- checkpoint-626/training_args.binAdded+3
- config.jsonAdded+50
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+24
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "bot", "1": "cyborg", "2": "real", "3": "verified" }, "initializer_factor": 1.0, "label2id": { "bot": 0, "cyborg": 1, "real": 2, "verified": 3 }, "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:c42e56adaf17bcb0c2dbe18acd3d1be7cbbb780990dd64fe7632d986b7942d0bsize 371574144123version https://git-lfs.github.com/spec/v1oid sha256:a36a3dfd516023e27c97961098f7cecf6ddadcd2698e6af4e4d33409b08825a7size 686568058123456789101112131415161718192021222324{ "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:f5c71b2757636618af226054c8fcdcecbc3433ba8a10b80225be943f6ab9d97dsize 14244123version https://git-lfs.github.com/spec/v1oid sha256:6810429ff165a89e4ea757f4b5d3738ae0f488ba6664222402d1a349b3f17fe1size 10641234567891011121314151617181920212223242526272829303132333435363738394041424344{ "best_global_step": 313, "best_metric": 0.18248987197875977, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-313", "epoch": 1.0, "eval_steps": 500, "global_step": 313, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 1.0, "eval_accuracy": 0.9416, "eval_loss": 0.18248987197875977, "eval_model_preparation_time": 0.0023, "eval_runtime": 241.9878, "eval_samples_per_second": 41.324, "eval_steps_per_second": 5.166, "step": 313 } ], "logging_steps": 500, "max_steps": 626, "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": 8.3756884893696e+17, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:12dd34e788f5eb534c4b6ac8f57ace245fefa2a536daa2fe035c88d0385d96e8size 53041234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "bot", "1": "cyborg", "2": "real", "3": "verified" }, "initializer_factor": 1.0, "label2id": { "bot": 0, "cyborg": 1, "real": 2, "verified": 3 }, "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:e86cd4022386f9707be23d566c2e3d958d41f0d27cf521e329e5e0b1b471b47csize 371574144123version https://git-lfs.github.com/spec/v1oid sha256:1c6819b74ea083dc6fb8ca099ca732510c798a14ed33d1de74cf5ebd21c6f097size 686568058123456789101112131415161718192021222324{ "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:af82d6208b626c8a56c5a50c572147ca8e3f620beaa54c6797f5e663add1c49bsize 14244123version https://git-lfs.github.com/spec/v1oid sha256:46d020344d4cdb625fa3ccdabe828dfdae277b492bb5282dbb9f16edd7c73161size 106412345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ "best_global_step": 626, "best_metric": 0.08295348286628723, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-626", "epoch": 2.0, "eval_steps": 500, "global_step": 626, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 1.0, "eval_accuracy": 0.9416, "eval_loss": 0.18248987197875977, "eval_model_preparation_time": 0.0023, "eval_runtime": 241.9878, "eval_samples_per_second": 41.324, "eval_steps_per_second": 5.166, "step": 313 }, { "epoch": 1.5974440894568689, "grad_norm": 4.444203853607178, "learning_rate": 4.375e-05, "loss": 0.4169, "step": 500 }, { "epoch": 2.0, "eval_accuracy": 0.9559, "eval_loss": 0.08295348286628723, "eval_model_preparation_time": 0.0023, "eval_runtime": 241.3064, "eval_samples_per_second": 41.441, "eval_steps_per_second": 5.18, "step": 626 } ], "logging_steps": 500, "max_steps": 626, "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.67513769787392e+18, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:12dd34e788f5eb534c4b6ac8f57ace245fefa2a536daa2fe035c88d0385d96e8size 53041234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "bot", "1": "cyborg", "2": "real", "3": "verified" }, "initializer_factor": 1.0, "label2id": { "bot": 0, "cyborg": 1, "real": 2, "verified": 3 }, "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:e86cd4022386f9707be23d566c2e3d958d41f0d27cf521e329e5e0b1b471b47csize 371574144123456789101112131415161718192021222324{ "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:12dd34e788f5eb534c4b6ac8f57ace245fefa2a536daa2fe035c88d0385d96e8size 5304checkpoint-313/config.jsonAdded+50
checkpoint-313/model.safetensorsAdded+3
checkpoint-313/optimizer.ptAdded+3
checkpoint-313/preprocessor_config.jsonAdded+24
checkpoint-313/rng_state.pthAdded+3
checkpoint-313/scheduler.ptAdded+3
checkpoint-313/trainer_state.jsonAdded+44
checkpoint-313/training_args.binAdded+3
checkpoint-626/config.jsonAdded+50
checkpoint-626/model.safetensorsAdded+3
checkpoint-626/optimizer.ptAdded+3
checkpoint-626/preprocessor_config.jsonAdded+24
checkpoint-626/rng_state.pthAdded+3
checkpoint-626/scheduler.ptAdded+3
checkpoint-626/trainer_state.jsonAdded+61
checkpoint-626/training_args.binAdded+3
config.jsonAdded+50
model.safetensorsAdded+3
preprocessor_config.jsonAdded+24
training_args.binAdded+3