Skip to content

Output hidden states and attention scores for each transformer layer #21

Closed

Description

@xcjthu

Existing TransformerBlockList cannot output the hidden states and attention scores for each transformer layer. Sometimes we want to get the hiddens and attention scores to conduct analysis and feed them into the next modules.

Activity

  1. changed the title [-]Output hidden states and attention scores for transformer[/-] [+]Output hidden states and attention scores for each transformer layer[/+] on Apr 23, 2022
  2. Achazwl commented on Aug 30, 2022

    @Achazwl
    Collaborator

    Support backward of middle hidden states by PR #40 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions