Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

Adding the bias in decomposed_attn separately #35

@Avagr

Description

@Avagr

Thank you for the great work! I have a small question about the implementation:

Currently in the decomposed_attn function there is a separate addition of the b_V value projection layer bias to the values v obtained from the hook. Why is it needed? From looking at the TransformerLens code, hook_v already captures the bias addition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions