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

Prediction on new data #14

Closed
surtantheta opened this issue Nov 10, 2021 · 1 comment
Closed

Prediction on new data #14

surtantheta opened this issue Nov 10, 2021 · 1 comment

Comments

@surtantheta
Copy link

Can you provide a small instance of CodeT5's prediction on concode data set for the concode task ? I am not sure how to make predictions on new data and what command line argument to use.

@yuewang-cuhk
Copy link
Contributor

Hi, for fine-tuning CodeT5-base on the concode task, you can go to sh folder and simply type python run_exp.py --model_tag codet5_base --task concode --sub_task none.

If you want to fine-tune on your dataset, you can add your own task in configs.py (here) and add your data path and the function to read in utils.py (here and here). The read function can be implemented in _utils.py similar to this one.

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