Closed etetteh closed 3 years ago
Did you find a solution? If so, can you please share your code & what you did?
I also have a custom seqeunce tagging task, but ELECTRA is failing just before the final metrics are reported.
EDIT: I used your code snippet and file to find the solution. Thanks!
I created the following class
The format of the data can be inferred here.
The training during finetuning works okay, but the evaluation on the dev set outputs zero (0) for all metrics except the loss, which is often 0.4.
Has anyone encountered this issue before, and what is the fix?