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

Computing Contribution Scores #13

Open
Prakash2403 opened this issue Dec 3, 2022 · 5 comments
Open

Computing Contribution Scores #13

Prakash2403 opened this issue Dec 3, 2022 · 5 comments

Comments

@Prakash2403
Copy link

From the paper:

To better understand what sequence elements Enformer is utilizing when making predictions, we computed two different gene expression contribution scores — input gradients (gradient × input and attention weights

I was just wondering how to compute input gradients and fetch the attention matrix for the given input. I'm not well versed with PyTorch, so I'm sorry if this is a noob question.

@SebastienLemaire
Copy link

Hi,
I have the same question. How to compute the contribution scores (input x gradient) and attention.
If I missed a response on this issue, I apologize in advance.

@jianghao-zhang
Copy link

Similar confusion here.

@jstjohn
Copy link
Contributor

jstjohn commented Apr 26, 2024 via email

@jstjohn
Copy link
Contributor

jstjohn commented Apr 26, 2024 via email

@jstjohn
Copy link
Contributor

jstjohn commented Apr 26, 2024 via email

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

4 participants