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

What's the relationship between total token and depth #96

Open
Lucas-TY opened this issue Jul 15, 2024 · 1 comment
Open

What's the relationship between total token and depth #96

Lucas-TY opened this issue Jul 15, 2024 · 1 comment

Comments

@Lucas-TY
Copy link

Hi, my question is: if I adjusted depth, do I also need to adjust total tokens?
If so, what's the formula I should use, is it (depth+1) x topk?

@haiduo
Copy link

haiduo commented Jul 16, 2024

Let me try to answer this. It should be that there is no need to expand the total-tokens, but you need to ensure that the total tokens of the modified depth tree (complete k-ary tree, k is the value of top-k) are greater than the total-tokens you set, such as the original 60.

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