Skip to content

Is hidden state missing in UniXcoder implementation? #191

@oathaha

Description

@oathaha

Normally, a transformer model will take the last hidden state of an encoder as the input to a decoder. However, I saw that the hidden state obtained from the encoder of UniXcoder is not used as the decoder's input to generate output. Actually, I only saw that the variable past_hidden_state is used. So I'm not sure if the implementation is correct.

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