Closed jiezouguihuafu closed 4 years ago
it's there in the google drive link (in the readme) under the data folder.
it's there in the google drive link (in the readme) under the data folder.
if I want to train at myself data set,then,how to generate this file?
Code updated in the preprocessing folder. Let me know if there are issues
when i run the filter_data.py in google colab
python filter_data.py --input_file [input_file] --output_file [output_file] --wordEmbed_file [wordEmbed_file]
adjust filter_data as below for debug purpose in vscode
if __name__ == '__main__':
args = parser.parse_args()
args.input_file = "/content/sow-reap-paraphrasing/sample_test_baseline.txt"
args.output_file = "/content/sow-reap-paraphrasing/sample_test_output.txt"
args.wordEmbed_file = "/content/sow-reap-paraphrasing/data/glove/glove.6B.50d.txt"
input_file = args.input_file
output_file = args.output_file
wordEmbed_file = args.wordEmbed_file
and it shows
when I check the variable embed1, it looks not a numerical vector
train_sow.hdf5 I want to train SOW model ,but it need train_sow.hdf5 file . And the file how to get?