Update NQ_squad_format.py
Browse files- NQ_squad_format.py +1 -0
NQ_squad_format.py
CHANGED
|
@@ -94,6 +94,7 @@ class Squad(datasets.GeneratorBasedBuilder):
|
|
| 94 |
"""This function returns the examples in the raw (text) form."""
|
| 95 |
logger.info("generating examples from = %s", filepath)
|
| 96 |
key = 0
|
|
|
|
| 97 |
with open(filepath, 'rb') as f:
|
| 98 |
data = json.load(f)
|
| 99 |
print("example data: ", data[0])
|
|
|
|
| 94 |
"""This function returns the examples in the raw (text) form."""
|
| 95 |
logger.info("generating examples from = %s", filepath)
|
| 96 |
key = 0
|
| 97 |
+
print(filepath)
|
| 98 |
with open(filepath, 'rb') as f:
|
| 99 |
data = json.load(f)
|
| 100 |
print("example data: ", data[0])
|