Skip to main content

weight-name-alignment

Sterne13
Forks1
Aktualisiert5. Juni 2026 um 17:40

Use this skill when adding or modifying a model's preprocess_weights method to align ONNX parameter names with HuggingFace weight names. Covers nn.ModuleList for Sequential patterns, wrapper modules for nesting, placeholder modules, non-consecutive indices, and which rename categories cannot be eliminated. Reduces or eliminates weight name renames by structuring nn.Module attributes to match HuggingFace naming conventions.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly