ShutongFeng commited on
Commit
1f0b623
1 Parent(s): 9064f2a

Update emowoz.py

Browse files

Debug: remove duplicated keys

Files changed (1) hide show
  1. emowoz.py +1 -19
emowoz.py CHANGED
@@ -145,25 +145,7 @@ class EmoWOZ(datasets.GeneratorBasedBuilder):
145
  "dialmage_filepath": data_dir['emowoz_dialmage'],
146
  "split_filepath": data_dir['emowoz_split'],
147
  },
148
- ),
149
- datasets.SplitGenerator(
150
- name=datasets.Split.VALIDATION,
151
- # These kwargs will be passed to _generate_examples
152
- gen_kwargs={
153
- "multiwoz_filepath": data_dir['emowoz_multiwoz'],
154
- "dialmage_filepath": data_dir['emowoz_dialmage'],
155
- "split_filepath": data_dir['emowoz_split'],
156
- },
157
- ),
158
- datasets.SplitGenerator(
159
- name=datasets.Split.TEST,
160
- # These kwargs will be passed to _generate_examples
161
- gen_kwargs={
162
- "multiwoz_filepath": data_dir['emowoz_multiwoz'],
163
- "dialmage_filepath": data_dir['emowoz_dialmage'],
164
- "split_filepath": data_dir['emowoz_split'],
165
- },
166
- ),
167
  ]
168
 
169
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
 
145
  "dialmage_filepath": data_dir['emowoz_dialmage'],
146
  "split_filepath": data_dir['emowoz_split'],
147
  },
148
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  ]
150
 
151
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`