You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
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
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
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)
The text was updated successfully, but these errors were encountered: