The Artifacts of OOPSLA-2023 Submission #197
收藏NIAID Data Ecosystem2026-05-01 收录
下载链接:
https://zenodo.org/record/7824775
下载链接
链接失效反馈官方服务:
资源简介:
This is the online repository of the OOPSLA-2023 Submission #197. We have released the source code and dataset.
Dataset: Our evaluation is based on the large-scale CodeSearchNet dataset. Use the following command to download and preprocess the data:
cd dataset
bash run.sh
cd ..
Dependencies
pip install -r requirements.txt
[Optional] We have built the tree-sitter parser stored at `evaluator/CodeBLEU/parser/languages.so`. If it doesn't work for you, it can be rebuilt with the following command:
cd evaluator/CodeBLEU/parser
bash build.sh
Training
bash sh/train.sh [python/java] [CodeT5/Natgen] [CodeBERT/GraphCodeBERT]
Evaluation
Evaluate generator:
bash sh/evaluate.sh [python/java] [CodeT5/Natgen]
Evaluate discriminator:
We evaluate the discriminator by reusing the code from CodeBERT and GraphCodeBERT. According to the Evaluate section in the corresponding model's Readme, replace `model_name_or_path` with the discriminator that you want to evaluate.
创建时间:
2023-09-02



