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

Relative positional encodings with Hyena #25

Open
fransilvionGenomica opened this issue Jun 8, 2023 · 2 comments
Open

Relative positional encodings with Hyena #25

fransilvionGenomica opened this issue Jun 8, 2023 · 2 comments

Comments

@fransilvionGenomica
Copy link

Hello,

Is there a way to implement relative positional encodings with Hyena similar to what was done in the Transformer-XL paper? Any tips on how to implement that?

@Zymrael
Copy link
Contributor

Zymrael commented Jun 18, 2023

Are you interested in trying relative encodings for the implicit long convolution filter (HyenaFilter) or a more traditional implementation of encodings that would work at the HyenaOperator level? In our experience, the latter does not appear to affect performance much, since Hyena is not permutation equivariant.

We recevied requests for a version with KERPLE positional embeddings, so that might be something to consider.

@fransilvionGenomica
Copy link
Author

Hi,

I was thinking more of the former (relative encodings for the implicit long conv filter), have you tried that?

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

2 participants