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}, }
Enviromental Setup
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
Experiments on QA
Please refer to the README in the \QA directory.
Experiments on NLI
Please refer to the README in the \NLI directory.