Instructions to use sajjadi/vit-base-patch16-224-in21k-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sajjadi/vit-base-patch16-224-in21k-lora with PEFT:
Task type is invalid.
- Transformers
How to use sajjadi/vit-base-patch16-224-in21k-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sajjadi/vit-base-patch16-224-in21k-lora", dtype="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
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.3691
- Accuracy: 0.8962
- Solar Loss: 0.3698
- Solar Accuracy: 0.8956
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.002
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 128
- 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: linear
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
Framework versions
- PEFT 0.16.0
- Transformers 4.53.2
- Pytorch 2.5.1+cu121
- Datasets 3.0.1
- Tokenizers 0.21.0
- Downloads last month
- 135
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for sajjadi/vit-base-patch16-224-in21k-lora
Base model
google/vit-base-patch16-224-in21k