Skip to content

Masking in Transformer #43

Description

@FrancescaDr

Description of feature

  • Re-mask input to transformer #18
  • Long-range interaction masking: In mask from torch.nn.transformerencoder set attn_mask to -inf. Currently, not working because together with src_padding_mask it returns NaNs in the global embedding

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