Skip to content

so2jia/diagnnose

 
 

Repository files navigation

diagnnose · Build Status

This library contains a set of modules that can be used to analyse recurrent neural networks. In particular, it contains functionality for:

  • Extracting activations from different types of (language) models
  • Running diagnostic classifiers on extracted activations
  • Analysing word embeddings
  • Performing contextual decomposition (Murdoch et al., 2018) on a model
  • Running a broad linguistic downstream task suite

Quickstart

Our library is officially registered with pip and can be installed by running pip install diagnnose.

We will shortly update this README with explanations for the different scripts provided in the library.

Requirements

This library runs with Pytorch >=1.1. The preferred version of Python is >=3.7.

Research using diagnnose

Citing

If you intend on using diagnnose for your research, please cite us as (and feel free to reach out, we'd love to help!):

@article{diagnnose,
    title={diagnnose: A Neural Net Analysis Library},
    DOI={10.5281/zenodo.3445477},
    publisher={Zenodo},
    author={Jaap Jumelet and Dieuwke Hupkes},
    year={2019},
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.6%
  • Shell 0.4%