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

TFT model has no attribute "attention_weights" #1156

Closed
joanna-baran-allegro opened this issue Sep 26, 2024 · 2 comments
Closed

TFT model has no attribute "attention_weights" #1156

joanna-baran-allegro opened this issue Sep 26, 2024 · 2 comments

Comments

@joanna-baran-allegro
Copy link

joanna-baran-allegro commented Sep 26, 2024

Description

According to the docs I should be able to produce XAI plots with feature importance and attention weights after training TFT model. However, the documented attributes seems to not exist

Link

https://nixtlaverse.nixtla.io/neuralforecast/models.tft.html#1-1-mean-attention

@jmoralez
Copy link
Member

Hey. That was added in 1.7.5, are you using that version?

Copy link
Contributor

This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one.

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

No branches or pull requests

2 participants