Instructions to use Selsabeel/vit-base-patch16-224-in21k-lora-resisc45 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Selsabeel/vit-base-patch16-224-in21k-lora-resisc45 with PEFT:
Task type is invalid.
- Transformers
How to use Selsabeel/vit-base-patch16-224-in21k-lora-resisc45 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Selsabeel/vit-base-patch16-224-in21k-lora-resisc45", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Configuration Parsing Warning:In adapter_config.json: "peft.task_type" must be a string
vit-base-patch16-224-in21k-lora-resisc45
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.2407
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.005
- train_batch_size: 256
- eval_batch_size: 256
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 1024
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.7794 | 1.0 | 19 | 0.6767 |
| 0.6737 | 2.0 | 38 | 0.3692 |
| 0.4597 | 3.0 | 57 | 0.2880 |
| 0.4039 | 4.0 | 76 | 0.2562 |
| 0.3512 | 5.0 | 95 | 0.2407 |
Framework versions
- PEFT 0.18.1
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.8.3
- Tokenizers 0.22.2
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for Selsabeel/vit-base-patch16-224-in21k-lora-resisc45
Base model
google/vit-base-patch16-224-in21k