code: def sampled_data(self):
          
          if self.args.samples_file:
              if self.args.invert_samples:
                  chosen_samples = set(self.hash_to_ind) - self.samples
              else:
                  chosen_samples = self.samples
              selected_indices = [self.hash_to_ind[h] for h in chosen_samples]
              return self.train[0][selected_indices], self.train[1][selected_indices]
          else:
              return self.train[0], self.train[1]
docs: Returns (train_inputs, train_outputs)