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

several files of building up data are missing #3

Open
frankdarkluo opened this issue Dec 6, 2021 · 3 comments
Open

several files of building up data are missing #3

frankdarkluo opened this issue Dec 6, 2021 · 3 comments

Comments

@frankdarkluo
Copy link

frankdarkluo commented Dec 6, 2021

When I run the command bash projects/adaptive_learning/shell/build_data.sh, there is an error as follows:

python: can't open file 'projects/adaptive_learning/scripts/build_single_turn_fb_dialog.py': [Errno 2] No such file or directory

There is no 'build_single_turn_fb_dialog.py' in the corresponding directory and I cannot make the data.

In addition, 'format_fb_dialog.py' and 'correct_train_data.py' are missing

I intend to use other datasets and generate files to fit into the model.

I appreciate it if the author can provide the scripts, or is there an alternative script to build up the data?

@frankdarkluo frankdarkluo changed the title 'build_single_turn_fb_dialog.py' is missing several files of building up data are missing Dec 6, 2021
@hengyicai
Copy link
Owner

Sorry for the inconvenience. These simple scripts are used for double-checking the dataset is in the right format, and are placed into the projects/adaptive_learning/scripts/ now.

@frankdarkluo
Copy link
Author

Sorry for the inconvenience. These simple scripts are used for double-checking the dataset is in the right format, and are placed into the projects/adaptive_learning/scripts/ now.

Thank you for your reply and your updated scripts, they are very useful.

In addition, however, in the 'build_data.sh', I also find that there is no 'model.opt' provided, though you list them from line 7 to 35 in the shell file 'build_data.sh', could you please also share those files, or there may be some other paths to the 'model.opt'? thank you.

@hengyicai
Copy link
Owner

When using ParlAI to train a specific model, e.g., transformer, ParlAI saves the model parameters to the given checkpoint dir: model' for saving the parameters and model.opt' for saving the model configuration, as well as the vocabulary file. These ``model.opt'' files can be simply obtained by training specific models using ParlAI. Hope it helps.

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