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

P4-Better estimate the max word length for passage truncating in prompts #52

Open
sahel-sh opened this issue Jan 25, 2024 · 1 comment

Comments

@sahel-sh
Copy link
Member

For example:

maybe in a oneline function that could be used both for LRL and rankGPT prompts?

something like:
num_words = (context size - num output tokens(current window size) )* 0.75
max_word_length = num_words / (current window size or rank_end - rank_start)

@sahel-sh sahel-sh changed the title Better estimate the max word length for passage truncating in prompts P3-Better estimate the max word length for passage truncating in prompts Jan 29, 2024
@sahel-sh
Copy link
Member Author

Should Happen after sigir

@sahel-sh sahel-sh changed the title P3-Better estimate the max word length for passage truncating in prompts P4-Better estimate the max word length for passage truncating in prompts Jan 29, 2024
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