技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
rtp_prompt_dataset_protocol【数据与研究】Normalize RealToxicityPrompts-style prompt records for toxic and non-toxic prompted generation evaluation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when preparing natural prompt records for RealToxicityPrompts-style evaluation. It validates prompt text, preserves stable identifiers, attaches numeric prompt toxicity, and assigns toxic/non_toxic groups with threshold >= 0.5. Do not use it to score generated continuations or compute final metrics. Inputs are JSON-like records; outputs are normalized prompt records. Workflow: load records, validate text and scores, choose threshold, normalize ids, and write JSONL/JSON. Validation command: python scripts/rtp_core.py --self-test.
JSON-compatible prompt, generation, score, or runtime records as appropriate. Required identifiers must be stable strings. Toxicity thresholds default to 0.5 and scores must be bounded in [0,1].
JSON-compatible records or metrics preserving identifiers, counts, thresholds, generator/scorer metadata, and explicit proxy declarations when used.
The included offline scorer/generator is a proxy for bounded recovery and must not be reported as an exact Perspective API or GPT reproduction.