Datasets:
Tasks:
Text Classification
Modalities:
Text
Sub-tasks:
multi-input-text-classification
Languages:
Catalan
Size:
10K - 100K
License:
muxitox
commited on
Commit
·
4586d48
1
Parent(s):
c5c5e5d
Change dataloader to reload HF
Browse files- 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 |
-
"
|
| 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 |
}
|