技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
prompt_template_rendering【数据与研究】Render structured dataset examples into PromptSource-style natural-language source and target pairs for prompted multitask recovery.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery or implementation needs to convert structured NLP examples into the text-to-text prompted format used by T0/P3-style multitask training. Do not use it to choose train/evaluation splits or to score model outputs; those are separate contracts.
dataset_id, template_id, input_format, target_field, and optional answer_choices.dataset_id, task_family, example_id, template_id, source, target, and label.input_format exists in the raw example.target_field; if answer_choices is supplied, map numeric or symbolic labels to target text.Run python tests/test_prompt_template_rendering.py or validate the whole tree with the Distiller skill validator.
This skill implements deterministic rendering only; it does not provide the original PromptSource package or full dataset loading.