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

LSTM text classification with LRP #61

Open
doppler21 opened this issue Jun 16, 2020 · 0 comments
Open

LSTM text classification with LRP #61

doppler21 opened this issue Jun 16, 2020 · 0 comments

Comments

@doppler21
Copy link

I am trying to use DeepExplain to get attribution scores for my LSTM inputs directly using LRP.

I am feeding inputs that are feature vectors of dimension 500 to a BiLSTM (I am using max sequence length of 30) then using some dense layers and a Softmax activation at the end.

Suppose I want to explain an input with sequence length 25, each of these 25 are 500 dimension feature vector. The 25 sequence length will be padded to the max sequence length of 30. The issue is I do not have any embedding lookup in the model. I want to get the attribution scores for each feature vector (as there are no tokens/words as input in my model).

How do I do this?

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

No branches or pull requests

1 participant