Skip to content
Back to skills

Vpt Prompt Tuning Loop

ASecurity

Run a bounded tiny VPT optimization loop with frozen backbone and trainable prompts.

  • 247 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 9, 2026
toolspython

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Vpt Prompt Tuning Loop?

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

Security grade badge for Vpt Prompt Tuning Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-vpt-prompt-tuning-loop/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-vpt-prompt-tuning-loop)

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

SKILL.md
---
name: vpt_prompt_tuning_loop
description: Run a bounded tiny VPT optimization loop with frozen backbone and trainable prompts.
---

# vpt_prompt_tuning_loop

Use this skill when implementing or checking Visual Prompt Tuning mechanisms from Jia et al. Do not use it for unrelated pixel-prompt or full-backbone fine-tuning experiments.

## Inputs
Provide small token vectors, prompt settings, named parameter records, training examples, or prediction/label lists depending on the script. Inputs must make the frozen-backbone boundary explicit.

## Outputs
The scripts return prompted token sequences, freeze-audit dictionaries, training traces, or metric reports. Recovery users should save these outputs as experiment evidence.

## Workflow
1. Preserve the class token and image-patch token order.
2. Add continuous prompt parameters in input/token space.
3. Freeze all backbone parameters and update only prompt/head records.
4. Log loss, parameter changes, accuracy, and storage-efficient parameter ratios.

## Validation
Run `python -m pytest tests` or validate this tree with the Distiller `validate_skill_tree.py --run-tests` command.

## Limitations
These helpers are minimal and deterministic. They are intended for mechanism-faithful bounded recovery, not full VTAB/FGVC reproduction.

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.