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?
I tried several models and with different configuration, but when I include negative samples (i.e.
nerarray is empty), there is always this error:I also tried adding labels to the
labelproperty as suggested in another issue, but to no avail. What am I doing wrong?