Package: explainaboard
ExplainaBoard: An Explainable Leaderboard for NLPWhat is ExplainaBoard?When developing a natural language processing (NLP or AI) system, often one of the
hardest things is to understand where your system is working and where it is failing,
and deciding what to do next. ExplainaBoard is a tool thatinspects your system
outputs,identifies what is working and what is not working, and helpsinspire you
with ideas of where to go next.It offers a number of different ways with which you can evaluate and understand your systems:Single-system Analysis: What is a system good or bad at?Pairwise Analysis: Where is one system better (worse) than another?Fine-grained Error Analysis: On what examples do errors occur?Holistic Leaderboards and Benchmarks: Which systems perform best for a particular task?Using ExplainaboardExplainaBoard can be used online or offline. For most users, we recommend using the
online interface, as it is more interactive and easier to get started.Online UsageBrowse theweb interface, which gives you the
ability to browse outputs and evaluate and analyze your own system outputs.If you would like to evaluate and analyze your own systems programmatically, you can
use theExplainaBoard client.Offline UsageFor power-users who want to use ExplainaBoard offline, first, follow the installation directions
below, then take a look at ourCLI examples.Install Method 1 - Standard Use:Simple installation from PyPI (Python 3 only)pipinstall--upgradepip# recommending the newest version of pip.pipinstallexplainaboard
python-mspacydownloaden_core_web_sm# if you plan to use the AspectBasedSentimentClassificationProcessorInstall Method 2 - Development:Install from the source and develop locally (Python
3 only)# Clone current repogitclonehttps://github.com/neulab/ExplainaBoard.gitcdExplainaBoard# Install the required dependencies and dev dependenciespipinstall."[dev]"python-mspacydownloaden_core_web_sm
pre-commitinstallTesting:To run tests, you can runpython -m unittest.Linting and Code Style:This project uses flake8 (linter) and black (formatter).
They are enforced in the pre-commit hook and in the CI pipeline.runpython -m black .to format coderunflake8to lint codeYou can also configure your IDE to automatically format and lint the files as you
are writing code.After trying things out in theCLI, you can read how to add
newfeatures,tasks, orfile formats.AcknowledgementExplainaBoard is developed by Carnegie Mellon University, Inspired Cognition Inc., and
other collaborators. If you find it useful in research, you can cite it in papers:@inproceedings{liu-etal-2021-explainaboard,
    title = "{E}xplaina{B}oard: An Explainable Leaderboard for {NLP}",
    author = "Liu, Pengfei and Fu, Jinlan and Xiao, Yang and Yuan, Weizhe and Chang, Shuaichen and Dai, Junqi and Liu, Yixin and Ye, Zihuiwen and Neubig, Graham",
    booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: System Demonstrations",
    month = aug,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.acl-demo.34",
    doi = "10.18653/v1/2021.acl-demo.34",
    pages = "280--289",
}We thanks all authors who shared their system outputs with us: Ikuya Yamada, Stefan Schweter,
Colin Raffel, Yang Liu, Li Dong. We also thank
Vijay Viswanathan, Yiran Chen, Hiroaki Hayashi for useful discussion and feedback about ExplainaBoard.