Code for the paper Can Explanations Be Useful for Calibrating Black Box Models? (ACL, 2022).
@InProceedings{Ye-Durrett:2022:Calibration,
title = {Can Explanations Be Useful for Calibrating Black Box Models?},
author = {Xi Ye and Greg Durrett},
booktitle = {Proceedings of ACL},
year = {2022},
}
The codebase is tested under
- python==3.8
- pytorch==1.6.0
- transformers==3.3.1
- spacy==2.3.2
For a detailed list of dependency, check requirement.txt
Please refer to the README
in the \QA
directory.
Please refer to the README
in the \NLI
directory.