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

openclip_scale_protocol

openclip_scale_protocol

【效率与协作】Build and validate OpenCLIP-style scale tables for CLIP scaling-law experiments, including total compute and error metric derivation.

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

技能说明

GitHub

name: openclip_scale_protocol description: Build and validate OpenCLIP-style scale tables for CLIP scaling-law experiments, including total compute and error metric derivation.

OpenCLIP Scale Protocol

Use this skill when a recovery or analysis needs to represent CLIP scale points from the paper: dataset scale, model scale, samples seen, compute per sample, and downstream metrics.

Inputs

  • JSON list of records with dataset, model, samples_seen, gmac_per_sample, and optional accuracy or recall_at_5 values.
  • Metrics should be percentages, not fractions.

Outputs

  • JSON with validated records, total_compute, and derived error columns.

Workflow

  1. Validate positive samples_seen and gmac_per_sample.
  2. Compute total_compute = samples_seen * gmac_per_sample.
  3. Convert accuracy to classification_error = 100 - accuracy.
  4. Convert recall_at_5 to retrieval_error = 100 - recall_at_5.
  5. Preserve raw records for downstream power-law fitting.

Validation

Run python tests/test_scale_protocol.py.

Limitations

This skill structures scale evidence; it does not train CLIP models or claim full LAION-scale reproduction.

我的收藏