Closed csmust closed 1 year ago
Sorry for the late reply. intent_logits are the logits before sigmoid layer, since BCEWithLogitsLoss combines a Sigmoid layer and the BCELoss in one single class. Therefore, the logit>0 means output after sigmoid is larger than 0.5. https://github.com/thu-coai/ConvLab-2/blob/ad32b76022fa29cbc2f24cbefbb855b60492985e/convlab2/nlu/jointBERT/jointBERT.py#L44