flpelerin commited on
Commit
415566b
·
1 Parent(s): 7bfd78e

Update file dataset.cli.py

Browse files
Files changed (1) hide show
  1. dataset.cli.py +1 -1
dataset.cli.py CHANGED
@@ -18,7 +18,7 @@ if __name__ == '__main__':
18
  parser.add_argument('-p', '--remote_path')
19
  parser.add_argument('-o', '--output_file', default='dataset.txt')
20
 
21
- dataset = load_dataset(parser.dataset_path)
22
  text = ''.join(s for s in dataset['train']['text']).encode('ascii', 'ignore').decode('ascii')
23
 
24
  with open(parser.output_file, 'w') as f:
 
18
  parser.add_argument('-p', '--remote_path')
19
  parser.add_argument('-o', '--output_file', default='dataset.txt')
20
 
21
+ dataset = load_dataset(parser.remote_path)
22
  text = ''.join(s for s in dataset['train']['text']).encode('ascii', 'ignore').decode('ascii')
23
 
24
  with open(parser.output_file, 'w') as f: