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

About 'get_indice_pairs' function #57

Open
Machinerr opened this issue Sep 13, 2022 · 1 comment
Open

About 'get_indice_pairs' function #57

Machinerr opened this issue Sep 13, 2022 · 1 comment

Comments

@Machinerr
Copy link

Hi, thank you for your contribution.
I got some trouble when I read the code of function 'get_indice_pairs', do you have any document about this function? I just can't understand what is the output index_0 and index_1, and the function of it?
looking forward to your reply.

@X-Lai
Copy link
Collaborator

X-Lai commented Sep 13, 2022

Please read our paper for the detail of stratified sampling strategy. The result of the function 'get_indice_pairs' means the indices of the queries (index_0) and keys (index_1), where the query-key pairs need to perform dot-products.

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

2 participants