Busani commited on
Commit
1a599bd
·
1 Parent(s): 806a8ab

Debug complete, restored full configuration

Browse files
Files changed (1) hide show
  1. cosuju.py +1 -4
cosuju.py CHANGED
@@ -29,7 +29,7 @@ Court Summaries and Judgements (CoSuJu)
29
  # Redundant but may useful in future.
30
  _URL = "https://frtnx.github.io/cosuju-extractor/dataset/"
31
  _URLS = {
32
- 'train': _URL + 'mini-train-v1.0.json'
33
  }
34
 
35
 
@@ -90,9 +90,6 @@ class Cosuju(datasets.GeneratorBasedBuilder):
90
 
91
  def _split_generators(self, dl_manager):
92
  downloaded_files = dl_manager.download_and_extract(_URLS)
93
-
94
- # raise ValueEror(f'filepath: {downloaded_files}')
95
-
96
  return [
97
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={'filepath': downloaded_files['train']}),
98
  ]
 
29
  # Redundant but may useful in future.
30
  _URL = "https://frtnx.github.io/cosuju-extractor/dataset/"
31
  _URLS = {
32
+ 'train': _URL + 'train-v1.0.json'
33
  }
34
 
35
 
 
90
 
91
  def _split_generators(self, dl_manager):
92
  downloaded_files = dl_manager.download_and_extract(_URLS)
 
 
 
93
  return [
94
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={'filepath': downloaded_files['train']}),
95
  ]