albertvillanova HF staff commited on
Commit
af3364b
1 Parent(s): ec3511e

Fix JSONDecodeError (#3)

Browse files

- Pass query parameter to data URLs (b58d8364e5fb512b2e7fa94860352f5abf778dd5)

Files changed (1) hide show
  1. mlsum.py +3 -3
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