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

How to adjust the maximum token lengths when drafting? #18

Open
zomss opened this issue Sep 7, 2024 · 3 comments
Open

How to adjust the maximum token lengths when drafting? #18

zomss opened this issue Sep 7, 2024 · 3 comments

Comments

@zomss
Copy link

zomss commented Sep 7, 2024

I am trying to adjust draft tokens by length, explicitly aiming to retrieve tokens with a size greater than four by changing the “long” parameter when calling the search function. However, the draft retriever still returns tokens with lengths shorter than 4.

How can I ensure tokens with lengths longer than four are returned?

@zhenyuhe00
Copy link
Collaborator

Hi,
I wonder if you rebuilt the file to install Draftretriver after changing the code.

@zomss
Copy link
Author

zomss commented Sep 7, 2024

Thanks. I revise the code for draftretriever, and then it is working.

@Siegfried-qgf
Copy link

I am trying to adjust draft tokens by length, explicitly aiming to retrieve tokens with a size greater than four by changing the “long” parameter when calling the search function. However, the draft retriever still returns tokens with lengths shorter than 4.

How can I ensure tokens with lengths longer than four are returned?

So how can I get more retrieve tokens in a retrieve sequence? I change the long parameter and It also doesn‘t work

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

3 participants