Update files from the datasets library (from 1.5.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.5.0
- few_rel.py +0 -1
few_rel.py
CHANGED
|
@@ -143,7 +143,6 @@ class FewRel(datasets.GeneratorBasedBuilder):
|
|
| 143 |
|
| 144 |
with open(filepath, encoding="utf-8") as f:
|
| 145 |
data = json.load(f)
|
| 146 |
-
# print(data)
|
| 147 |
if isinstance(data, dict):
|
| 148 |
id = 0
|
| 149 |
for key in list(data.keys()):
|
|
|
|
| 143 |
|
| 144 |
with open(filepath, encoding="utf-8") as f:
|
| 145 |
data = json.load(f)
|
|
|
|
| 146 |
if isinstance(data, dict):
|
| 147 |
id = 0
|
| 148 |
for key in list(data.keys()):
|