monologg / JointBERT

Pytorch implementation of JointBERT: "BERT for Joint Intent Classification and Slot Filling"
Apache License 2.0
662 stars 186 forks source link

Target out of bounds #28

Closed avijay6 closed 2 years ago

avijay6 commented 2 years ago

I have the number of intents as 3. And now I am getting the error:

ret = torch._C._nn.nll_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index) IndexError: Target 12 is out of bounds.

any help is appreciated