Skip to content

postion encoding #2

@yufengm

Description

@yufengm

Are we supposing the same length for each sentence in the position encoding?

l = [[(1 - s/(slen-1)) - (e/(elen-1)) * (1 - 2*s/(slen-1)) for e in range(elen)] for s in range(slen)]

As in above, each sentence encoding is divided by the same number elen-1.

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