0.2.27 regresses BiEncoder.encode_labels: leaks token_lengths kwarg into BertModel.forward()
BiEncoderSpanGLiNER.inference(request.texts, request.labels, threshold=request.threshold) raises the following error:
TypeError: BertModel.forward() got an unexpected keyword argument 'token_lengths'
0.2.27 regresses BiEncoder.encode_labels: leaks token_lengths kwarg into BertModel.forward()
BiEncoderSpanGLiNER.inference(request.texts, request.labels, threshold=request.threshold)raises the following error: