gsarti commited on
Commit
525c966
·
1 Parent(s): d974eb1

Update divemt.py

Browse files
Files changed (1) hide show
  1. divemt.py +1 -1
divemt.py CHANGED
@@ -142,7 +142,7 @@ class DivEMT(datasets.GeneratorBasedBuilder):
142
  def _generate_examples(self, filepath: str, features):
143
  """Yields examples as (key, example) tuples."""
144
  data = pd.read_csv(filepath, sep="\t")
145
- data = data[features]
146
  for id_, row in data.iterrows():
147
  row_dic = row.to_dict()
148
  for field in _STR_SEQ_FIELDS + _LANG_ANNOTATIONS_FIELDS:
 
142
  def _generate_examples(self, filepath: str, features):
143
  """Yields examples as (key, example) tuples."""
144
  data = pd.read_csv(filepath, sep="\t")
145
+ data = data[_ALL_FIELDS]
146
  for id_, row in data.iterrows():
147
  row_dic = row.to_dict()
148
  for field in _STR_SEQ_FIELDS + _LANG_ANNOTATIONS_FIELDS: