Skip to content
Back to skills

Clip Zeroshot Retrieval Eval

ASecurity

Evaluate CLIP-style zero-shot classification and cross-modal retrieval with normalized similarity rankings.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
ai-agentspython

Works with

  • cli

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill clip_zeroshot_retrieval_eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clip Zeroshot Retrieval Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clip Zeroshot Retrieval Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-clip-zeroshot-retrieval-eval/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-clip-zeroshot-retrieval-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: clip_zeroshot_retrieval_eval
description: Evaluate CLIP-style zero-shot classification and cross-modal retrieval with normalized similarity rankings.
---

# CLIP Zero-Shot And Retrieval Evaluation

Use this skill when checking downstream CLIP transfer mechanisms: class-prompt similarity for zero-shot classification and image/text ranking for retrieval.

## Inputs
- Image embeddings.
- Class text embeddings and labels for classification.
- Caption/text embeddings aligned by index for retrieval.
- Recall cutoffs.

## Outputs
- Top-1 accuracy percentage.
- Recall@K percentages.
- Ranking traces.

## Workflow
1. Normalize image and text/class embeddings.
2. For classification, choose the class with maximum similarity.
3. For retrieval, rank candidates by similarity with deterministic tie-breaking.
4. Compute percentages and save trace data.

## Validation
Run `python tests/test_zeroshot_retrieval_eval.py`.

## Limitations
This skill evaluates provided embeddings; it does not download datasets or run large model inference.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…