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

Does every sample get the same demonstrations through vote_k retriver? #25

Open
joyce0105-ops opened this issue Jun 5, 2024 · 2 comments

Comments

@joyce0105-ops
Copy link

def vote_k_search(self):
    vote_k_idxs = self.votek_select(embeddings=self.embed_list, select_num=self.ice_num, k=self.votek_k,
                                    overlap_threshold=1)
    return [vote_k_idxs[:] for _ in range(len(self.test_ds))]

why?

@anushkasw
Copy link

I have the same question

@mihara-bot
Copy link

According to my understanding (Alg 1, Page 21, from the paper https://openreview.net/forum?id=qY1hlv7gwg), the current version only implements the step 1, which construts the candidate set for further selection. It should be followed by another TopK retriever to select from candidate set for each test input instead of being utilized for the whole test set.

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

3 participants