인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

lora_parameter_freezing

lora_parameter_freezing

Apply LoRA parameter freezing and compact checkpoint filtering for reduced adaptation experiments and audits.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: lora_parameter_freezing description: Apply LoRA parameter freezing and compact checkpoint filtering for reduced adaptation experiments and audits.

LoRA Parameter Freezing and Checkpointing

Use this skill when a recovery or implementation must prove that only LoRA adaptation parameters are trained or stored. It is useful for reduced experiments, model audits, and checkpoint construction. Do not use it to mutate a shared environment or to import the original repository during recovery.

Inputs

  • Named parameter metadata or a dictionary of parameter payloads.
  • Bias policy: none, lora_only, or all.
  • Optional expected parameter-count budget from the module plan.

Outputs

  • A map from parameter name to trainable/frozen status.
  • A compact state dictionary containing LoRA parameters and permitted biases only.
  • Evidence that frozen backbone weights are excluded from optimizer and checkpoint payloads.

Workflow

  1. Mark every name containing lora_ as trainable.
  2. Keep non-LoRA weights frozen under the default none bias policy.
  3. Include biases only when the explicit policy permits them.
  4. Save checkpoints from the filtered LoRA state dictionary rather than full model parameters.
  5. Record counts for total parameters, trainable parameters, and checkpoint entries.

Validation

Run the included tests or python scripts/parameter_freezing.py --input <fixture.json>. Tests assert backbone exclusion, LoRA inclusion, and default freezing behavior.

Limitations

This skill models parameter names and checkpoint filtering deterministically; it does not depend on PyTorch tensors or optimizer objects.

저장한 Skills