iohadrubin commited on
Commit
c1937e3
·
1 Parent(s): 9edf660

Update c5.py

Browse files
Files changed (1) hide show
  1. c5.py +1 -1
c5.py CHANGED
@@ -86,6 +86,7 @@ class C5(datasets.GeneratorBasedBuilder):
86
  def _info(self):
87
  self.shard_id = self.config.shard_id
88
  self.subshard_id = self.config.subshard_id
 
89
  if self.name=="en":
90
  features=datasets.Features(
91
  {
@@ -136,7 +137,6 @@ class C5(datasets.GeneratorBasedBuilder):
136
  # datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepaths": validation_downloaded_files}),
137
  ]
138
 
139
-
140
  def _generate_examples(self, filepaths):
141
  """This function returns the examples in the raw (text) form by iterating on all the files."""
142
  id_ = 0
 
86
  def _info(self):
87
  self.shard_id = self.config.shard_id
88
  self.subshard_id = self.config.subshard_id
89
+ print(f"{self.name=}")
90
  if self.name=="en":
91
  features=datasets.Features(
92
  {
 
137
  # datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepaths": validation_downloaded_files}),
138
  ]
139
 
 
140
  def _generate_examples(self, filepaths):
141
  """This function returns the examples in the raw (text) form by iterating on all the files."""
142
  id_ = 0