Skip to content

Unable to include negative samples #320

@fjay314159

Description

@fjay314159

I tried several models and with different configuration, but when I include negative samples (i.e. ner array is empty), there is always this error:

RuntimeError: The input size 0, plus negative padding 0 and 0 resulted in a negative output size, which is invalid. Check dimension 1 of your input.

I also tried adding labels to the label property as suggested in another issue, but to no avail. What am I doing wrong?

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