Instructions to use facebook/PE-Core-B16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PerceptionEncoder
How to use facebook/PE-Core-B16-224 with PerceptionEncoder:
# Use PE-Core models as CLIP models import core.vision_encoder.pe as pe model = pe.CLIP.from_config("facebook/PE-Core-B16-224", pretrained=True)# Use any PE model as a vision encoder import core.vision_encoder.pe as pe model = pe.VisionTransformer.from_config("facebook/PE-Core-B16-224", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Add pipeline_tag.
#2
by shumingh - opened
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
library_name: perception-encoder
|
|
|
|
| 4 |
---
|
| 5 |
# Model Details
|
| 6 |
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
library_name: perception-encoder
|
| 4 |
+
pipeline_tag: zero-shot-image-classification
|
| 5 |
---
|
| 6 |
# Model Details
|
| 7 |
|