Datasets:
BAAI
/

Languages:
code
ArXiv:
Tags:
code
License:
bowen92 commited on
Commit
c357971
1 Parent(s): 7b12245

Update TACO.py

Browse files
Files changed (1) hide show
  1. TACO.py +2 -2
TACO.py CHANGED
@@ -12,7 +12,7 @@
12
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
  # See the License for the specific language governing permissions and
14
  # limitations under the License.
15
- """APPS dataset."""
16
 
17
  import json
18
  import datasets
@@ -121,7 +121,7 @@ class TACO(datasets.GeneratorBasedBuilder):
121
 
122
  def _split_generators(self, dl_manager):
123
 
124
- downloaded_files = _URLS
125
 
126
  return [
127
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
 
12
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
  # See the License for the specific language governing permissions and
14
  # limitations under the License.
15
+ """TACO dataset."""
16
 
17
  import json
18
  import datasets
 
121
 
122
  def _split_generators(self, dl_manager):
123
 
124
+ downloaded_files = dl_manager.download_and_extract(_URLS)
125
 
126
  return [
127
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),