data_juicer.ops.grouper.key_value_grouper module¶
- class data_juicer.ops.grouper.key_value_grouper.KeyValueGrouper(group_by_keys: List[str] | None = None, *args, **kwargs)[source]¶
Bases:
Grouper
Group samples to batched samples according values in given keys.