From 773e9731fd0ee4f46a98d759654dd135ae3870b3 Mon Sep 17 00:00:00 2001 From: Nadya Aditama Date: Tue, 4 Oct 2022 14:17:35 +0700 Subject: [PATCH] minor change su_emot.py --- nusacrowd/nusa_datasets/su_emot/su_emot.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nusacrowd/nusa_datasets/su_emot/su_emot.py b/nusacrowd/nusa_datasets/su_emot/su_emot.py index 91c120cb..b7582a08 100644 --- a/nusacrowd/nusa_datasets/su_emot/su_emot.py +++ b/nusacrowd/nusa_datasets/su_emot/su_emot.py @@ -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__)