Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explainers for two input classification problem #58

Closed
isspek opened this issue Jul 28, 2021 · 3 comments
Closed

Explainers for two input classification problem #58

isspek opened this issue Jul 28, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@isspek
Copy link

isspek commented Jul 28, 2021

Thanks for the project.

My question is that if we have an input composed of two sentences for a classification problem, which should be separated with a [SEP] token, how can we set up the explainers? As I understand from the source code, it encodes single text.

@cdpierse cdpierse self-assigned this Jul 28, 2021
@cdpierse cdpierse added the enhancement New feature or request label Jul 28, 2021
@cdpierse
Copy link
Owner

Hi @isspek

Thanks for using the package! So this is certainly doable as I do it for the QA explainer but I just hadn't thought to add the functionality for the classification explainer. I think it would only be a matter of adding an additional optional param to the explainer call method but I'll have to have a think on how to do it.

I should have some time to have a look at it over the weekend and see what's involved.

@savasy
Copy link

savasy commented Sep 14, 2021

Good question! I wonder how to do :)

@cdpierse
Copy link
Owner

Closed by #99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants