Skip to content

相对位置偏移填充 #5

Description

@qry0120

您好,可以请教一一下吗,当max_seq_len为512时,pos_ss = pos_ss.masked_fill(~mask, 510),这里为什么要填充510?
当max_seq_len,改变时,510这个值需要改变吗?

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions