인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

clip_zeroshot_retrieval_eval

clip_zeroshot_retrieval_eval

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

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

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.

저장한 Skills