Skip to content

Beta needs fix #6

@ja-nina

Description

@ja-nina

Hi,

Thank you once again for the code contributions! :)

I noticed that beta is initialized to 1, which results in an unbalanced mix when combined with the sigmoid function. Additionally, as the Hugging Face post on InfiniAttention points out, beta doesn't learn well in this configuration and therefore needs to be scaled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions