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

A question from the _sort_proto_similarity function in the class ProbeDatasetSort (task_dataset.py) #10

Open
fight-think opened this issue Jan 2, 2024 · 0 comments

Comments

@fight-think
Copy link

Hello Chen,

Thank you for your sharing of the code. I'm watching your code and paper. From your code, the probe_num_query data points from the target label are sampled according to their similarities with pre-selected data points of the target label (in the support set), while the is_sort_query is true. From the _sort_proto_similarity of the current version, you use one pre-selected data point to calculate the similarities and comment on one sentence using all the pre-selected data points (first two lines of the function). As similarity calculation is designed for all the pre-selected data points, I'm wondering which is the case you run in your experiments. In other words, how many pre-selected data points of the target label are used for finding the probe_num_query data points of the target label?

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

1 participant