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

In the prefilling stage, will any tokens be pruned? #5

Open
exhyy opened this issue Nov 14, 2024 · 1 comment
Open

In the prefilling stage, will any tokens be pruned? #5

exhyy opened this issue Nov 14, 2024 · 1 comment

Comments

@exhyy
Copy link

exhyy commented Nov 14, 2024

Hi, thank you for your wonderful work! Here is my question:
In the prefilling stage, that is, during the prompt processing stage, will any tokens be pruned?

@sanagno
Copy link
Owner

sanagno commented Nov 14, 2024

Hi!

Pruning tokens in pre-filling does not make sense unless you propagate the dropping mechanism across depth as well. This is definitely possible but led to suboptimal results for the models that we tested. I am sure that if you use some pre-trained models that have some inductive bias to use less and less context with depth (I do not currently know any such models) then you can easily drop during pre-filling in that way.

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