Instructions to use fancyfeast/so400m-long with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fancyfeast/so400m-long with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="fancyfeast/so400m-long") 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("fancyfeast/so400m-long") model = AutoModelForZeroShotImageClassification.from_pretrained("fancyfeast/so400m-long") - Notebooks
- Google Colab
- Kaggle
Upload model.safetensors
Browse files- model.safetensors +2 -2
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7700d26ca4bce069311d641eaf8b762a0628a57954f05b6be5227049916f3733
|
| 3 |
+
size 4545027784
|