code: def data_group(self, features):
      bucket = defaultdict(list)
      for feature in features:
          task_name = feature["task"]
          feature.pop("task")
          bucket[task_name] += [feature]
      return bucket
  
imports: from collections import defaultdict
  from dataclasses import dataclass
  from typing import Dict, List
  import numpy
label_desc: Use image node_id 1 for calling the HybirdDataCollator obj's underlying member method code with example usage: obj.data_group(features) and returns: bucket