技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
ffn_value_vector_extraction【数据与研究】Extract and normalize feed-forward output value vectors from transformer-like model weights for concept-promotion analysis.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery or interpretability task needs the value vectors of transformer feed-forward neurons. It is appropriate for state dictionaries, named matrices, or explicit FFN output projection tensors. Do not use it to read an original paper repository during recovery; provide current-attempt matrices or model weights from allowed sources.
neurons_by_rows or neurons_by_columns.mlp.c_proj.weight, fc2.weight, W_out, or down_proj.weight.A JSON object with vectors, each containing layer, neuron, source_name, and vector, plus orientation and validation metadata.
c_proj.weight and W_out often need columns-as-neurons; generic fc2.weight commonly uses columns-as-neurons when shaped hidden by intermediate.Run python scripts/extract_value_vectors.py --fixture or the tests in tests/test_extract_value_vectors.py. The fixture checks orientation and neuron identifiers on deterministic matrices.
The skill does not run a transformer model and does not infer semantic concepts. It only exports the value side of FFN neurons for downstream projection and grouping.