pytorch / captum

Model interpretability and understanding for PyTorch
https://captum.ai
BSD 3-Clause "New" or "Revised" License
4.95k stars 499 forks source link

Add __call__ to TokenizerLike #1418

Closed craymichael closed 4 weeks ago

craymichael commented 1 month ago

Summary: Add call to TokenizerLike for transformers compatibility

Differential Revision: D64998805

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64998805

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64998805

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64998805

facebook-github-bot commented 4 weeks ago

This pull request has been merged in pytorch/captum@2c1c281673eeefd22e2477c04fe7caf3e4007da3.