Datasets:

Size Categories:
1K<n<10K
Language Creators:
crowdsourced
Annotations Creators:
crowdsourced
Source Datasets:
original
Tags:
License:
frgfm commited on
Commit
e75c387
1 Parent(s): 4d7ff1e

fix: Fixed encoding in JSON loading

Browse files
Files changed (1) hide show
  1. openfire.py +1 -1
openfire.py CHANGED
@@ -79,7 +79,7 @@ class OpenFire(datasets.GeneratorBasedBuilder):
79
  ]
80
 
81
  def _generate_examples(self, filepath, split):
82
- with open(filepath, "rb", encoding="utf-8") as f:
83
  urls = json.load(f)
84
  idx = 0
85
  for label in range(2):
79
  ]
80
 
81
  def _generate_examples(self, filepath, split):
82
+ with open(filepath, "rb") as f:
83
  urls = json.load(f)
84
  idx = 0
85
  for label in range(2):