Skip to content

depparse model has the ability to predict PAD as a relation type #1522

@AngledLuffa

Description

@AngledLuffa

in many places it does things such as

        deprel_seqs = [self.vocab['deprel'].unmap([preds[1][i][j+1][h] for j, h in enumerate(hs)]) for i, hs in enumerate(head_seqs)]

which, while unlikely, includes PAD and the other vocab prefix options as legal results

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions