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

Example for long embedding sequence prediction using this attention #8

Open
ramdhan1989 opened this issue Jun 3, 2024 · 0 comments

Comments

@ramdhan1989
Copy link

Hi,
I am working on long embedding vector sequence problem where embedding size is 500k and I want to predict multistep ahead like 100 time steps. I followed gpt2 type architecture but I got memory problem since my embedding vector (inputs) is 500k. The memory problem comes from attention but I can replace successfully using your attention but still I got memory problem coming from nn.Linear(emb_size, emb_size) in gpt2 architecture. do you have example or suggestion to use gpt2 architecture with your attention.

Thank you

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