Skip to content
Back to skills

Vpt Frozen Prompt Training

ASecurity

Configure and verify Visual Prompt Tuning trainability with frozen backbone and trainable prompt/head parameters.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
testingpython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill vpt_frozen_prompt_training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vpt Frozen Prompt Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vpt Frozen Prompt Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-vpt-frozen-prompt-training/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-vpt-frozen-prompt-training)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: vpt_frozen_prompt_training
description: Configure and verify Visual Prompt Tuning trainability with frozen backbone and trainable prompt/head parameters.
---

# VPT Frozen Prompt Training

Use this skill when a VPT implementation or recovery harness needs to decide which parameters are trainable, compute tunable-parameter ratios, or verify that frozen backbone parameters did not change. Do not use this skill to insert prompt tokens or compute classification accuracy.

## Inputs

- Parameter records with `name`, `count`, and optional before/after scalar values.
- Role hints or naming conventions identifying prompt, classifier head, and backbone parameters.
- Optional optimizer settings for prompt/head groups.

## Outputs

- A trainability mask where prompt and head parameters are trainable and all backbone parameters are frozen.
- Optimizer parameter-group names containing no frozen backbone parameters.
- Tunable-count and tunable-percentage summaries.
- Freeze verification showing unchanged frozen parameters after a training step.

## Workflow

1. Classify each parameter by explicit role or by conservative name matching.
2. Mark only prompt and classifier-head roles as trainable.
3. Treat ambiguous Transformer, patch, attention, MLP, norm, and position parameters as frozen.
4. Build optimizer groups from the trainable subset.
5. Compute tunable percentage against total and frozen-backbone counts.
6. Compare before/after values to prove frozen parameters did not mutate.

## Validation

Run `python tests/test_training_config.py`, or use the Distiller validator with `--run-tests`.

## Limitations

This skill validates trainability semantics and parameter accounting. It does not implement a full deep-learning framework optimizer.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…