cdpierse / transformers-interpret

Model explainability that works seamlessly with 🤗 transformers. Explain your transformers model in just 2 lines of code.
Apache License 2.0
1.27k stars 96 forks source link

Fix/sequence truncation #111

Open e-tornike opened 1 year ago

e-tornike commented 1 year ago

PR Description

This PR fixes the tokenization mismatch of long sequences.

Motivation and Context

References issue: #95

Tests and Coverage

Types of changes

Final Checklist:

e-tornike commented 1 year ago

Oh, I followed the contributing guideline. It seems that the dev branch is not up-to-date.

cdpierse commented 1 year ago

Ah yes apologies, that is out of date, I'm no longer doing merge into dev and am doing PR's directly into master could you change the target branch of this PR ?

e-tornike commented 1 year ago

No problem. I've changed the branch of the PR.