Skip to content

Releases: cdpierse/transformers-interpret

v0.1.9

23 Feb 15:02
Compare
Choose a tag to compare
  • Add fixes for GPU support.
  • word_attributions are now calculated using decoded input_ids rather than original input text. This is due to certain encoding methods like Byte-Pair-Encoding (BPE) breaking words into byte pairs. Captum's attributions are on byte pair level not word level. Rather than averaging the byte pairs back into the original word I am choosing to just return byte pairs in the list.

v0.1.5

19 Feb 01:39
Compare
Choose a tag to compare

Small patch:

  • Fix windows utf-8 bug in setup.py

Initial Release v0.1.4

14 Feb 16:29
Compare
Choose a tag to compare
  • Sequence classification support
  • Word attribution and visualization of attributions
  • Use of layer integrated gradients as attribution method
  • > 90% test coverage