Commit
•
15a498e
1
Parent(s):
6a41ef9
test
Browse files- test111.py +1 -3
test111.py
CHANGED
@@ -245,16 +245,14 @@ class MASSIVE(datasets.GeneratorBasedBuilder):
|
|
245 |
logger.info("⏳ Generating examples from = %s", filepath)
|
246 |
|
247 |
for path, f in files:
|
248 |
-
print("Path: ", path)
|
249 |
if path == filepath:
|
250 |
# Read the file
|
251 |
-
print("f: ", f)
|
252 |
lines = f.readlines()
|
253 |
-
f.close()
|
254 |
|
255 |
key_ = 0
|
256 |
|
257 |
for line in lines:
|
|
|
258 |
|
259 |
data = json.loads(line)
|
260 |
|
|
|
245 |
logger.info("⏳ Generating examples from = %s", filepath)
|
246 |
|
247 |
for path, f in files:
|
|
|
248 |
if path == filepath:
|
249 |
# Read the file
|
|
|
250 |
lines = f.readlines()
|
|
|
251 |
|
252 |
key_ = 0
|
253 |
|
254 |
for line in lines:
|
255 |
+
print("line:", line)
|
256 |
|
257 |
data = json.loads(line)
|
258 |
|