Instructions to use TirathP/vit-base-patch16-224-finetuned-customData with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TirathP/vit-base-patch16-224-finetuned-customData with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="TirathP/vit-base-patch16-224-finetuned-customData") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("TirathP/vit-base-patch16-224-finetuned-customData") model = AutoModelForImageClassification.from_pretrained("TirathP/vit-base-patch16-224-finetuned-customData", device_map="auto") - Notebooks
- Google Colab
- Kaggle
metadata
license: apache-2.0
base_model: google/vit-base-patch16-224
tags:
- generated_from_keras_callback
model-index:
- name: TirathP/vit-base-patch16-224-finetuned-customData
results: []
TirathP/vit-base-patch16-224-finetuned-customData
This model is a fine-tuned version of google/vit-base-patch16-224 on an unknown dataset. It achieves the following results on the evaluation set:
- Train Loss: 1.1397
- Validation Loss: 1.0223
- Validation Accuracy: 0.5714
- Epoch: 0
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:
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 5e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
- training_precision: float32
Training results
| Train Loss | Validation Loss | Validation Accuracy | Epoch |
|---|---|---|---|
| 1.1397 | 1.0223 | 0.5714 | 0 |
Framework versions
- Transformers 4.31.0
- TensorFlow 2.12.0
- Datasets 2.14.4
- Tokenizers 0.13.3