Fix JSONDecodeError
#3
by
albertvillanova
HF staff
- opened
mlsum.py
CHANGED
@@ -67,9 +67,9 @@ class Mlsum(datasets.GeneratorBasedBuilder):
|
|
67 |
|
68 |
lang = self.config.name
|
69 |
urls_to_download = {
|
70 |
-
"train": f"{_URL}/{lang}_train.jsonl",
|
71 |
-
"validation": f"{_URL}/{lang}_val.jsonl",
|
72 |
-
"test": f"{_URL}/{lang}_test.jsonl",
|
73 |
}
|
74 |
downloaded_files = dl_manager.download(urls_to_download)
|
75 |
|
|
|
67 |
|
68 |
lang = self.config.name
|
69 |
urls_to_download = {
|
70 |
+
"train": f"{_URL}/{lang}_train.jsonl?inline=false",
|
71 |
+
"validation": f"{_URL}/{lang}_val.jsonl?inline=false",
|
72 |
+
"test": f"{_URL}/{lang}_test.jsonl?inline=false",
|
73 |
}
|
74 |
downloaded_files = dl_manager.download(urls_to_download)
|
75 |
|