Instructions to use Enayat/ViT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Enayat/ViT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Enayat/ViT") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Enayat/ViT") model = AutoModelForImageClassification.from_pretrained("Enayat/ViT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,6 +21,7 @@ model-index:
|
|
| 21 |
# ViT
|
| 22 |
|
| 23 |
Created a Simple Image Classifier using ViT Transformers, custom trained on blur-dataset with an acc of about 93%.
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
## Example Images
|
|
|
|
| 21 |
# ViT
|
| 22 |
|
| 23 |
Created a Simple Image Classifier using ViT Transformers, custom trained on blur-dataset with an acc of about 93%.
|
| 24 |
+
The Dataset link : https://www.kaggle.com/datasets/kwentar/blur-dataset
|
| 25 |
|
| 26 |
|
| 27 |
## Example Images
|