Instructions to use Setayeshk/Clipfa_finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Setayeshk/Clipfa_finetune with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="Setayeshk/Clipfa_finetune") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("Setayeshk/Clipfa_finetune") model = AutoModelForZeroShotImageClassification.from_pretrained("Setayeshk/Clipfa_finetune", device_map="auto") - Notebooks
- Google Colab
- Kaggle
flickrfa_wo_finetune
Browse files- metrics.csv +2 -0
metrics.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Recall@1,Recall@5,Recall@10,Precision@1,Precision@5,Precision@10,AUC,F1
|
| 2 |
+
0.15367208393334705,0.37368854145237607,0.4933141328944662,0.15367208393334705,0.07473770829047811,0.04933141328945079,0.9930600151412103,0.0006717152004981035
|