def get_dataset(self, segment='train'): """Get the corresponding dataset for CoLA Parameters ---------- segment : str, default 'train' Dataset segments. Options are 'train', 'dev', 'test'. """ return GlueCoLA(segment=segment)
def get_dataset(self, segment='train', root=os.path.join(os.getenv('GLUE_DIR', 'glue_data'), 'CoLA')): """Get the corresponding dataset for CoLA Parameters ---------- segment : str, default 'train' Dataset segments. Options are 'train', 'dev', 'test'. root : str, default $GLUE_DIR/CoLA Path to the folder which stores the dataset. """ return GlueCoLA(segment=segment, root=root)