Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@JoaoLages JoaoLages released this 15 Sep 17:27
· 6 commits to main since this release
  • Add token attributions visualization; kudos to @TomPham97 πŸ‘
output.token_attributions.plot(normalize=True)

image

  • output.token_attributions is now a list TokenAttributions object and output.pixel_attributions is now a np.ndarray PixelAttributions object (both compatible with previous version)
  • output.normalized_token_attributions and output.normalized_pixel_attributions now raise a DeprecationWarning (but both still work). Use output.token_attributions.normalized and output.pixel_attributions.normalized instead.