# Flan Reduced Instruction Finetuning Loop

> Execute a bounded optimizer-based proxy for FLAN instruction finetuning and record loss plus parameter-change evidence.

- Skill: `yzj623/flan-reduced-instruction-finetuning-loop` (Agent Skill)
- Install (CLI): `npx get-skill add yzj623/flan-reduced-instruction-finetuning-loop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yzj623/flan-reduced-instruction-finetuning-loop/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: yzj623 (https://skillmd.com/u/yzj623)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/yzj623/flan-reduced-instruction-finetuning-loop

---


# FLAN Reduced Instruction Finetuning Loop

Use this skill when full FLAN-T5 finetuning is unavailable but soft-mode recovery permits a declared proxy.

## Inputs

- Formatted prompt/completion records.
- Learning rate and step budget.

## Outputs

- Training trace with `loss_before`, `loss_after`, `params_before`, `params_after`, and optimizer flags.

## Workflow

1. Convert records to deterministic features.
2. Compute logistic loss.
3. Apply gradient steps.
4. Save before/after parameter evidence.

## Validation

Run `python tests/test_training_loop.py`.

## Limitations

This validates optimization mechanics but is not full large-model FLAN training.

