Instructions to use DataScienceProject/Vit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DataScienceProject/Vit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="DataScienceProject/Vit") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DataScienceProject/Vit", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update requirements.txt
Browse files- requirements.txt +3 -1
requirements.txt
CHANGED
|
@@ -3,4 +3,6 @@ torchvision
|
|
| 3 |
transformers
|
| 4 |
Pillow
|
| 5 |
pandas
|
| 6 |
-
scikit-learn
|
|
|
|
|
|
|
|
|
| 3 |
transformers
|
| 4 |
Pillow
|
| 5 |
pandas
|
| 6 |
+
scikit-learn
|
| 7 |
+
matplotlib
|
| 8 |
+
seaborn
|