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

zero_shot_prompt_robust_evaluation

zero_shot_prompt_robust_evaluation

【效率与协作】Compute held-out prompted-task accuracy and prompt wording consistency for T0/P3-style recovery experiments.

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

技能说明

GitHub

name: zero_shot_prompt_robust_evaluation description: Compute held-out prompted-task accuracy and prompt wording consistency for T0/P3-style recovery experiments.

Zero-Shot and Prompt-Robust Evaluation

Use this skill after a model or proxy predictor has produced predictions for held-out prompted examples. It measures correctness and robustness across alternative templates for the same raw item.

Inputs

  • Prediction records with example_id, template_id, prediction, and target.

Outputs

  • Overall accuracy, per-template accuracy, and same-example prompt consistency.

Workflow

  1. Compare canonical prediction and target strings for exact-match accuracy.
  2. Group records by template id for per-prompt diagnostics.
  3. Group records by example id and measure whether all prompt variants produce the same prediction.
  4. Return JSON-serializable metrics and counts.

Validation

Run included deterministic metric tests.

Limitations

This skill does not generate predictions; it only evaluates records already produced by an experiment.

我的收藏