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

pplm_recovery_evaluation

pplm_recovery_evaluation

【效率与协作】Use when validating a reduced or full PPLM recovery experiment with numeric metrics and mechanism checks.

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

技能说明

GitHub

name: pplm_recovery_evaluation description: Use when validating a reduced or full PPLM recovery experiment with numeric metrics and mechanism checks.

PPLM Recovery Evaluation

Use this skill to turn PPLM generation traces into recovery metrics.

Inputs

  • Prompt/attribute items.
  • Controlled and uncontrolled outputs.
  • Trace flags for attribute model, perturbation, KL, reranking, and frozen base model.
  • Paper target metadata.

Outputs

  • Topic or sentiment hit rate.
  • Diversity metrics.
  • Mechanism checks for recovery_result.json.

Workflow

  1. Canonicalize target words and generated tokens.
  2. Compute attribute hit rate.
  3. Aggregate diversity.
  4. Require mechanism checks for proxy acceptance.
  5. Emit validator-compatible JSON.

Validation

Run python tests/test_recovery_evaluation.py.

Limitations

Reduced proxy implementations must declare that they are not full GPT-2 345M reproduction.

我的收藏