Learning Lenient Parsing & Typing via Indirect Supervision
收藏资源简介:
<strong>Validation Set</strong>: We have shared 3 CSV files containing human-annotated validation sets of our paper (<em>Validation Data.zip</em>). <strong>AST and Student Code Correction:</strong> For generating AST and code correction, please check the two files, AST.py and Top1.py ( in <em>AST & Top-1.zip</em> ). In AST.py, we present the output of different parts of the program with an example. Please read that one before Top1.py. We follow the implementation of https://github.com/Lsdefine/attention-is-all-you-need-keras. Please check the remaining code in the above link. We made a minor correction in the dataloader.py to use two separate vocabulary cutoffs for input and output. dataloader1.py, transformer1.py, etc. are an exact replication of dataloader.py and transformer.py. Since we are using two models, we did it that way to avoid any conflict. <strong>TypeFix</strong>: Check the code in <em>TypeFix.zip.</em> <em>Note: We have not published the training and test dataset of different models here. We will publish the complete package upon acceptance of our paper.</em>



