original_docstring: Returns both training and validation datasets
docstring: Returns both training and validation datasets
docstring_tokens: Returns both training and validation datasets
code: def train_valid_dataset(resources_data_path) -> Tuple[Dataset, Dataset]:
      """Returns both training and validation datasets"""
  
      training_ds = Dataset.from_csv(
          paths=str(resources_data_path / "business.cat.2k.train.csv")
      )
      validation_ds = Dataset.from_csv(
          paths=str(resources_data_path / "business.cat.2k.valid.csv")
      )
  
      return training_ds, validation_ds
code_tokens: def train_valid_dataset ( resources_data_path ) -> Tuple [ Dataset , Dataset ] : training_ds = Dataset . from_csv ( paths = str ( resources_data_path / "business.cat.2k.train.csv" ) ) validation_ds = Dataset . from_csv ( paths = str ( resources_data_path / "business.cat.2k.valid.csv" ) ) return training_ds , validation_ds
short_docstring: Returns both training and validation datasets
short_docstring_tokens: Returns both training and validation datasets
comment: """Returns both training and validation datasets"""