Instructions to use BadMD/Pilot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BadMD/Pilot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="BadMD/Pilot") 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("BadMD/Pilot") model = AutoModelForImageClassification.from_pretrained("BadMD/Pilot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create requirements.txt
Browse files- requirements.txt +6 -0
requirements.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transformers==4.24.0
|
| 2 |
+
datasets==2.7.1
|
| 3 |
+
evaluate==0.3.0
|
| 4 |
+
huggingface_hub==0.11.1
|
| 5 |
+
tokenizers==0.13.3
|
| 6 |
+
gradio==3.12.0
|