For data preparation and processing steps, please refer to https://github.com/thunlp/CodRED
execute train.sh to run the code.
If you want to train a usable model in a limited time, please run simplified version main_simp.py.
We also provide a simple method to enhance the model, if interested, please run main_enhance.py.
[The collating work was done in a hurry, and there may be some errors and omissions. If you have any questions, please contact us by email.]