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

why fixed_length = fixed_length * 4 in passkey.py? #19

Open
YEOMJINSEOP opened this issue Jan 13, 2025 · 0 comments
Open

why fixed_length = fixed_length * 4 in passkey.py? #19

YEOMJINSEOP opened this issue Jan 13, 2025 · 0 comments

Comments

@YEOMJINSEOP
Copy link

YEOMJINSEOP commented Jan 13, 2025

Hi, @Sakits! Thanks for sharing amazing work again.

i have a question regarding pass key retrieval task.

in passkey.py, fixed_length is multiplied with 4, (fixed_length = fixed_length * 4)
and i observe n_garbage_prefix incrases as 400, 800, 1200, ..., 34000, ...

Could you explain why fixed_length is multiplied by 4? Is there a specific reason or intention behind this?
(If multiplying with 4 is for making a fixed_length to a number of tokens, does setting fixed_length=10k equals to 40k tokens?)

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