Closed AugustasMacijauskas closed 1 year ago
Foward method doesn't have labels. See https://huggingface.co/docs/transformers/model_doc/deberta-v2#transformers.DebertaV2Model.forward
@artkpv Yes, this is precisely what I think is the cause of the problem, the labels are passed in when they should not be, see: https://github.com/EleutherAI/elk/blob/ec2b8a0ab27214a325954a7acc68dc01085642c4/elk/extraction/extraction.py#L286
Reproduce
or
Full stack trace: