Instructions to use kevinkwshin/medsiglip-448-ft-crc100k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kevinkwshin/medsiglip-448-ft-crc100k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="kevinkwshin/medsiglip-448-ft-crc100k") 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("kevinkwshin/medsiglip-448-ft-crc100k") model = AutoModelForZeroShotImageClassification.from_pretrained("kevinkwshin/medsiglip-448-ft-crc100k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
medsiglip-448-ft-crc100k
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: 1.4483
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: 24
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 192
- 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 |
|---|---|---|---|
| 2.6176 | 1.064 | 50 | 1.4483 |
Framework versions
- Transformers 4.57.3
- Pytorch 2.7.1+cu126
- Datasets 4.5.0
- Tokenizers 0.22.1
- Downloads last month
- 6
Model tree for kevinkwshin/medsiglip-448-ft-crc100k
Base model
google/medsiglip-448