Run this model with HF Jobs
Run prithivMLmods/Alzheimer-Stage-Classifier 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/Alzheimer-Stage-Classifier. 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/Alzheimer-Stage-Classifier 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/Alzheimer-Stage-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Alzheimer-Stage-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/Alzheimer-Stage-Classifier") 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/Alzheimer-Stage-Classifier") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/Alzheimer-Stage-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (28)
- checkpoint-1062/config.jsonAdded+50
- checkpoint-1062/model.safetensorsAdded+3
- checkpoint-1062/optimizer.ptAdded+3
- checkpoint-1062/preprocessor_config.jsonAdded+24
- checkpoint-1062/rng_state.pthAdded+3
- checkpoint-1062/scheduler.ptAdded+3
- checkpoint-1062/trainer_state.jsonAdded+58
- checkpoint-1062/training_args.binAdded+3
- checkpoint-2124/config.jsonAdded+50
- checkpoint-2124/model.safetensorsAdded+3
- checkpoint-2124/optimizer.ptAdded+3
- checkpoint-2124/preprocessor_config.jsonAdded+24
- checkpoint-2124/rng_state.pthAdded+3
- checkpoint-2124/scheduler.ptAdded+3
- checkpoint-2124/trainer_state.jsonAdded+82
- checkpoint-2124/training_args.binAdded+3
- checkpoint-3186/config.jsonAdded+50
- checkpoint-3186/model.safetensorsAdded+3
- checkpoint-3186/optimizer.ptAdded+3
- checkpoint-3186/preprocessor_config.jsonAdded+24
- checkpoint-3186/rng_state.pthAdded+3
- checkpoint-3186/scheduler.ptAdded+3
- checkpoint-3186/trainer_state.jsonAdded+106
- checkpoint-3186/training_args.binAdded+3
- config.jsonAdded+50
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+24
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "MildDemented", "1": "ModerateDemented", "2": "NonDemented", "3": "VeryMildDemented" }, "initializer_factor": 1.0, "label2id": { "MildDemented": 0, "ModerateDemented": 1, "NonDemented": 2, "VeryMildDemented": 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:24141abda9e9309e74aa8a4ddae8ce8238d1752730f77978004103b5948bcbd1size 371574144123version https://git-lfs.github.com/spec/v1oid sha256:a66ff7697d5a444f1cfd80ec60ca9fc39cb6a021210eab14fc709fb3497d4888size 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:6684114d55602e59d9c5110b849969368bb32b3548cb50eaddd4934c50a8ce11size 14244123version https://git-lfs.github.com/spec/v1oid sha256:efccceda213691294969464fa824bd4fd6e51df5322f0c20f9f5dca76c80eaedsize 106412345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ "best_global_step": 1062, "best_metric": 0.7104782462120056, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-1062", "epoch": 1.0, "eval_steps": 500, "global_step": 1062, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.4708097928436911, "grad_norm": 10.774321556091309, "learning_rate": 8.565051020408164e-05, "loss": 1.047, "step": 500 }, { "epoch": 0.9416195856873822, "grad_norm": 4.252574920654297, "learning_rate": 6.970663265306123e-05, "loss": 0.7732, "step": 1000 }, { "epoch": 1.0, "eval_accuracy": 0.6644597457627118, "eval_loss": 0.7104782462120056, "eval_model_preparation_time": 0.0038, "eval_runtime": 419.7148, "eval_samples_per_second": 80.969, "eval_steps_per_second": 10.121, "step": 1062 } ], "logging_steps": 500, "max_steps": 3186, "num_input_tokens_seen": 0, "num_train_epochs": 3, "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": 2.846393976227365e+18, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:e61a621ea5a8d382bc2e56cb7a8ae6a3ad4ed62aa0cbc4ea8610f5957a76edd2size 53041234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "MildDemented", "1": "ModerateDemented", "2": "NonDemented", "3": "VeryMildDemented" }, "initializer_factor": 1.0, "label2id": { "MildDemented": 0, "ModerateDemented": 1, "NonDemented": 2, "VeryMildDemented": 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:b58eef82e75e6d874b2ddb886dc114d78259d87d1085843d9e308c7fd011f27bsize 371574144123version https://git-lfs.github.com/spec/v1oid sha256:65f6396a8aaf558ca64fa52db7950300d1c165bcd4b2753ce70e4c6e258b06aasize 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:3c1b345df5c81bda9ba90af5a37d39677a8e7e02dc1bedd401cb985646cf096esize 14244123version https://git-lfs.github.com/spec/v1oid sha256:ee0e312a8ee32a1c41c4ffb32ea4f99f7801ccc87e21176a55a879adf377a462size 106412345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ "best_global_step": 2124, "best_metric": 0.43832501769065857, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-2124", "epoch": 2.0, "eval_steps": 500, "global_step": 2124, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.4708097928436911, "grad_norm": 10.774321556091309, "learning_rate": 8.565051020408164e-05, "loss": 1.047, "step": 500 }, { "epoch": 0.9416195856873822, "grad_norm": 4.252574920654297, "learning_rate": 6.970663265306123e-05, "loss": 0.7732, "step": 1000 }, { "epoch": 1.0, "eval_accuracy": 0.6644597457627118, "eval_loss": 0.7104782462120056, "eval_model_preparation_time": 0.0038, "eval_runtime": 419.7148, "eval_samples_per_second": 80.969, "eval_steps_per_second": 10.121, "step": 1062 }, { "epoch": 1.4124293785310735, "grad_norm": 4.366853713989258, "learning_rate": 5.3762755102040816e-05, "loss": 0.6655, "step": 1500 }, { "epoch": 1.8832391713747647, "grad_norm": 7.878406047821045, "learning_rate": 3.781887755102041e-05, "loss": 0.5723, "step": 2000 }, { "epoch": 2.0, "eval_accuracy": 0.8096162900188324, "eval_loss": 0.43832501769065857, "eval_model_preparation_time": 0.0038, "eval_runtime": 419.9197, "eval_samples_per_second": 80.93, "eval_steps_per_second": 10.116, "step": 2124 } ], "logging_steps": 500, "max_steps": 3186, "num_input_tokens_seen": 0, "num_train_epochs": 3, "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.69278795245473e+18, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:e61a621ea5a8d382bc2e56cb7a8ae6a3ad4ed62aa0cbc4ea8610f5957a76edd2size 53041234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "MildDemented", "1": "ModerateDemented", "2": "NonDemented", "3": "VeryMildDemented" }, "initializer_factor": 1.0, "label2id": { "MildDemented": 0, "ModerateDemented": 1, "NonDemented": 2, "VeryMildDemented": 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:8e3b1807bac6c56faeac282de76f583ac281ed74cb00f30935e5c3be5bbe5b82size 371574144123version https://git-lfs.github.com/spec/v1oid sha256:732726181667eccb3ee8355b06664453d6036df572a5605dbcc814f2b2402a8fsize 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:feb341863255fa652ebcc3f277791628409694cb003399b86783f3db005e3e6fsize 14244123version https://git-lfs.github.com/spec/v1oid sha256:70acd8f7be020d79e7e7a56668ba5a57ae6e7b0ad13ff439c5b1615b572c6729size 1064123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106{ "best_global_step": 3186, "best_metric": 0.1701197475194931, "best_model_checkpoint": "siglip2-finetune-full/checkpoint-3186", "epoch": 3.0, "eval_steps": 500, "global_step": 3186, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.4708097928436911, "grad_norm": 10.774321556091309, "learning_rate": 8.565051020408164e-05, "loss": 1.047, "step": 500 }, { "epoch": 0.9416195856873822, "grad_norm": 4.252574920654297, "learning_rate": 6.970663265306123e-05, "loss": 0.7732, "step": 1000 }, { "epoch": 1.0, "eval_accuracy": 0.6644597457627118, "eval_loss": 0.7104782462120056, "eval_model_preparation_time": 0.0038, "eval_runtime": 419.7148, "eval_samples_per_second": 80.969, "eval_steps_per_second": 10.121, "step": 1062 }, { "epoch": 1.4124293785310735, "grad_norm": 4.366853713989258, "learning_rate": 5.3762755102040816e-05, "loss": 0.6655, "step": 1500 }, { "epoch": 1.8832391713747647, "grad_norm": 7.878406047821045, "learning_rate": 3.781887755102041e-05, "loss": 0.5723, "step": 2000 }, { "epoch": 2.0, "eval_accuracy": 0.8096162900188324, "eval_loss": 0.43832501769065857, "eval_model_preparation_time": 0.0038, "eval_runtime": 419.9197, "eval_samples_per_second": 80.93, "eval_steps_per_second": 10.116, "step": 2124 }, { "epoch": 2.354048964218456, "grad_norm": 11.523202896118164, "learning_rate": 2.1875e-05, "loss": 0.4148, "step": 2500 }, { "epoch": 2.824858757062147, "grad_norm": 4.949053764343262, "learning_rate": 5.931122448979593e-06, "loss": 0.2886, "step": 3000 }, { "epoch": 3.0, "eval_accuracy": 0.931379472693032, "eval_loss": 0.1701197475194931, "eval_model_preparation_time": 0.0038, "eval_runtime": 415.1862, "eval_samples_per_second": 81.852, "eval_steps_per_second": 10.232, "step": 3186 } ], "logging_steps": 500, "max_steps": 3186, "num_input_tokens_seen": 0, "num_train_epochs": 3, "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": 8.539181928682095e+18, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:e61a621ea5a8d382bc2e56cb7a8ae6a3ad4ed62aa0cbc4ea8610f5957a76edd2size 53041234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "architectures": [ "SiglipForImageClassification" ], "id2label": { "0": "MildDemented", "1": "ModerateDemented", "2": "NonDemented", "3": "VeryMildDemented" }, "initializer_factor": 1.0, "label2id": { "MildDemented": 0, "ModerateDemented": 1, "NonDemented": 2, "VeryMildDemented": 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:8e3b1807bac6c56faeac282de76f583ac281ed74cb00f30935e5c3be5bbe5b82size 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:e61a621ea5a8d382bc2e56cb7a8ae6a3ad4ed62aa0cbc4ea8610f5957a76edd2size 5304checkpoint-1062/config.jsonAdded+50
checkpoint-1062/model.safetensorsAdded+3
checkpoint-1062/optimizer.ptAdded+3
checkpoint-1062/preprocessor_config.jsonAdded+24
checkpoint-1062/rng_state.pthAdded+3
checkpoint-1062/scheduler.ptAdded+3
checkpoint-1062/trainer_state.jsonAdded+58
checkpoint-1062/training_args.binAdded+3
checkpoint-2124/config.jsonAdded+50
checkpoint-2124/model.safetensorsAdded+3
checkpoint-2124/optimizer.ptAdded+3
checkpoint-2124/preprocessor_config.jsonAdded+24
checkpoint-2124/rng_state.pthAdded+3
checkpoint-2124/scheduler.ptAdded+3
checkpoint-2124/trainer_state.jsonAdded+82
checkpoint-2124/training_args.binAdded+3
checkpoint-3186/config.jsonAdded+50
checkpoint-3186/model.safetensorsAdded+3
checkpoint-3186/optimizer.ptAdded+3
checkpoint-3186/preprocessor_config.jsonAdded+24
checkpoint-3186/rng_state.pthAdded+3
checkpoint-3186/scheduler.ptAdded+3
checkpoint-3186/trainer_state.jsonAdded+106
checkpoint-3186/training_args.binAdded+3
config.jsonAdded+50
model.safetensorsAdded+3
preprocessor_config.jsonAdded+24
training_args.binAdded+3