-
Notifications
You must be signed in to change notification settings - Fork 2
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
no Selected json #1
Comments
Hi there, Thanks for your interest in this project. I am also revisiting this repo after a long time and let me try my best to answer your question. I think your issue is regarding the self-training process in this paper. The code for self-training is stored in the self_step2.py file (shown below) and I checked that the file for "Selected_w_dialogs_" should be the "output_file_R2" which indicates that it's the output for self-training step 2.
The step 2 of self-training is related to the opposite process, and it should perform two operations:
The code for this part (R2 function) is shown below, which should be in the same self_step2.py file.
I have just tested this code again using the commented "pred_path2" which saves my original prediction file and it can generate the file that you want. I will suggest that you first check if you can successfully produce the pred_path2 and if so, you can skip the "eval_from_checkpoint", which takes a long time. Then you can directly run the "data_processing" to debug, and try to see if the "data_processing" function from the "prepare_self_training.py" is running well, where it checks for good labels and saves them in the desired output file. If both are working well, the file should be saved in the 'data_self_2' folder. Let me know if you have further questions. Victor |
Dear author, I'm running the self_step2.py for the Self-Traning Period, but I didn't generate the 'data_self/Selected_w_dialogs_' json file that R2 requires
The text was updated successfully, but these errors were encountered: