界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

feature-evaluation

feature-evaluation

【效率与协作】Extract CLIP features and evaluate downstream workflows safely.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: feature-evaluation description: "Extract CLIP features and evaluate downstream workflows safely." disable-model-invocation: true metadata: disco-role: operating license: MIT

CLIP Feature Evaluation

Use this sub-skill when an agent needs dataset-scale CLIP embeddings, normalized image/text features, similarity or search prototypes, .npz feature storage, or a downstream linear-probe evaluation plan.

Start Here

  • For batch image embedding extraction, run python scripts/extract_image_features.py --help; it writes deterministic .npz outputs and only downloads weights if the selected named model is not already cached.
  • For image/text embedding workflows, normalization rules, similarity/search prototypes, feature storage, validation checks, and scikit-learn linear probes, read references/feature-workflows.md.
  • For intended research use, deployment boundaries, bias/fairness warnings, English-language limits, class taxonomy risk, and dataset licensing/scale caveats, read references/responsible-evaluation.md.
  • For OOM, dtype/device mismatch, missing scikit-learn, unnormalized embeddings, dataset fixture/download issues, misleading linear-probe accuracy, and large-batch performance, read references/troubleshooting.md.

Scope Boundaries

This sub-skill owns feature extraction after a CLIP model/preprocess pair is available, model.encode_image, model.encode_text, feature normalization, evaluation storage, linear probes, small similarity/search prototypes, batch-size/device choices, and responsible evaluation caveats.

Do not use this sub-skill for first-time model loading, cache setup, image preprocessing mechanics, or single-image inference setup; route those steps to ../model-loading-inference/. Do not use it for prompt template design, prompt ensembling, or label wording strategy; route those decisions to ../prompt-engineering/. Treat large dataset and checkpoint downloads as explicit opt-in operations, not default evaluation steps.

我的收藏