Instructions to use alecocc/medsiglip-448-ft-carisbo-prova with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alecocc/medsiglip-448-ft-carisbo-prova with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="alecocc/medsiglip-448-ft-carisbo-prova") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("alecocc/medsiglip-448-ft-carisbo-prova") model = AutoModelForZeroShotImageClassification.from_pretrained("alecocc/medsiglip-448-ft-carisbo-prova", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| license: other | |
| base_model: google/medsiglip-448 | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: medsiglip-448-ft-carisbo-prova | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # medsiglip-448-ft-carisbo-prova | |
| This model is a fine-tuned version of [google/medsiglip-448](https://huggingface.co/google/medsiglip-448) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 2.0453 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 0.0001 | |
| - train_batch_size: 4 | |
| - eval_batch_size: 4 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 16 | |
| - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: cosine | |
| - lr_scheduler_warmup_steps: 5 | |
| - num_epochs: 2 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:----:|:---------------:| | |
| | 1.861 | 1.576 | 50 | 2.0453 | | |
| ### Framework versions | |
| - Transformers 4.57.3 | |
| - Pytorch 2.7.1+cu126 | |
| - Datasets 4.3.0 | |
| - Tokenizers 0.22.2 | |