Instructions to use FLIP-dataset/FLIP-base-16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FLIP-dataset/FLIP-base-16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="FLIP-dataset/FLIP-base-16") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("FLIP-dataset/FLIP-base-16") model = AutoModelForZeroShotImageClassification.from_pretrained("FLIP-dataset/FLIP-base-16") - Notebooks
- Google Colab
- Kaggle
Upload pytorch_model.bin
Browse files- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 598616781
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec6aae5e7280eafe3249c317f35a81b55481557aba95414ea55a8b839bb90a6e
|
| 3 |
size 598616781
|