Skip to content
Snippets Groups Projects
Commit eee9a0a3 authored by zqwerty's avatar zqwerty
Browse files

Merge branch 'unified_dataset'

parents 7bcb6096 0ef21cf8
Branches
Tags
No related merge requests found
...@@ -147,12 +147,10 @@ def preprocess(): ...@@ -147,12 +147,10 @@ def preprocess():
with ZipFile('data.zip', 'w', ZIP_DEFLATED) as zf: with ZipFile('data.zip', 'w', ZIP_DEFLATED) as zf:
for filename in os.listdir(new_data_dir): for filename in os.listdir(new_data_dir):
zf.write(f'{new_data_dir}/{filename}') zf.write(f'{new_data_dir}/{filename}')
# rmtree(original_data_dir) rmtree(original_data_dir)
# rmtree(new_data_dir) rmtree(new_data_dir)
return dialogues, ontology return dialogues, ontology
if __name__ == '__main__': if __name__ == '__main__':
preprocess() preprocess()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment