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

embedding-aware attention #116

Open
cregouby opened this issue Feb 12, 2023 · 0 comments
Open

embedding-aware attention #116

cregouby opened this issue Feb 12, 2023 · 0 comments

Comments

@cregouby
Copy link
Collaborator

cregouby commented Feb 12, 2023

This is a feature request to amend the attention transformer output dimension to equal the number of features, instead of the number of post-embedding dimensions.

This has shown convergence improvement and better RMSE on the Forest Cover Type dataset.

This may fix the training with large embedding dimensions, that makes the mask size go up.

One problem I see is that sparsemax does not know about which columns come from the same embedded columns, this could create something a bit difficult for the model to learn:

- create embeddings that make sense
- mask embeddings without destroying them, in fact since sparsemax is sparse it's very unlikely that all the columns from a same embedding are used, so you lose the power of your embedding

see dreamquark-ai P.R. #443

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

1 participant