There was an error while loading. Please reload this page.
1 parent 0bafb06 commit 52d74f1Copy full SHA for 52d74f1
preprocess.py
@@ -65,7 +65,7 @@ def process_file(file_path, data_file_role, dataset_name, word_to_count, path_to
65
outfile.write(target_name + ' ' + " ".join(contexts) + csv_padding + '\n')
66
total += 1
67
68
- print('File: ' + data_file_path)
+ print('File: ' + file_path)
69
print('Average total contexts: ' + str(float(sum_total) / total))
70
print('Average final (after sampling) contexts: ' + str(float(sum_sampled) / total))
71
print('Total examples: ' + str(total))
0 commit comments