Instructions to use calibra4x4/medsiglip-448-ft-panda with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use calibra4x4/medsiglip-448-ft-panda with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="calibra4x4/medsiglip-448-ft-panda") 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("calibra4x4/medsiglip-448-ft-panda") model = AutoModelForZeroShotImageClassification.from_pretrained("calibra4x4/medsiglip-448-ft-panda", device_map="auto") - Notebooks
- Google Colab
- Kaggle
medsiglip-448-ft-panda
This model is a fine-tuned version of google/medsiglip-448 on the imagefolder dataset. It achieves the following results on the evaluation set:
- Loss: 2.3984
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: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 64
- optimizer: Use OptimizerNames.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 |
|---|---|---|---|
| 3.2603 | 0.3556 | 50 | 2.6934 |
| 2.5642 | 0.7111 | 100 | 2.6702 |
| 2.4887 | 1.064 | 150 | 2.5008 |
| 2.3063 | 1.4196 | 200 | 2.4494 |
| 2.2893 | 1.7751 | 250 | 2.3984 |
Framework versions
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 3.1.0
- Tokenizers 0.21.1
- Downloads last month
- 6
Model tree for calibra4x4/medsiglip-448-ft-panda
Base model
google/medsiglip-448