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

How to use preprocess.py for NL-code-search-WebQuery #88

Closed
vitchyr opened this issue Nov 3, 2021 · 2 comments
Closed

How to use preprocess.py for NL-code-search-WebQuery #88

vitchyr opened this issue Nov 3, 2021 · 2 comments

Comments

@vitchyr
Copy link

vitchyr commented Nov 3, 2021

Thank you for releasing this code. I'm confused about the data/preprocess.py script. The README for NL-code-search-WebQuery doesn't reference it at all. Does that mean that we don't need to use this preprocessing script? Similarly, can I ignore the the data/train.txt and data/valid.txt?

@Jun-jie-Huang
Copy link
Contributor

Since there's no direct training set for our WebQueryTest dataset, we suggest using two external training sets: 1. CodeSearchNet; 2. CoSQA. The data/preprocess.py script and data in ./data is used to process the CodeSearchNet. If you are not going to use CodeSearchNet data to train, you can ignore them. We add some preprocessing instructions in README.

@vitchyr
Copy link
Author

vitchyr commented Nov 15, 2021 via email

@guody5 guody5 closed this as completed Nov 18, 2021
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