La interfaz está localizada; las descripciones y documentos de las Skills se traducen automáticamente con IA a su idioma. El código, los comandos, rutas y términos técnicos se mantienen en el original, y prevalece el documento del autor.
Explorar Skills
Productividad · SKILL.md

flan_instruction_prompt_formatter

flan_instruction_prompt_formatter

Render FLAN-style direct, few-shot, and chain-of-thought instruction prompt/completion pairs without leaking hidden answers into prompts.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentación de la Skill

GitHub

name: flan_instruction_prompt_formatter description: Render FLAN-style direct, few-shot, and chain-of-thought instruction prompt/completion pairs without leaking hidden answers into prompts.

FLAN Instruction Prompt Formatter

Use this skill after mixture construction to format examples for instruction finetuning or held-out evaluation.

Inputs

  • Examples with instruction, input, answer, and optional rationale.
  • Mode direct, few_shot, or cot.

Outputs

  • Prompt/completion records and metadata.

Workflow

  1. Build prompts from instruction and input fields.
  2. Put target answers only in completions for query examples.
  3. Put rationale plus final answer in CoT completions.
  4. Record metadata for mechanism checks.

Validation

Run python tests/test_prompt_formatter.py.

Limitations

Uses compact deterministic templates rather than every original FLAN template.

Skills guardadas