ghomasHudson commited on
Commit
dcbff82
2 Parent(s): de64ba8 811fcdd

Merge branch 'main' of https://huggingface.co/datasets/ghomasHudson/muld

Browse files
Files changed (1) hide show
  1. muld.py +1 -2
muld.py CHANGED
@@ -3,7 +3,6 @@
3
  import json
4
  import os
5
  import datasets
6
- import bz2
7
 
8
  _CITATION = """\
9
  @misc{hudson2022muld,
@@ -150,7 +149,7 @@ class Muld(datasets.GeneratorBasedBuilder):
150
  return splits
151
 
152
  def _generate_examples(self, data_file, split):
153
- with bz2.open(data_file) as f:
154
  for idx, line in enumerate(f):
155
  row = json.loads(line)
156
  if "metadata" not in row:
 
3
  import json
4
  import os
5
  import datasets
 
6
 
7
  _CITATION = """\
8
  @misc{hudson2022muld,
 
149
  return splits
150
 
151
  def _generate_examples(self, data_file, split):
152
+ with open(data_file) as f:
153
  for idx, line in enumerate(f):
154
  row = json.loads(line)
155
  if "metadata" not in row: