Datasets:

Tasks:
Other
Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:
mariosasko yf commited on
Commit
255b4bb
1 Parent(s): 1e02208

Fix TypeError when loading some subsets (#12)

Browse files

- Fix TypeError when loading some subsets (780852c17045a920a085aec8e885fe97fdbfd3c5)


Co-authored-by: Yunfan Shao <yf@users.noreply.huggingface.co>

Files changed (1) hide show
  1. P3.py +1 -1
P3.py CHANGED
@@ -160,7 +160,7 @@ class P3(datasets.GeneratorBasedBuilder):
160
  datasets.SplitGenerator(
161
  name=datasets.Split(special_split_name),
162
  gen_kwargs={
163
- "tfrecord": data_dir[special_split_name],
164
  },
165
  )
166
  )
 
160
  datasets.SplitGenerator(
161
  name=datasets.Split(special_split_name),
162
  gen_kwargs={
163
+ "tfrecord_files": data_dir[special_split_name],
164
  },
165
  )
166
  )