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__)