Image Classification
Transformers
Safetensors
English
metaclip_2
text-generation-inference
open-scene
Instructions to use prithivMLmods/MetaCLIP-2-Open-Scene with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/MetaCLIP-2-Open-Scene with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/MetaCLIP-2-Open-Scene") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("prithivMLmods/MetaCLIP-2-Open-Scene") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/MetaCLIP-2-Open-Scene") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,4 +9,22 @@ library_name: transformers
|
|
| 9 |
tags:
|
| 10 |
- text-generation-inference
|
| 11 |
- open-scene
|
| 12 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
tags:
|
| 10 |
- text-generation-inference
|
| 11 |
- open-scene
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
```
|
| 15 |
+
Classification Report:
|
| 16 |
+
precision recall f1-score support
|
| 17 |
+
|
| 18 |
+
buildings 0.9644 0.9703 0.9673 2625
|
| 19 |
+
forest 0.9948 0.9978 0.9963 2694
|
| 20 |
+
glacier 0.9531 0.9427 0.9479 2671
|
| 21 |
+
mountain 0.9470 0.9512 0.9491 2723
|
| 22 |
+
sea 0.9909 0.9920 0.9915 2758
|
| 23 |
+
street 0.9728 0.9694 0.9711 2874
|
| 24 |
+
|
| 25 |
+
accuracy 0.9706 16345
|
| 26 |
+
macro avg 0.9705 0.9706 0.9705 16345
|
| 27 |
+
weighted avg 0.9706 0.9706 0.9706 16345
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+

|