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

Question of retrieving in-context examples. #1

Open
mtt1998 opened this issue Feb 23, 2023 · 0 comments
Open

Question of retrieving in-context examples. #1

mtt1998 opened this issue Feb 23, 2023 · 0 comments

Comments

@mtt1998
Copy link

mtt1998 commented Feb 23, 2023

Hi,
Thank you for sharing your code of this good work. I have a question for the prompt_retrieval function in the main file:
https://github.com/HKUNLP/icl-selective-annotation/blob/4f69831938f5fea6e6299efc55df2ecbe207fb60/main.py#L115

It seems that this function retrieves kNN examples from the "train_examples" instead of "processed_train_examples".
And the "train_examples" contains all examples in the train dataset, the "processed_train_examples" contains all selected examples for annotation. Is this a bug or I misunderstand anything? Could you help me with this question? Thank you~

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