Instructions to use turing552/clip-wikiart-raw-v1-5ep with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use turing552/clip-wikiart-raw-v1-5ep with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="turing552/clip-wikiart-raw-v1-5ep") 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("turing552/clip-wikiart-raw-v1-5ep") model = AutoModelForZeroShotImageClassification.from_pretrained("turing552/clip-wikiart-raw-v1-5ep", device_map="auto") - Notebooks
- Google Colab
- Kaggle
clip-wikiart-raw-v1-5ep
This model is a fine-tuned version of openai/clip-vit-base-patch32 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.2771
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: 5e-06
- train_batch_size: 64
- eval_batch_size: 64
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.4676 | 0.3262 | 500 | 0.4719 |
| 0.4312 | 0.6523 | 1000 | 0.4424 |
| 0.3781 | 0.9785 | 1500 | 0.3742 |
| 0.2111 | 1.3046 | 2000 | 0.3532 |
| 0.2031 | 1.6308 | 2500 | 0.3255 |
| 0.2096 | 1.9569 | 3000 | 0.3136 |
| 0.1125 | 2.2831 | 3500 | 0.3401 |
| 0.1125 | 2.6093 | 4000 | 0.3079 |
| 0.093 | 2.9354 | 4500 | 0.3090 |
| 0.0684 | 3.2616 | 5000 | 0.3050 |
| 0.067 | 3.5877 | 5500 | 0.3019 |
| 0.0615 | 3.9139 | 6000 | 0.2955 |
| 0.0478 | 4.2401 | 6500 | 0.2935 |
| 0.0423 | 4.5662 | 7000 | 0.2816 |
| 0.0425 | 4.8924 | 7500 | 0.2771 |
Framework versions
- Transformers 4.44.2
- Pytorch 2.5.1+cu124
- Datasets 4.4.1
- Tokenizers 0.19.1
- Downloads last month
- 2
Model tree for turing552/clip-wikiart-raw-v1-5ep
Base model
openai/clip-vit-base-patch32