muxitox commited on
Commit
4586d48
·
1 Parent(s): c5c5e5d

Change dataloader to reload HF

Browse files
Files changed (1) hide show
  1. parafraseja.py +1 -1
parafraseja.py CHANGED
@@ -94,7 +94,7 @@ class Parafraseja(datasets.GeneratorBasedBuilder):
94
  data = [json.loads(line) for line in f]
95
  for id_, article in enumerate(data):
96
  yield id_, {
97
- "sentence1": article['original'],
98
  "sentence2": article['new'],
99
  "label": article['label'],
100
  }
 
94
  data = [json.loads(line) for line in f]
95
  for id_, article in enumerate(data):
96
  yield id_, {
97
+ "ssentence1": article['original'],
98
  "sentence2": article['new'],
99
  "label": article['label'],
100
  }