Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Caroline-an777
Copy link
Contributor

@Caroline-an777 Caroline-an777 commented Jun 17, 2025

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

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Caroline-an777
To complete the pull request process, please assign xuanyang-cn after the PR has been reviewed.
You can assign the PR to them by writing /assign @xuanyang-cn in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -52,6 +52,8 @@ class CaseType(Enum):

StreamingPerformanceCase = 200

NewIntFilterPerformanceCase = 250
Copy link
Collaborator

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]

Copy link
Collaborator

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),
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add BioASQ

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

Successfully merging this pull request may close these issues.

3 participants