-
Notifications
You must be signed in to change notification settings - Fork 221
add int filter #545
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
base: main
Are you sure you want to change the base?
add int filter #545
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Caroline-an777 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -52,6 +52,8 @@ class CaseType(Enum): | |||
|
|||
StreamingPerformanceCase = 200 | |||
|
|||
NewIntFilterPerformanceCase = 250 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use 400 would be better
@@ -164,6 +165,7 @@ class Cohere(BaseDataset): | |||
} | |||
with_scalar_labels: bool = True | |||
scalar_label_percentages: list[float] = [0.001, 0.002, 0.005, 0.01, 0.02, 0.05, 0.1, 0.2, 0.5] | |||
scalar_int_rates: list[float] = [0.01, 0.99] | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need update.
f"Results will show index building time, recall, and maximum QPS." | ||
), | ||
cases=generate_int_filter_cases(dataset_with_size_type), | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add BioASQ
1.add new int filter to run tests with multiple filter_rate values like[0.01,0.02,...,0.98,0.99] instead of just 0.01 and 0.99
2.achieve compatibility for int filter case between new and old versions