Image Classification
Transformers
Safetensors
siglip_vision_model
Generated from Trainer
siglip
custom_code
Run this model with HF Jobs
Run p1atdev/siglip-tagger-test-3 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/p1atdev/siglip-tagger-test-3. 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/p1atdev/siglip-tagger-test-3 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 p1atdev/siglip-tagger-test-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use p1atdev/siglip-tagger-test-3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="p1atdev/siglip-tagger-test-3", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForImageClassification tokenizer = AutoTokenizer.from_pretrained("p1atdev/siglip-tagger-test-3", trust_remote_code=True) model = AutoModelForImageClassification.from_pretrained("p1atdev/siglip-tagger-test-3", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (4)
- README.mdAdded+82
- config.jsonAdded
- model.safetensorsAdded+3
- training_args.binAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182---license: apache-2.0base_model: google/siglip-base-patch16-512tags:- generated_from_trainermetrics:- accuracy- f1model-index:- name: siglip-tagger-test-2 results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# siglip-tagger-test-2
This model is a fine-tuned version of [google/siglip-base-patch16-512](https://huggingface.co/google/siglip-base-patch16-512) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 364.7850- Accuracy: 0.2539- F1: 0.9967
## 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: 32- eval_batch_size: 16- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: cosine- lr_scheduler_warmup_steps: 100- num_epochs: 20
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|| 1496.9876 | 1.0 | 141 | 691.3267 | 0.1242 | 0.9957 || 860.0218 | 2.0 | 282 | 433.5286 | 0.1626 | 0.9965 || 775.4277 | 3.0 | 423 | 409.0374 | 0.1827 | 0.9966 || 697.2465 | 4.0 | 564 | 396.5604 | 0.2025 | 0.9966 || 582.6023 | 5.0 | 705 | 388.3294 | 0.2065 | 0.9966 || 617.5087 | 6.0 | 846 | 382.2605 | 0.2213 | 0.9966 || 627.533 | 7.0 | 987 | 377.6726 | 0.2269 | 0.9967 || 595.4033 | 8.0 | 1128 | 374.3268 | 0.2327 | 0.9967 || 593.3854 | 9.0 | 1269 | 371.4181 | 0.2409 | 0.9967 || 537.9777 | 10.0 | 1410 | 369.5010 | 0.2421 | 0.9967 || 552.3083 | 11.0 | 1551 | 368.0743 | 0.2468 | 0.9967 || 570.5438 | 12.0 | 1692 | 366.8302 | 0.2498 | 0.9967 || 507.5343 | 13.0 | 1833 | 366.1787 | 0.2499 | 0.9967 || 515.5528 | 14.0 | 1974 | 365.5653 | 0.2525 | 0.9967 || 458.5096 | 15.0 | 2115 | 365.1838 | 0.2528 | 0.9967 || 515.6953 | 16.0 | 2256 | 364.9844 | 0.2535 | 0.9967 || 533.7929 | 17.0 | 2397 | 364.8577 | 0.2538 | 0.9967 || 520.3728 | 18.0 | 2538 | 364.8066 | 0.2537 | 0.9967 || 525.1097 | 19.0 | 2679 | 364.7850 | 0.2539 | 0.9967 || 482.0612 | 20.0 | 2820 | 364.7876 | 0.2539 | 0.9967 |
### Framework versions
- Transformers 4.37.2- Pytorch 2.1.2+cu118- Datasets 2.16.1- Tokenizers 0.15.0123version https://git-lfs.github.com/spec/v1oid sha256:ecc21dfa206865f29cf32a50a3e849372602c63d9228fe7c0135376cde78e7bdsize 878455682123version https://git-lfs.github.com/spec/v1oid sha256:0427472951958484836b7c88470da20e324324aa5f003198da31ce640c92d77csize 4728README.mdAdded+82
config.jsonAdded
model.safetensorsAdded+3
training_args.binAdded+3