varora
commited on
Commit
·
3f43901
1
Parent(s):
b4ffcdd
update hit.py
Browse files
hit.py
CHANGED
|
@@ -120,6 +120,8 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
| 120 |
|
| 121 |
url = "hit_dataset.json"
|
| 122 |
file_structure = dl_manager.download_and_extract(url)
|
|
|
|
|
|
|
| 123 |
print(file_structure)
|
| 124 |
|
| 125 |
data_urls = {split: [os.path.join(gender, split, "*.gz")] for split in splits}
|
|
|
|
| 120 |
|
| 121 |
url = "hit_dataset.json"
|
| 122 |
file_structure = dl_manager.download_and_extract(url)
|
| 123 |
+
with open(file_structure) as f:
|
| 124 |
+
file_structure = json.load(f)
|
| 125 |
print(file_structure)
|
| 126 |
|
| 127 |
data_urls = {split: [os.path.join(gender, split, "*.gz")] for split in splits}
|