system HF staff commited on
Commit
0e2542f
1 Parent(s): c182ae8

Update files from the datasets library (from 1.16.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.16.0

Files changed (1) hide show
  1. stsb_multi_mt.py +3 -3
stsb_multi_mt.py CHANGED
@@ -132,9 +132,9 @@ class StsbMultiMt(datasets.GeneratorBasedBuilder):
132
  def _split_generators(self, dl_manager):
133
  """Returns SplitGenerators."""
134
  urls_to_download = {
135
- "train": "{}/stsb-{}-train.csv".format(_BASE_URL, self.config.name),
136
- "dev": "{}/stsb-{}-dev.csv".format(_BASE_URL, self.config.name),
137
- "test": "{}/stsb-{}-test.csv".format(_BASE_URL, self.config.name),
138
  }
139
  downloaded_files = dl_manager.download(urls_to_download)
140
  return [
 
132
  def _split_generators(self, dl_manager):
133
  """Returns SplitGenerators."""
134
  urls_to_download = {
135
+ "train": f"{_BASE_URL}/stsb-{self.config.name}-train.csv",
136
+ "dev": f"{_BASE_URL}/stsb-{self.config.name}-dev.csv",
137
+ "test": f"{_BASE_URL}/stsb-{self.config.name}-test.csv",
138
  }
139
  downloaded_files = dl_manager.download(urls_to_download)
140
  return [