Datasets:
Tasks:
Text Classification
Modalities:
Text
Sub-tasks:
natural-language-inference
Size:
1M - 10M
ArXiv:
License:
final commit
Browse files- indicxnli.py +1 -6
indicxnli.py
CHANGED
|
@@ -136,12 +136,7 @@ class Indicxnli(datasets.GeneratorBasedBuilder):
|
|
| 136 |
|
| 137 |
def _generate_examples(self, data_format, filepath):
|
| 138 |
"""This function returns the examples in the raw (text) form."""
|
| 139 |
-
|
| 140 |
-
print(filepath)
|
| 141 |
-
|
| 142 |
-
with open(filepath, "r") as f:
|
| 143 |
-
print(f.read())
|
| 144 |
-
|
| 145 |
with open(filepath, "r") as f:
|
| 146 |
data = json.load(f)
|
| 147 |
data = data[list(data.keys())[0]]
|
|
|
|
| 136 |
|
| 137 |
def _generate_examples(self, data_format, filepath):
|
| 138 |
"""This function returns the examples in the raw (text) form."""
|
| 139 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
with open(filepath, "r") as f:
|
| 141 |
data = json.load(f)
|
| 142 |
data = data[list(data.keys())[0]]
|