Skip to content

Commit

Permalink
minor change su_emot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nadyadtm committed Oct 4, 2022
1 parent 2f5c4d8 commit 773e973
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nusacrowd/nusa_datasets/su_emot/su_emot.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,3 @@ def _generate_examples(self, filepath: Path, split: str) -> Tuple[int, Dict]:
for row in df.itertuples():
ex = {"id": str(row.index+1), "text": row.data, "label": row.label}
yield row.index, ex

if __name__ == "__main__":
datasets.load_dataset(__file__)

0 comments on commit 773e973

Please sign in to comment.