Skip to content

Fix scaling in attention computation #71

Description

@aliciafmachado

Currently we are not dividing the raw attention by the square root of dimension, when we should.

It's possible that this explains some of the losses peaks during training of tiny models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions