Contra-OOD
Contra-OOD copied to clipboard
Source code for paper "Contrastive Out-of-Distribution Detection for Pretrained Transformers", EMNLP 2021
Results
1
Contra-OOD issues
Sort by
recently updated
recently updated
newest added
Hi! Thanks for the repo. Would you mind clarifying why isn't the `max_dist` variable detached in the "margin" loss function? Wouldn't gradients flow through it the way it is at...